DataGreed/django-eb-sqs-worker

UnreadablePostError at /sqs/

klloveall opened this issue · 0 comments

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!