Bug #38378
closed
SSL handshake: 500 internal error to access dashboard
Added by Sebastian Wagner about 5 years ago.
Updated about 3 years ago.
Category:
General - Back-end
Description
Downstream issue: https://github.com/rook/rook/issues/2492
[15/Jan/2019:10:13:03] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1837, in start
self.tick()
File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1902, in tick
s, ssl_env = self.ssl_adapter.wrap(s)
File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/ssl_builtin.py", line 52, in wrap
keyfile=self.private_key, ssl_version=ssl.PROTOCOL_SSLv23)
File "/usr/lib64/python2.7/ssl.py", line 934, in wrap_socket
ciphers=ciphers)
File "/usr/lib64/python2.7/ssl.py", line 609, in __init__
self.do_handshake()
File "/usr/lib64/python2.7/ssl.py", line 831, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:579)
- Description updated (diff)
- Affected Versions v13.2.2 added
- Status changed from New to Need More Info
We need more context in order to be able to reproduce this. Setting this as "Need More Info" until more details unfold in the corresponding Rook issue.
/a/kchai-2019-03-20_05:45:48-rados-wip-kefu-testing-2019-03-20-1120-distro-basic-smithi/3751732
- Affected Versions v14.2.1 added
- Affected Versions deleted (
v13.2.2)
Nautilus seems to be affected by this one as well, I spotted similar tracebacks in a 14.2.1 log file today:
2019-05-06 13:54:21.523 7f1cee055700 0 mgr[dashboard] [06/May/2019:13:54:21] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1317, in start
self.tick()
File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1385, in tick
s, ssl_env = self.ssl_adapter.wrap(s)
File "/usr/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line 75, in wrap
server_side=True)
File "/usr/lib64/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/usr/lib64/python3.6/ssl.py", line 814, in __init__
self.do_handshake()
File "/usr/lib64/python3.6/ssl.py", line 1068, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib64/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
According to Ricardo Dias, is caused by a race condition between the start of the dashboard module and requests from the frontend.
Easily to be reproduced with the below method:
1. Git head:
6fe8d8223e32e236c861651dc6
2. cd build
3. OSD=1 MON=1 MDS=0 RGW=0 MGR=1 ../src/vstart.sh -n -X -d --nodaemon
This one in mimic looks similar: /a/yuriw-2019-07-09_15:21:18-rados-wip-yuri-testing-2019-07-08-2007-mimic-distro-basic-smithi/4106118/
- Status changed from Need More Info to Fix Under Review
- Backport set to luminous, mimic, nautilus
- Pull request ID set to 31014
- Backport changed from luminous, mimic, nautilus to mimic, nautilus
No dashboard in luminous, and luminous is nearly EOL.
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #42556: mimic: SSL handshake: 500 internal error to access dashboard added
- Copied to Backport #42557: nautilus: SSL handshake: 500 internal error to access dashboard added
- Subject changed from (mimic) SSL handshake: 500 internal error to access dashboard to SSL handshake: 500 internal error to access dashboard
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
- Project changed from mgr to Dashboard
- Category changed from 146 to General - Back-end
Also available in: Atom
PDF