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

UnreadablePostError at /sqs/ #6

Open
klloveall opened this issue Feb 1, 2021 · 0 comments
Open

UnreadablePostError at /sqs/ #6

klloveall opened this issue Feb 1, 2021 · 0 comments

Comments

@klloveall
Copy link

Hi there! First off, great library; works like a charm.

Was wondering if anyone knows what to do if we're getting UnreadablePostError at /sqs/ errors in the logs from the worker tier?

From what I can tell, this seems to indicate that the sender (SQS/EB in this case?) has aborted the connection before Django got around to actually processing the request?

I've tried playing around with the max concurrent connections and timeouts and such and lowering the max concurrent connections did seem to help quite a bit, but anything above 2 leads to a flood of these messages when there are lots of messages sent to the queue (a few tasks result in ~ 100 tasks being triggered around the same time).

Has anyone encountered something similar to this and if so, what resolved it?

For context:
Django 2.2.17
django-eb-sqs-worker: 0.5.0
Standard Apache elastic beanstalk config

Thanks so much for any suggestions you can give!

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

1 participant