-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
UNSAFE_LEGACY_RENEGOTIATION_DISABLED on Mac OSX #236
Comments
I found this item that I believe is related to the issue above: openssl/openssl#16278 |
Same issue here but in Linux, waiting for solution |
I don't think this library is supported any more. I couldn't get beyond the above error - and I tried a lot of approaches - so I just gave up on this library and went to using the TDA API natively. |
Oh I see, then I will look for other solution instead. Thank you very much @nittanycolonial ! |
I am running this library on Max OSX Big Sur 11.6 and I keep on running in the SSL/urlib3 error of UNSAFE_LEGACY_RENEGOTIATION_DISABLED when I try to create my initial authentication & refresh token. I have gone through all of the steps of the Authentication Workflow on the first page of this project and I simply cannot move on beyond the portion where my tokens are created. I have also tried this in two conda environments, one with 3.8 and the other with 3.10 with the same result. The output is shared below:
Traceback (most recent call last):
File "/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1040, in validate_conn
conn.connect()
File "/lib/python3.8/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/lib/python3.8/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/lib/python3.8/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1131)
The text was updated successfully, but these errors were encountered: