Beginner help with Traceback error

Hi there! I’m new to Python but am getting the below error. My colleagues can run the script successfully, but I am not able to. We did a ton of troubleshooting but still see this. Does anyone know how to resolve this? TIA!

Traceback (most recent call last):
  File "/home/marionakagi/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 466, in _make_request
    self._validate_conn(conn)
  File "/home/marionakagi/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1095, in _validate_conn
    conn.connect()
  File "/home/marionakagi/.local/lib/python3.10/site-packages/urllib3/connection.py", line 652, in connect
    sock_and_verified = _ssl_wrap_socket_and_match_hostname(
  File "/home/marionakagi/.local/lib/python3.10/site-packages/urllib3/connection.py", line 805, in _ssl_wrap_socket_and_match_hostname
    ssl_sock = ssl_wrap_socket(
  File "/home/marionakagi/.local/lib/python3.10/site-packages/urllib3/util/ssl_.py", line 465, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
  File "/home/marionakagi/.local/lib/python3.10/site-packages/urllib3/util/ssl_.py", line 509, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.10/ssl.py", line 1100, in _create
    self.do_handshake()
  File "/usr/lib/python3.10/ssl.py", line 1371, in do_handshake
    self._sslobj.do_handshake()
TimeoutError: _ssl.c:990: The handshake operation timed out

Are you and your colleagues all on the same network? The name lockhart.fractalems.site translates to a local IP address 10.3.11.232 and you’re timing out getting to it. It also might be a firewall issue.

Thank you for the help! Could you please archive this post for me? I shouldn’t have put my company’s name out there. Thanks. :slight_smile:

It’s still going to be there for anyone who goes digging, but also, it’s not like you posted anything embarassing or shameful about your company. In fact, if I knew that your company (a) uses Python, and (b) teaches people to ask for help by posting full tracebacks, that would be a positive sign IMO! The full traceback is extremely helpful.

1 Like

That’s a really good way of looking at it. :slight_smile: Thank you.

1 Like