Sunday, October 11, 2020

Re: Tips for debugging intermittent 502s with Daphne

Please add your nginx conf, this error may be connected to gthe setup of the server.

On Sunday, October 11, 2020 at 7:04:51 PM UTC+2 dvs...@gmail.com wrote:
Hi do you hire contract based python/django freelancer?
 We can help you in this and related tasks at fair prices. Reply or send email to div...@pythonmate.com
Best Regards, 
Divyesh Khamele,
Pythonmate

On Thu, 8 Oct 2020, 3:50 am Keith Hackbarth, <ke...@modernanimal.com> wrote:
Hey all, 

Was hoping to get some advice about how to debug intermittent 502 using Daphne
  • I observe connection error in the NGIX logs (where I"m using proxy_pass) Connection refused) while connecting to upstream
  • I observe in NGIX logs that it correlates with spike in inbound requests.
  • However, I'm seeing nothing in my Daphne logs to suggest that there is an error happening downstream.
I've ruled out slowness and networking issues, so I'm assuming that Daphne is running out of connections. But have no idea where I could look to validate this assumption or what the next steps would be.

Any advice?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/89f42085-15f1-4578-a0c2-ee12534bc773n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/62028d4b-d1cd-4caa-b86a-035f75bfa1dfn%40googlegroups.com.

No comments:

Post a Comment