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

CORS errors on sentry request #8817

Closed
3 tasks done
Rengge opened this issue Aug 15, 2023 · 4 comments
Closed
3 tasks done

CORS errors on sentry request #8817

Rengge opened this issue Aug 15, 2023 · 4 comments

Comments

@Rengge
Copy link

Rengge commented Aug 15, 2023

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

5.30.0

Framework Version

No response

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

sentry上报跨域

Expected Result

sentry上报不跨域

Actual Result

image

@Rengge
Copy link
Author

Rengge commented Aug 15, 2023

我在nuxt里面使用,autoSessionTracking: false也设置过了。

@Rengge
Copy link
Author

Rengge commented Aug 15, 2023

I used it in nuxt, and autoSessionTracking: false was also set.

@lforst
Copy link
Member

lforst commented Aug 16, 2023

Hi, are you using self-hosted Sentry? If so, what version?

@lforst lforst changed the title Access to fetch at 'https://*****/api/***/envelope/?sentry_key=****&sentry_version=7&sentry_client=sentry.javascript.vue%2F7.62.0' from origin 'http://10.12.168.74:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. CORS errors on sentry request Aug 16, 2023
@getsantry
Copy link

getsantry bot commented Sep 8, 2023

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Sep 8, 2023
@getsantry getsantry bot closed this as completed Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants