superset icon indicating copy to clipboard operation
superset copied to clipboard

504 gateway time-out for long running presto queries

Open rohanmonga opened this issue 10 years ago • 9 comments

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

rohanmonga avatar Jul 22 '16 16:07 rohanmonga

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

xrmx avatar Jul 22 '16 18:07 xrmx

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

rohanmonga avatar Jul 22 '16 18:07 rohanmonga

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

xrmx avatar Jul 22 '16 18:07 xrmx

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

mistercrunch avatar Jul 22 '16 19:07 mistercrunch

@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

rohanmonga avatar Jul 22 '16 20:07 rohanmonga

can i help figure out this issue in anyway ?

rohanmonga avatar Aug 19 '16 18:08 rohanmonga

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

desavera avatar Jun 01 '17 20:06 desavera

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

mistercrunch avatar Jun 01 '17 21:06 mistercrunch

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.

mistercrunch avatar Apr 23 '18 17:04 mistercrunch