Considering fixing this, but would like to know if you have any preferences for how to handle these?
Specific problem below; I think this might just be intermittent connection issues on my network. Trace line numbers might be slightly off due to local changes:
Exception in thread tilty_daemon:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/connectionpool.py", line 978, in _validate_conn
conn.connect()
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/connection.py", line 309, in connect
conn = self._new_conn()
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0xffff83d1d5b0>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/requests-2.24.0-py3.8.egg/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/usr/lib/python3.8/site-packages/urllib3-1.25.10-py3.8.egg/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='log.brewfather.net', port=443): Max retries exceeded with url: /tilt?id=[REDACTED] (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff83d1d5b0>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.8/site-packages/Tilty-0.6.3-py3.8.egg/tilty/cli.py", line 74, in scan_and_emit_thread
File "/usr/lib/python3.8/site-packages/Tilty-0.6.3-py3.8.egg/tilty/cli.py", line 52, in scan_and_emit
File "/usr/lib/python3.8/site-packages/Tilty-0.6.3-py3.8.egg/tilty/tilty.py", line 59, in emit
File "/usr/lib/python3.8/site-packages/Tilty-0.6.3-py3.8.egg/tilty/emitters/webhook.py", line 80, in emit
File "/usr/lib/python3.8/site-packages/requests-2.24.0-py3.8.egg/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3.8/site-packages/requests-2.24.0-py3.8.egg/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.8/site-packages/requests-2.24.0-py3.8.egg/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.8/site-packages/requests-2.24.0-py3.8.egg/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.8/site-packages/requests-2.24.0-py3.8.egg/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='log.brewfather.net', port=443): Max retries exceeded with url: /tilt?id=[REDACTED] (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff83d1d5b0>: Failed to establish a new connection: [Errno -3] Try again'))