self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

sentry:24.2.0 SSLError: sslv3 alert handshake failure

Open goodosoft opened this issue 9 months ago • 3 comments

Self-Hosted Version

24.2.0

CPU Architecture

x86_64

Docker Version

20.10.16

Docker Compose Version

2.6.0

Steps to Reproduce

error in sentry-web: Traceback (most recent call last): │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connectionpool.py", line 468, in _make_request │ │ self._validate_conn(conn) │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connectionpool.py", line 1097, in _validate_conn │ │ conn.connect() │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connection.py", line 642, in connect │ │ sock_and_verified = _ssl_wrap_socket_and_match_hostname( │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connection.py", line 783, in ssl_wrap_socket_and_match_hostname │ │ ssl_sock = ssl_wrap_socket( │ │ ^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/util/ssl.py", line 471, in ssl_wrap_socket │ │ ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname) │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/util/ssl.py", line 515, in _ssl_wrap_socket_impl │ │ return ssl_context.wrap_socket(sock, server_hostname=server_hostname) │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/ssl.py", line 517, in wrap_socket │ │ return self.sslsocket_class._create( │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/ssl.py", line 1108, in _create │ │ self.do_handshake() │ │ File "/usr/local/lib/python3.11/ssl.py", line 1379, in do_handshake │ │ self._sslobj.do_handshake() │ │ ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006) │ │ │ │ During handling of the above exception, another exception occurred:

Expected Result

no errors.

Actual Result

Traceback (most recent call last): │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connectionpool.py", line 468, in _make_request │ │ self._validate_conn(conn) │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connectionpool.py", line 1097, in _validate_conn │ │ conn.connect() │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connection.py", line 642, in connect │ │ sock_and_verified = _ssl_wrap_socket_and_match_hostname( │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/connection.py", line 783, in ssl_wrap_socket_and_match_hostname │ │ ssl_sock = ssl_wrap_socket( │ │ ^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/util/ssl.py", line 471, in ssl_wrap_socket │ │ ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname) │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/site-packages/sentry/../urllib3/util/ssl.py", line 515, in _ssl_wrap_socket_impl │ │ return ssl_context.wrap_socket(sock, server_hostname=server_hostname) │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/ssl.py", line 517, in wrap_socket │ │ return self.sslsocket_class._create( │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/local/lib/python3.11/ssl.py", line 1108, in _create │ │ self.do_handshake() │ │ File "/usr/local/lib/python3.11/ssl.py", line 1379, in do_handshake │ │ self._sslobj.do_handshake() │ │ ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006) │ │ │ │ During handling of the above exception, another exception occurred:

Event ID

No response

goodosoft avatar Apr 30 '24 11:04 goodosoft

Are there any firewall settings on your machine that might be causing this connection error? Is this happening on a clean install?

hubertdeng123 avatar May 01 '24 21:05 hubertdeng123

Are there any firewall settings on your machine that might be causing this connection error? Is this happening on a clean install?

no firewall. but also not a clean install, upgrade from version 23.

goodosoft avatar May 02 '24 01:05 goodosoft

Are you able to provide reproduction steps here from a clean install? It is difficult to investigate this without knowing when/how this error is being produced.

hubertdeng123 avatar May 03 '24 22:05 hubertdeng123

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar May 25 '24 07:05 getsantry[bot]