-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Interrupted connections in 19.4.0+ on Heroku #1158
Comments
it's probably a duplicate of #1156 can you try the fix there? |
because static files may use sendfile. also both describe rhe same symptoms
|
I had the same problem and I was directed to this issue by Heroku support. I added --no-sendfile to the gunicorn command in my Procfile and the static files are working correctly now. |
@hheimbuerger sorry it was #1155 ?. Can you check with the latest master? @godshall should also fix your issue. Let me know |
(I know this bug report is short and incomplete but I'm low on time. Wanted to report it anyway, feel free to ask and I'll extend it when I can.)
I'm serving static files using whitenoise 2.0.6 and Python 2.7.10 on Heroku via gunicorn. This worked fine in gunicorn 19.3.0. When I upgrade to 19.4.0 or 19.4.1, these static files are only partially delivered.
Here's what it looks like accessing jquery-1.11.1.js with Chrome:
See how the content length differs from the actual delivered size and how the file is incomplete?
Here's what Heroku shows:
The text was updated successfully, but these errors were encountered: