[nb] nessie_tutorial.py: exception: HTTPConnectionPool(host='nessie', port=19120): Max retries exceeded with url: /api/v2/config (Caused by NameResolutionEr #549

Closed
opened 2026-07-10 13:51:20 +00:00 by kert · 1 comment
Owner

Auto-filed by the notebook error filer (nb-sig:0fcd36de2a1a — do not edit this marker; dedup and auto-close key on it).

  • Notebook: nessie_tutorial.py
  • Error: exception: HTTPConnectionPool(host='nessie', port=19120): Max retries exceeded with url: /api/v2/config (Caused by NameResolutionError("HTTPConnection(host='nessie', port=19120): Failed to resolve 'nessie' ([Errno -2] Name or service not known)"))
  • Source: nb-watcher
Traceback (most recent call last):
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 204, in _new_conn
    sock = connection.create_connection(
        (self._dns_host, self.port),
    ...<2 lines>...
        socket_options=self.socket_options,
    )
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
               ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/socket.py", line 977, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    response = self._make_request(
        conn,
    ...<10 lines>...
        **response_kw,
    )
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 493, in _make_request
    conn.request(
    ~~~~~~~~~~~~^
        method,
        ^^^^^^^
    ...<6 lines>...
        enforce_content_length=enforce_content_length,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 500, in request
    self.endheaders()
    ~~~~~~~~~~~~~~~^^
  File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/http/client.py", line 1353, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/http/client.py", line 1113, in _send_output
    self.send(msg)
    ~~~~~~~~~^^^^^
  File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/http/client.py", line 1057, in send
    self.connect()
    ~~~~~~~~~~~~^^
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 331, in connect
    self.sock = self._new_conn()
                ~~~~~~~~~~~~~~^^
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 211, in _new_conn
    raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: HTTPConnection(host='nessie', port=19120): Failed to resolve 'nessie' ([Errno -2] Name or service not known)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/requests/adapters.py", line 644, in send
    resp = conn.urlopen(
        method=request.method,
    ...<9 lines>...
        chunked=chunked,
    )
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 841, in urlopen
    retries = retries.increment(
        method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
    )
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/util/retry.py", line 535, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='nessie', port=19120): Max retries exceeded with url: /api/v2/config (Caused by NameResolutionError("HTTPConnection(host='nessie', port=19120): Failed to resolve 'nessie' ([Errno -2] Name or service not known)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kert/stack/.venv/lib/python3.13/site-packages/marimo/_runtime/e

This issue is closed automatically when the error stops occurring.

Auto-filed by the notebook error filer (`nb-sig:0fcd36de2a1a` — do not edit this marker; dedup and auto-close key on it). - **Notebook:** `nessie_tutorial.py` - **Error:** `exception`: HTTPConnectionPool(host='nessie', port=19120): Max retries exceeded with url: /api/v2/config (Caused by NameResolutionError("HTTPConnection(host='nessie', port=19120): Failed to resolve 'nessie' ([Errno -2] Name or service not known)")) - **Source:** nb-watcher ``` Traceback (most recent call last): File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 204, in _new_conn sock = connection.create_connection( (self._dns_host, self.port), ...<2 lines>... socket_options=self.socket_options, ) File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/util/connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/socket.py", line 977, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -2] Name or service not known The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 493, in _make_request conn.request( ~~~~~~~~~~~~^ method, ^^^^^^^ ...<6 lines>... enforce_content_length=enforce_content_length, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 500, in request self.endheaders() ~~~~~~~~~~~~~~~^^ File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/http/client.py", line 1353, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/http/client.py", line 1113, in _send_output self.send(msg) ~~~~~~~~~^^^^^ File "/home/kert/.local/share/uv/python/cpython-3.13.12-linux-x86_64-gnu/lib/python3.13/http/client.py", line 1057, in send self.connect() ~~~~~~~~~~~~^^ File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 331, in connect self.sock = self._new_conn() ~~~~~~~~~~~~~~^^ File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 211, in _new_conn raise NameResolutionError(self.host, self, e) from e urllib3.exceptions.NameResolutionError: HTTPConnection(host='nessie', port=19120): Failed to resolve 'nessie' ([Errno -2] Name or service not known) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/kert/stack/.venv/lib/python3.13/site-packages/requests/adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "/home/kert/stack/.venv/lib/python3.13/site-packages/urllib3/util/retry.py", line 535, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='nessie', port=19120): Max retries exceeded with url: /api/v2/config (Caused by NameResolutionError("HTTPConnection(host='nessie', port=19120): Failed to resolve 'nessie' ([Errno -2] Name or service not known)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/kert/stack/.venv/lib/python3.13/site-packages/marimo/_runtime/e ``` This issue is closed automatically when the error stops occurring.
kert added the notebooks label 2026-07-10 14:07:31 +00:00
Author
Owner

Transient: nessie was unreachable during the first nightly run, but it responds from the notebooks container now (curl http://nessie:19120/api/v2/config → 200) and the verification integration run passes. No code change needed; reopens automatically via the filer if it recurs.

Transient: nessie was unreachable during the first nightly run, but it responds from the notebooks container now (`curl http://nessie:19120/api/v2/config` → 200) and the verification integration run passes. No code change needed; reopens automatically via the filer if it recurs.
kert closed this issue 2026-07-10 18:37:34 +00:00
Sign in to join this conversation.