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
I think we should allow the urllib3.exceptions.NewConnectionError to pass and live with the missed Slack notification.
Traceback:
2022-10-13 04:59:13,179 CRITICAL [manager] unhandled exception:
Traceback (most recent call last):
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connectionfor res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/SalishSeaCast/nowcast-env/lib/python3.10/socket.py", line 955, in getaddrinfofor res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response =self._make_request(
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_requestself._validate_conn(conn)
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/connection.py", line 358, in connectself.sock = conn =self._new_conn()
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_connraise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f0ca333e6b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in incrementraise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hooks.slack.com', port=443): Max retries exceeded with url: /services/TFR25L4LU/BN6BE538V/CoaynXHafLaNF0L2VBTSqXFT (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0ca333e6b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/SalishSeaCast/NEMO_Nowcast/nemo_nowcast/manager.py", line 267, in _process_messagesself._try_messages()
File "/SalishSeaCast/NEMO_Nowcast/nemo_nowcast/manager.py", line 287, in _try_messages
reply, next_workers =self._message_handler(message)
File "/SalishSeaCast/NEMO_Nowcast/nemo_nowcast/manager.py", line 309, in _message_handler
reply, next_workers =self._handle_continue_msg(msg)
File "/SalishSeaCast/NEMO_Nowcast/nemo_nowcast/manager.py", line 357, in _handle_continue_msgself._slack_notification(msg)
File "/SalishSeaCast/NEMO_Nowcast/nemo_nowcast/manager.py", line 467, in _slack_notification
requests.post(slack_url, json=slack_msg)
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/requests/api.py", line 117, in postreturn request('post', url, data=data, json=json, **kwargs)
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/requests/api.py", line 61, in requestreturn session.request(method=method, url=url, **kwargs)
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
resp =self.send(prep, **send_kwargs)
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/requests/adapters.py", line 519, in sendraiseConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='hooks.slack.com', port=443): Max retries exceeded with url: /services/TFR25L4LU/BN6BE538V/CoaynXHafLaNF0L2VBTSqXFT (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0ca333e6b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
2022-10-13 04:59:13,621 CRITICAL [manager] shutting down
2022-10-13 04:59:13,648 CRITICAL [manager] ZMQError:
Traceback (most recent call last):
File "/SalishSeaCast/NEMO_Nowcast/nemo_nowcast/manager.py", line 267, in _process_messagesself._try_messages()
File "/SalishSeaCast/NEMO_Nowcast/nemo_nowcast/manager.py", line 286, in _try_messages
message =self._socket.recv_string()
File "/SalishSeaCast/nowcast-env/lib/python3.10/site-packages/zmq/sugar/socket.py", line 742, in recv_string
msg =self.recv(flags=flags)
File "zmq/backend/cython/socket.pyx", line 781, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 817, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 191, in zmq.backend.cython.socket._recv_copy
File "zmq/backend/cython/socket.pyx", line 186, in zmq.backend.cython.socket._recv_copy
File "zmq/backend/cython/checkrc.pxd", line 28, in zmq.backend.cython.checkrc._check_rczmq.error.ZMQError: Operation cannot be accomplished in current state
2022-10-13 04:59:13,678 CRITICAL [manager] shutting down
The text was updated successfully, but these errors were encountered:
I think we should allow the
urllib3.exceptions.NewConnectionError
to pass and live with the missed Slack notification.Traceback:
The text was updated successfully, but these errors were encountered: