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
gaierror: [Errno -2] Name or service not known
File "urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ffa0d54a8>: Failed to establish a new connection: [Errno -2] Name or service not known
(3 additional frame(s) were not displayed)
...
File "urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "newrelic/hooks/external_httplib.py", line 33, in httplib_connect_wrapper
return wrapped(*args, **kwargs)
File "urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
MaxRetryError: HTTPSConnectionPool(host='none', port=443): Max retries exceeded with url: /api/v0/catalog/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ffa0d54a8>: Failed to establish a new connection: [Errno -2] Name or service not known'))
File "requests/adapters.py", line 449, in send
timeout=timeout
File "urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
ConnectionError: HTTPSConnectionPool(host='none', port=443): Max retries exceeded with url: /api/v0/catalog/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ffa0d54a8>: Failed to establish a new connection: [Errno -2] Name or service not known'))
(9 additional frame(s) were not displayed)
...
File "newrelic/api/external_trace.py", line 62, in dynamic_wrapper
return return_value(trace, lambda: wrapped(*args, **kwargs))
File "newrelic/api/coroutine_trace.py", line 171, in return_value
return fn()
File "newrelic/api/external_trace.py", line 62, in <lambda>
return return_value(trace, lambda: wrapped(*args, **kwargs))
File "requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
The text was updated successfully, but these errors were encountered:
A good fix for this would probably be to retry on a delay and log an error if we fail on too many retries.
Sentry Issue: DISCUSSIONS-2S0
The text was updated successfully, but these errors were encountered: