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

Support "baggage" header in CORs 'Access-Control-Allow-Headers' #1381

Closed
wadehammes opened this issue Jul 28, 2022 · 3 comments
Closed

Support "baggage" header in CORs 'Access-Control-Allow-Headers' #1381

wadehammes opened this issue Jul 28, 2022 · 3 comments

Comments

@wadehammes
Copy link

wadehammes commented Jul 28, 2022

Expected Behavior

Sentry baggage header should be allowed. https://www.w3.org/TR/baggage/

Actual Behavior

I have a json file from Contentful that won't load due to Sentry adding the new baggage header to the CORs request.

image

Possible Solution

Add baggage to 'Access-Control-Allow-Headers'

@marcolink
Copy link
Member

Hey @wadehammes
Did you try to update to the latest version of sentry? There has been a bug reported here

@Archi4400
Copy link

Hi I am using the latest versions but it doesn't work for me
sentry/tracing": "^7.19.0" sentry/vue": "^7.19.0"
Снимок экрана 2022-11-16 в 13 11 58
Снимок экрана 2022-11-16 в 13 12 48`

CURL
curl 'https://salesiq.zoho.eu/visitor/v2/channels/website?widgetcode=myID****&internal_channel_req=true&browser_language=en&current_domain=http%3A%2F%2Flocalhost&pagetitle=Demo%20Lesson%20-%20Brighterly%20Main%20App&include_fields=avuid' \ -H 'sec-ch-ua: "Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"' \ -H 'Referer: http://localhost:8080/' \ -H 'baggage: sentry-environment=local,sentry-public_key=d707d73dfaac4abb8e97d83185d0f317,sentry-trace_id=e68d49f9f3d44bf8962bf708ffdaef34,sentry-sample_rate=1' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36' \ -H 'sentry-trace: e68d49f9f3d44bf8962bf708ffdaef34-bdc14889a552823c-1' \ -H 'sec-ch-ua-platform: "macOS"' \ --compressed

@DaanSterk
Copy link

Hey, I am having the same issue. sentry/tracing and senty/vue both on 7.19.0.

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