Project

General

Profile

Actions

Bug #38378

closed

SSL handshake: 500 internal error to access dashboard

Added by Sebastian Wagner about 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
General - Back-end
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
mimic, nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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)

Related issues 2 (0 open2 closed)

Copied to mgr - Backport #42556: mimic: SSL handshake: 500 internal error to access dashboardRejectedActions
Copied to mgr - Backport #42557: nautilus: SSL handshake: 500 internal error to access dashboardResolvedErnesto PuertaActions
Actions #1

Updated by Sebastian Wagner about 5 years ago

  • Description updated (diff)
Actions #2

Updated by Lenz Grimmer about 5 years ago

  • Affected Versions v13.2.2 added
Actions #3

Updated by Lenz Grimmer about 5 years ago

  • 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.

Actions #4

Updated by Kefu Chai about 5 years ago

/a/kchai-2019-03-20_05:45:48-rados-wip-kefu-testing-2019-03-20-1120-distro-basic-smithi/3751732

Actions #6

Updated by Lenz Grimmer almost 5 years ago

  • 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

Actions #7

Updated by Lenz Grimmer almost 5 years ago

According to Ricardo Dias, is caused by a race condition between the start of the dashboard module and requests from the frontend.

Actions #8

Updated by Changcheng Liu almost 5 years ago

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

Actions #9

Updated by Neha Ojha almost 5 years ago

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/

Actions #10

Updated by Kefu Chai over 4 years ago

  • Status changed from Need More Info to Fix Under Review
  • Backport set to luminous, mimic, nautilus
  • Pull request ID set to 31014
Actions #11

Updated by Nathan Cutler over 4 years ago

  • Backport changed from luminous, mimic, nautilus to mimic, nautilus

No dashboard in luminous, and luminous is nearly EOL.

Actions #12

Updated by Kefu Chai over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #13

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42556: mimic: SSL handshake: 500 internal error to access dashboard added
Actions #14

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42557: nautilus: SSL handshake: 500 internal error to access dashboard added
Actions #15

Updated by Nathan Cutler over 4 years ago

  • Subject changed from (mimic) SSL handshake: 500 internal error to access dashboard to SSL handshake: 500 internal error to access dashboard
Actions #16

Updated by Nathan Cutler about 4 years ago

  • 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".

Actions #17

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end
Actions

Also available in: Atom PDF