You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
Traceback (most recent call last):
File "/usr/local/bin/awsprocesscreds-saml", line 11, in <module>
sys.exit(saml())
File "/Library/Python/2.7/site-packages/awsprocesscreds/cli.py", line 81, in saml
creds = fetcher.fetch_credentials()
File "/Library/Python/2.7/site-packages/awsprocesscreds/saml.py", line 348, in fetch_credentials
creds = super(SAMLCredentialFetcher, self).fetch_credentials()
File "/Library/Python/2.7/site-packages/botocore/credentials.py", line 507, in fetch_credentials
return self._get_cached_credentials()
File "/Library/Python/2.7/site-packages/botocore/credentials.py", line 517, in _get_cached_credentials
response = self._get_credentials()
File "/Library/Python/2.7/site-packages/awsprocesscreds/saml.py", line 357, in _get_credentials
kwargs = self._get_assume_role_kwargs()
File "/Library/Python/2.7/site-packages/awsprocesscreds/saml.py", line 393, in _get_assume_role_kwargs
assertion = self._authenticator.retrieve_saml_assertion(config)
File "/Library/Python/2.7/site-packages/awsprocesscreds/saml.py", line 137, in retrieve_saml_assertion
endpoint)
File "/Library/Python/2.7/site-packages/awsprocesscreds/saml.py", line 148, in _retrieve_login_form_from_endpoint
response = self._requests_session.get(endpoint, verify=True)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/2.7/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 850, in _validate_conn
conn.connect()
File "/Library/Python/2.7/site-packages/urllib3/connection.py", line 326, in connect
ssl_context=context)
File "/Library/Python/2.7/site-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket
_context=self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__
self.do_handshake()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake
self._sslobj.do_handshake()
KeyboardInterrupt
It should print out what is going wrong or at least fail faster.
The text was updated successfully, but these errors were encountered:
What version of python are you running? Is your server using a self-signed cert? It's hard to know exactly what part is causing the handshake to fail, but we could definitely add a configurable timeout option.
It should print out what is going wrong or at least fail faster.
The text was updated successfully, but these errors were encountered: