Comments (5)
Usually the problem is caused by your reverse proxy/load balancer in front of the nginx container (that forwards the port 9000). What are you using, and what's the configuration?
You might also want to try and disable that reverse proxy, and try to access Sentry directly. If the problem persist, then we can make sure that it's not caused by the reverse proxy.
from self-hosted.
Usually the problem is caused by your reverse proxy/load balancer in front of the nginx container (that forwards the port 9000). What are you using, and what's the configuration?
You might also want to try and disable that reverse proxy, and try to access Sentry directly. If the problem persist, then we can make sure that it's not caused by the reverse proxy.
I checked trying to access it locally it works. How do I find the difference that is causing this issue then.
I can share the LB nginx conf if that helps
upstream sentry {
server SERVER_IP:9000; # Redirect traffic to Sentry server
}
server {
modsecurity on;
modsecurity_rules_file /etc/nginx/modsec/sentry.conf;
root /var/www/html;
server_name sentry.example.com;
client_max_body_size 200M;
location / {
proxy_pass https://sentry; # Forward Traffic to upstream servers
proxy_ssl_certificate /etc/nginx/certs/server.crt; # Location to specify crt file
proxy_ssl_certificate_key /etc/nginx/certs/server.key; # Location to specify key file
proxy_ssl_trusted_certificate /etc/nginx/certs/ca.crt; # Location of CA for authentication
proxy_set_header Host $http_host; # Host header is not changed
proxy_set_header Upgrade $http_upgrade; # Host header Upgrade
proxy_set_header X-Forwarded-Proto https; # Request scheme HTTPS
proxy_set_header X-Forwarded-Ssl on; # Request SSL
proxy_buffering off; # Turn off Buffering
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/sentry.example.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/sentry.example.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
access_log /var/log/nginx/sentry-access.log;
error_log /var/log/nginx/sentry-error.log;
}
server {
if ($host = sentry.example.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name sentry.example.com ;
listen 80;
return 404; # managed by Certbot
}
from self-hosted.
What does your network tab look like? Nothing is jumping out at me from the config you posted above
from self-hosted.
from self-hosted.
Since this is resolved on your end, I'll close this issue for now. Feel free to create new issue or add new comments if the problem continue.
from self-hosted.
Related Issues (20)
- register tab is not showing on sentry login page HOT 2
- Stats only shows dropped and filtered transactions/issues, not accepted ones. HOT 4
- Cron warnings in log HOT 2
- Postgres floating-point exception but health check was ok HOT 1
- We had a spike in errors and after that 100% of errors are getting dropped, could someone help me figure out why? HOT 5
- sentry self-hosted redirect & unable to add new users HOT 2
- Use `min` prefix for minified file extensions HOT 3
- Stats isn't updating in 24.3.0 HOT 10
- Release 24.5.0 HOT 2
- Problem with clickhouse after upgrading to 24.4.0 HOT 2
- Installing sentry from scratch in Ubuntu 22 is giving me an error about migrations HOT 6
- INP not showing on self-hosted HOT 4
- When entering integration-details i get 502 after restart HOT 3
- Release 24.4.1
- snuba keep crashing / restarting without any error message HOT 8
- How to check if sentry-cleanup is working (logs?)? HOT 1
- Clickhouse Error: Socket is not connected HOT 4
- The WebVitals & Query & Resources sections are missing HOT 1
- No Crash Free Sessions and Crash Free Users after autoupgrade to 24.1.0 HOT 3
- first time install sudo ./install.sh fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-hosted.