tag:support.appharbor.com,2010-11-23:/discussions/problems/77469-504-gateway-timeout-issueAppHarbor: Discussion 2015-04-17T18:30:51Ztag:support.appharbor.com,2010-11-23:Comment/366099852015-04-17T18:30:42Z2015-04-17T18:30:51Z504 Gateway timeout issue<div><p>Hi,</p>
<p>The load balancer will return an HTTP 504 if no data is received
from the backend worker within 120 seconds. You might want to
either start streaming the data to the client (instead of
downloading the file on the worker fist) immediately, or just serve
the file from a cloud file storage service. Are you using Amazon S3
or something similar to store the files?</p>
<p>Best,<br>
Rune</p></div>rune