launchdarkly / react-client-sdk

LaunchDarkly Client-side SDK for React.js
Other
79 stars 67 forks source link

Firefox blocks `/eval/` requests #213

Open drewcorlin1 opened 11 months ago

drewcorlin1 commented 11 months ago

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 commented 11 months ago

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

ToothpickFactory commented 11 months ago

@yusinto

yusinto commented 10 months ago

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

drewcorlin1 commented 9 months ago

@yusinto is there any update on this?

github-actions[bot] commented 8 months ago

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.

drewcorlin1 commented 8 months ago

Still hoping for a response here

gdp2 commented 3 months ago

Is there any updates on this.