Skip to content

Firefox blocks /eval/ requests #213

@drewcorlin1

Description

@drewcorlin1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions