Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.26 docker version getting "ERROR] Socket error processing request. .....TimeoutError: [Errno 110] Operation timed out" and then hangs (RM #5870) #3853

Closed
dpage opened this issue Sep 25, 2020 · 5 comments
Labels

Comments

@dpage
Copy link
Contributor

dpage commented Sep 25, 2020

Issue migrated from Redmine: https://redmine.postgresql.org/issues/5870
Originally created by niteen kole at 2020-09-25 13:39:01 UTC.

Version
4.26
Copyright
Copyright (C) 2013 - 2020, The pgAdmin Development Team
Python Version
3.8.5 (default, Aug 4 2020, 04:20:04) [GCC 9.2.0]
Flask Version
1.0.2
Application Mode
Server

was working fine for months and suddenly stopped working.
Works fine when we restart and then stops/hangs.

below are the logs.
OSError: [Errno 0] Error
[2020-09-25 13:29:27 +0000] [89] [ERROR] Socket error processing request.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 274, in handle
req = six.next(conn.parser)
File "/usr/local/lib/python3.8/site-packages/gunicorn/http/parser.py", line 41, in next
self.mesg = self.mesg_class(self.cfg, self.unreader, self.req_count)
File "/usr/local/lib/python3.8/site-packages/gunicorn/http/message.py", line 181, in init
super(Request, self).init(cfg, unreader)
File "/usr/local/lib/python3.8/site-packages/gunicorn/http/message.py", line 54, in init
unused = self.parse(self.unreader)
File "/usr/local/lib/python3.8/site-packages/gunicorn/http/message.py", line 193, in parse
self.get_data(unreader, buf, stop=True)
File "/usr/local/lib/python3.8/site-packages/gunicorn/http/message.py", line 184, in get_data
data = unreader.read()
File "/usr/local/lib/python3.8/site-packages/gunicorn/http/unreader.py", line 38, in read
d = self.chunk()
File "/usr/local/lib/python3.8/site-packages/gunicorn/http/unreader.py", line 65, in chunk
return self.sock.recv(self.mxchunk)
File "/usr/local/lib/python3.8/ssl.py", line 1226, in recv
return self.read(buflen)
File "/usr/local/lib/python3.8/ssl.py", line 1101, in read
return self._sslobj.read(len)
TimeoutError: [Errno 110] Operation timed out

running on ubuntu
Linux pgadmin-prod 4.15.0-117-generic #118-Ubuntu SMP Fri Sep 4 20:02:41 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

@dpage
Copy link
Contributor Author

dpage commented Sep 25, 2020

Comment migrated from Redmine: https://redmine.postgresql.org/issues/5870#note-1
Originally created by niteen kole at 2020-09-25 14:05:59 UTC.

added below and monitoring

-e "PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION='False'"

@dpage
Copy link
Contributor Author

dpage commented Oct 9, 2020

Comment migrated from Redmine: https://redmine.postgresql.org/issues/5870#note-2
Originally created by Rahul Shirsat at 2020-10-09 10:59:11 UTC.

Hi Niteen,

Is this resolved from your end?

Redmine ticket header update:

Name Old Value New Value
Assigned To changed niteen kole

@dpage
Copy link
Contributor Author

dpage commented Oct 13, 2020

Comment migrated from Redmine: https://redmine.postgresql.org/issues/5870#note-3
Originally created by niteen kole at 2020-10-13 18:09:10 UTC.

Hi,

yes stable now after "PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION='False'"

@dpage
Copy link
Contributor Author

dpage commented Oct 14, 2020

Comment migrated from Redmine: https://redmine.postgresql.org/issues/5870#note-4
Originally created by Khushboo Vashi at 2020-10-14 06:05:05 UTC.

Redmine ticket header update:

Name Old Value New Value
Status changed New Resolved

@dpage
Copy link
Contributor Author

dpage commented Sep 15, 2022

Issue closed on Redmine.

@dpage dpage closed this as completed Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant