react-client-sdk
react-client-sdk copied to clipboard
[LaunchDarkly] Error on stream connection: {"isTrusted":true}, will continue retrying after n milliseconds.
trafficstars
Is this a support request? no
Describe the bug
Error on stream connection errors happen after a user leaves a window open while the computer goes to sleep. This also happens at times on page reload.
To reproduce
- open a page open that uses streaming
- put the computer into sleep mode (easiest way is closing a laptop)
- wait 30s for sleep to fully kick-in
- wake the machine and notice the error in the console
Expected behavior No warning message on wake.
Logs
[LaunchDarkly] Error on stream connection: {"isTrusted":true}, will continue retrying after 663 milliseconds.
SDK version
3.4.0
Language version, developer tools N/A
OS/platform N/A
Additional context N/A
possibly related https://github.com/launchdarkly/react-client-sdk/issues/2 and https://github.com/launchdarkly/react-client-sdk/issues/123