Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming connection error causes endless console logs (Error on stream connection: {"isTrusted":true}) #182

Closed
MattMcGlade123 opened this issue Oct 15, 2019 · 1 comment

Comments

@MattMcGlade123
Copy link

I'm using the streaming option In LD I'm getting continuous console error logs. This usually give a 503 error rather than any issue with 500. It does give an 'Access-Control-Allow-Origin' issue to. I expected the code to throw an error if there is an issue but not continuously. This is present on a new build using Hooks and an old build using the provider.

To reproduce
Set up LD using the latest Hooks option (https://docs.launchdarkly.com/docs/react-sdk-reference#section-hooks). Set the Streaming URL to a url. Run the App

Expected behavior
If there is an error I expect one error log to show.

Logs
Screenshot 2019-10-15 at 16 45 14

SDK version
"launchdarkly-react-client-sdk": "^2.14.0",

OS/platform
Present on all browsers

@torchhound
Copy link

Hi @MattMcGlade123 thanks for the bug report but this is the incorrect repo. Please post this issue in the react-client-sdk repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants