Tips for debugging intermittent 502s with Daphne

2020-10-07 Thread Keith Hackbarth
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 r

Django 1.10, Issues with prefix_default_language

2016-08-12 Thread Keith Hackbarth
I'm having two issues with "prefix_default_language" that I was hoping to shed some insight on. My URL conf is as follows: urlpatterns += i18n_patterns( url(r'^(?P.+-parking)/?$', CityView.as_view()), prefix_default_language=False ) Issue #1: Prefixes If a city that matches my regex ALS