mopemope / meinheld

Meinheld is a high performance asynchronous WSGI Web Server (based on picoev)
http://meinheld.org
Other
1.47k stars 103 forks source link

SystemError: <method 'get' of 'dict' objects> returned a result with an error set #101

Open pydevd opened 5 years ago

pydevd commented 5 years ago

This error appears in the Docker with Django DRF application.

Traceback (most recent call last):   File "/usr/local/lib/python3.7/site-packages/meinheld/mlogging.py", line 187, in _access     'h': environ.get('REMOTE_ADDR', '-'), SystemError: <method 'get' of 'dict' objects> returned a result with an error set
k0urge commented 4 years ago

I'm facing a similar issue, with a timeout. I'm running a Flask app with Gunicorn and Meinheld.

meinheld.server.timeout: timeout

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/meinheld/mlogging.py", line 187, in _access
    'h': environ.get('REMOTE_ADDR', '-'),
SystemError: <method 'get' of 'dict' objects> returned a result with an error set