codeforboston / flagging

Flagging website for CRWA
MIT License
4 stars 12 forks source link

🤨 #155

Closed dwreeves closed 3 years ago

dwreeves commented 3 years ago

Via staging env:

2021-01-25T23:07:36.608602+00:00 app[web.1]: OSError: unknow protocol
2021-01-25T23:07:36.608620+00:00 app[web.1]: 
2021-01-25T23:07:36.608622+00:00 app[web.1]: The above exception was the direct cause of the following exception:
2021-01-25T23:07:36.608622+00:00 app[web.1]: 
2021-01-25T23:07:36.608623+00:00 app[web.1]: Traceback (most recent call last):
2021-01-25T23:07:36.608628+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/meinheld/mlogging.py", line 187, in _access
2021-01-25T23:07:36.609054+00:00 app[web.1]: 'h': environ.get('REMOTE_ADDR', '-'),
2021-01-25T23:07:36.609177+00:00 app[web.1]: SystemError: <method 'get' of 'dict' objects> returned a result with an error set

Weird.

dwreeves commented 3 years ago

Using gunicorn<20 makes the error go away.