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

Firefox blocks /eval/ requests #213

Open
drewcorlin1 opened this issue Aug 2, 2023 · 7 comments
Open

Firefox blocks /eval/ requests #213

drewcorlin1 opened this issue Aug 2, 2023 · 7 comments

Comments

@drewcorlin1
Copy link

Describe the bug
Non-anonymous eval requests (https://clientstream.launchdarkly.com/eval/<id>/<data>) are being blocked only in firefox (working fine in Chrome, Safari, Edge) with the error message below.

To reproduce
Make an identify() call with the LaunchDarkly client

Expected behavior
No error is logged in the console

Logs

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://clientstream.launchdarkly.com/eval/<id>/<data>. (Reason: CORS request did not succeed). Status code: (null).

SDK version
3.0.6

Language version, developer tools
Javascript/React with the sync LD provider

OS/platform
Mac OS Ventura 13.3.1 - Firefox 115.0.3 64 bit

Additional context
The anonymous identify call (seemingly triggered automatically by LD) is not blocked. Also the non-anonymous call that does throw an error seems to actually register the context in LaunchDarkly, so it might just be noise.

@yusinto
Copy link
Contributor

yusinto commented Aug 7, 2023

@drewcorlin1 are you able to share more information about this please?

  • Is this happening in dev only or in production or both?
  • Please share some of the application code which shows your usage of the react sdk.
  • Do live updates/streaming still work even with the error?
  • Are you running any third party plugins in firefox that may cause the issue? Can you please try reproducing in incognito?
  • Do you have enhanced protection settings turned on in firefox which may cause the issue?

@yusinto yusinto added the waiting for feedback Indicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness. label Aug 7, 2023
@ToothpickFactory
Copy link

@yusinto

  • This is happening in both production and dev
  • The app still works despite these CORs issue errors being thrown
  • This was run in clean version of Firefox and within incognito
  • Enhanced protection is not on

@yusinto
Copy link
Contributor

yusinto commented Aug 16, 2023

Thank you, we will investigate. Internally logged as 213182.

@drewcorlin1
Copy link
Author

@yusinto is there any update on this?

@github-actions
Copy link
Contributor

This issue is marked as stale because it has been open for 30 days without activity. Remove the stale label or comment, or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 12, 2023
@drewcorlin1
Copy link
Author

Still hoping for a response here

@github-actions github-actions bot removed Stale waiting for feedback Indicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness. labels Oct 13, 2023
@gdp2
Copy link

gdp2 commented Apr 3, 2024

Is there any updates on this.

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

4 participants