gunicorn icon indicating copy to clipboard operation
gunicorn copied to clipboard

[ERROR] Socket error processing request.

Open olekhy opened this issue 2 years ago • 1 comments

We get an Error in gunicorn when try to querieng mssql with a tick bigger query. Smaller queries ; no Error was thrown.

Gunicorn Version 21.2.0


 [ERROR] Socket error processing request.
Traceback (most recent call last):
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 285, in handle
    keepalive = self.handle_request(req, conn)
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 357, in handle_request
    util.reraise(*sys.exc_info())
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/util.py", line 641, in reraise
    raise value
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 343, in handle_request
    resp.write(item)
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/http/wsgi.py", line 326, in write
    self.send_headers()
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/http/wsgi.py", line 322, in send_headers
    util.write(self.sock, util.to_bytestring(header_str, "latin-1"))
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/util.py", line 299, in write
    sock.sendall(data)
OSError: [Errno 9] Bad file descriptor

olekhy avatar Sep 18 '23 13:09 olekhy

duplicate #2064

olekhy avatar Sep 18 '23 13:09 olekhy

no activity since awhile. closing feel free to create a new ticket if needed.

benoitc avatar Aug 06 '24 15:08 benoitc