-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Charts in dashboards are subject to frequent errors with Chrome users #16742
Comments
@ValentinC-BR did you manage to solve this issue? |
No. |
@ValentinC-BR This error is being thrown by nginx or whichever proxy is in front of superset. 502 means the service(superset) is unavailable, either the superset server hash crashed (out of memory or cpu, etc.), or is too busy to serve your request. This is error is due to your deployment set up and there's nothing we can do on the superset application side, at least not without the log/stack trace for what actually caused the service to report as unavailable. Closing this issue as this is not actionable from an application perspective. If you do a root cause analysis that results in an issue with the superset application please feel free to reopen the ticket. For now I would suggest scaling up your superset deployment, either vertically or horizontally to see if that fixes it. |
@ValentinC-BR Even we are seeing this issue with 1.3.0 very frequently. Just wanted check if you had not faced this issue prior 1.x. Can you confirm if you haven't changed anything before moving to 1.x? |
Hi @vivek-kandhvar ! Nice to see we're not alone 😉 On the whole, I can answer we did not change much configuration when moving to 1.x (1.1 and 1.2 in our case). But our config is constantly evolving so I cannot guarantee it with perfect certainty. |
@ValentinC-BR @ShimiBaliti @vivek-kandhvar @Pinimo I was getting frequent 502 errors during loading of charts in my dashboard. This is how traffic flows from my superset setup: AWS ALB --> Gunicorn --> Superset app I modified timeout settings i.e. GUNICORN_TIMEOUT and SUPERSET_WEBSERVER_TIMEOUT but it didn't resolve the problem. Finally, I saw this blog which says solution is to keep Gunicorn --keep-alive more than alb idle timeout: https://www.tessian.com/blog/how-to-fix-http-502-errors/ Default value for --keep-alive is 2. Even Gunicorn's official documentation here https://docs.gunicorn.org/en/stable/settings.html#keepalive says: But run-server.sh in official docker image doesn't has an option for setting Gunicorn's --keep-alive to a custom value. I hope this helps people with similar setup as mine. |
I am in 3.1.0 and the issue still persists! This is marked as closed... but I wonder what is the fix? |
You're going to have to choose between (1) troubleshooting your server logs, (2) asking for assistance here (though the thread will remain closed) (3) asking for assistance in |
@rusackas , |
Since Superset 1.x, all our Chrome users get recurrent errors on charts loading (in dashboards), forcing them to refresh the page
Expected results
All the charts are displayed without errors.
Actual results
The following error is (randomly ?) displayed : Unexpected error
When we click on "See More", here's the error we get :
Important :
Screenshots
What we can see in dashboards :
What we see in "See more" :

How to reproduce the bug
Environment
superset version: 1.3.0
python version: 3.7.9
node.js version: doesn't apply, I run on Kubernetes, using gunicorn as server
source : Athena
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
/
The text was updated successfully, but these errors were encountered: