Jahongir Rahmonov
Jahongir Rahmonov

Reputation: 13753

Client Request Interrupted in Heroku

I am having a really strange problem with Heroku right now.

I can freely browse the website. But some operations are giving me the following error:

sock=client at=warning code=H27 desc="Client Request Interrupted" method=POST path="/api/upload/image/"

Based on these, I guess GET operations are working fine(e.g. browsing the pages), but POST operations are not(e.g. uploading images)

P.S. I am using Django

So, I thought it was my latest commit doing this. But even after I rolled back to yesterday's state when it was working, it is giving the same result.

Is this an internal Heroku problem and I should just wait? or is it me doing something wrong?

Upvotes: 10

Views: 6547

Answers (2)

Jahongir Rahmonov
Jahongir Rahmonov

Reputation: 13753

It turned out that the problem is with my Internet Service Provider. They were doing some prophylactic work and external services such as Heroku were out of reach.

The solution was using a Tor browser until ISP get things done.

Upvotes: 1

Gabriel Grant
Gabriel Grant

Reputation: 5601

It sounds like you may be running into Heroku's request timeout limit: they automatically cut off requests after 30 seconds

I've usually run into this when processing file uploads; Heroku's official recommendation is to upload files directly to S3 instead.

Upvotes: 3

Related Questions