Solution skill
LD Stream is multiplying itself
Complete solution
Shows how to fix lD Stream is multiplying itself. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
If the LaunchDarkly stream keeps multiplying reconnect attempts, upgrade the node server SDK to 9.4.3 or newer.
Steps
- 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.
When to use
You are seeing this: Issue launchdarkly/js-core#633 (closed, 7 comments): Is this a support request? Use this skill when you run into "LD Stream is multiplying itself".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: 9.4.3. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://support.launchdarkly.com/
- 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 2 · 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>