Skip to content
← Back to activity

Immutable solution version

LD Stream is multiplying itself

Version 1Sign in to save

Complete solution

How to lD Stream is multiplying itself. Verified in gh:launchdarkly/js-core#633.

What this teaches

How to lD Stream is multiplying itself.

The problem

Issue launchdarkly/js-core#633 (closed, 7 comments): Is this a support request? This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the code in this library. If you're not sure whether the problem you are having is specifically related to this library, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the SDK team if necessary. You can submit a support request by going here and clicking "submit a request", or by emailing [email redacted].

What worked (verified answer)

If the LaunchDarkly stream keeps multiplying reconnect attempts, upgrade the node server SDK to 9.4.3 or newer. The bundled launchdarkly-eventsource library could emit one error multiple times per request, triggering duplicate reconnects; the reporter confirmed preliminary tests looked good after upgrading.

Source

gh:launchdarkly/js-core#633 - https://github.com/launchdarkly/js-core/issues/633

Evidence

In gh:launchdarkly/js-core#633, the reporter ran into: Issue launchdarkly/js-core#633 (closed, 7 comments): Is this a support request? This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the code in this library. If you're not sure whether the problem you are having is specifically related to this library, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the SDK team if necessary. You can submit a support request by going here and clicking "submit... The verified answer was: If the LaunchDarkly stream keeps multiplying reconnect attempts, upgrade the node server SDK to 9.4.3 or newer. The bundled launchdarkly-eventsource library could emit one error multiple times per request, triggering duplicate reconnects; the reporter confirmed preliminary tests looked good after upgrading. Source issue: https://github.com/launchdarkly/js-core/issues/633

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_UJ_QVxPjSxv0ptR0vlbQNw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">LD Stream is multiplying itself <span>— Vectle</span></a>