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
SENTRY_ALLOW_ORIGIN does not work since nginx and relay #494
Comments
I think this issue should be resolved by #463. Can you check if you have that fix in your local and if not, try with that applied? |
Hi, Thanks for your reply. Yes I have included this commit. Regards, |
I couldn't find any reason why this would break with Nginx suddenly. Can you share some request logs from Nginx and Sentry Web so we can diagnose? |
Hi, This is my docker-compose configuration :
These are the requests : WEB REQUEST HEADERS RESPONSE HEADERS NGINX HTTP/1.1 502 Bad Gateway POST /api/2/store/?sentry_key=1ab96bfb9cbb478f8b836f2bcde60894&sentry_version=7 HTTP/1.1 In my console, this is what I have i can connect to the interface on both port 80 or 9000. Hope this could help, Thanks |
I found my issue. Sorry for your time. Thanks, |
@guillkara how to config, i have the same issue |
@llisonly please see the previous comment: #494 (comment) and follow our guideline for asking for help: https://develop.sentry.dev/self-hosted/support/ |
Hi,
I m using Sentry fro Angular projects.
I tried to update Sentry but since the containers relay and nginx have been added (#421) the property
SENTRY_ALLOW_ORIGIN does not send header as wanted.
As a workaround, I ve added again the ports on web :
web:
<< : *sentry_defaults
ports:
- '9000:9000/tcp'
and remove it on nginx
nginx:
ports:
- '9000:80/tcp'
How can we do to make the SENTRY_ALLOW_ORIGIN work with the default configuration ?
Regards
Guillaume Pierron
The text was updated successfully, but these errors were encountered: