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

504 gateway time-out for long running presto queries #809

Closed
rohanmonga opened this issue Jul 22, 2016 · 9 comments
Closed

504 gateway time-out for long running presto queries #809

rohanmonga opened this issue Jul 22, 2016 · 9 comments

Comments

@rohanmonga
Copy link

After 50 seconds our queries timeout ( see screenshot ). Is there a configuration that i can change to keep waiting until the query finishes?
504

@xrmx
Copy link
Contributor

xrmx commented Jul 22, 2016

caravel --help may give you some hints on how to fix that.

@rohanmonga
Copy link
Author

if you mean caravel runserver --timeout then i've already set that to 3000

@xrmx
Copy link
Contributor

xrmx commented Jul 22, 2016

@rohanmonga if it's not gunicorn, do you have any backtrace in caravel logs?

@mistercrunch
Copy link
Member

There's a timeout flag in the runserver command. Try:
caravel runserver -t 600

@rohanmonga
Copy link
Author

@mistercrunch I am running it with -t 3000. the query is still running and when it finishes it gets cached as well. the frontend seems to be timing out

@xrmx there is nothing in caravel logs

@xrmx xrmx added the question label Aug 9, 2016
@rohanmonga
Copy link
Author

can i help figure out this issue in anyway ?

@desavera
Copy link

desavera commented Jun 1, 2017

Hey Folks, I am getting the same error ... is it a Presto issue or Superset ???

@mistercrunch
Copy link
Member

Do you have a proxy in front of gunicorn? If so your proxy is timing out.

@mistercrunch
Copy link
Member

Notice: this issue has been closed because it has been inactive for 325 days. Feel free to comment and request for this issue to be reopened.

zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
* feat(core): add applied_time_extras to QueryObject

* address review comments
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
* feat(core): add applied_time_extras to QueryObject

* address review comments
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
* feat(core): add applied_time_extras to QueryObject

* address review comments
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
* feat(core): add applied_time_extras to QueryObject

* address review comments
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