Anyone else have a scheduler error which look like “Temporary failure in name resolution” for ‘network.satnogs.org’.
Started happening 7 hours ago for me on both my stations.
Logs:
@raspberrypi:~ $ /home/pi/satnogs-auto-scheduler/env/bin/python /home/pi/satnogs-auto-scheduler/schedule_single_station.py -s 1522 -d 1.2 -r 40 -T
2020-05-14 07:25:12,600 - root - INFO - Requesting information for ground station 1522
2020-05-14 07:25:14,067 - root - INFO - Ground station information retrieved!
2020-05-14 07:25:14,069 - root - INFO - Updating transmitters and TLEs for station
2020-05-14 07:25:14,074 - root - INFO - Fetching transmitter information from DB.
2020-05-14 07:25:22,729 - root - INFO - Transmitters received!
2020-05-14 07:25:22,802 - root - INFO - Transmitters filtered based on ground station capability.
2020-05-14 07:25:22,804 - root - INFO - Fetching transmitter information from DB.
2020-05-14 07:25:30,393 - root - INFO - Transmitters received!
2020-05-14 07:25:30,464 - root - INFO - Transmitters filtered based on ground station capability.
2020-05-14 07:25:30,467 - root - INFO - Fetching satellite information from DB.
2020-05-14 07:25:33,749 - root - INFO - Satellites received!
2020-05-14 07:25:33,792 - root - INFO - Requesting transmitter success rates.
Traceback (most recent call last):
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/connection.py”, line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/util/connection.py”, line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/lib/python3.7/socket.py”, line 748, in getaddrinfo
for 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 “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
chunked=chunked,
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 381, in _make_request
self._validate_conn(conn)
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 976, in _validate_conn
conn.connect()
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/connection.py”, line 308, in connect
conn = self._new_conn()
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/connection.py”, line 172, in _new_conn
self, “Failed to establish a new connection: %s” % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x75992430>: 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 “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/urllib3/util/retry.py”, line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘network.satnogs.org’, port=443): Max retries exceeded with url: /api/transmitters/?page=6 (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x75992430>: 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 “/home/pi/satnogs-auto-scheduler/schedule_single_station.py”, line 319, in
main()
File “/home/pi/satnogs-auto-scheduler/schedule_single_station.py”, line 172, in main
cache.update()
File “/home/pi/satnogs-auto-scheduler/cache.py”, line 84, in update
transmitters_stats = get_transmitter_stats()
File “/home/pi/satnogs-auto-scheduler/satnogs_client.py”, line 64, in get_transmitter_stats
transmitters = get_paginated_endpoint(’{}/api/transmitters/’.format(settings.NETWORK_BASE_URL))
File “/home/pi/satnogs-auto-scheduler/satnogs_client.py”, line 18, in get_paginated_endpoint
r = requests.get(url=next_page_url)
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/api.py”, line 76, in get
return request(‘get’, url, params=params, **kwargs)
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/api.py”, line 61, in request
return session.request(method=method, url=url, **kwargs)
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/sessions.py”, line 530, in request
resp = self.send(prep, **send_kwargs)
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/sessions.py”, line 665, in send
history = [resp for resp in gen] if allow_redirects else []
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/sessions.py”, line 665, in
history = [resp for resp in gen] if allow_redirects else []
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/sessions.py”, line 245, in resolve_redirects
**adapter_kwargs
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/sessions.py”, line 643, in send
r = adapter.send(request, **kwargs)
File “/home/pi/satnogs-auto-scheduler/env/lib/python3.7/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘network.satnogs.org’, port=443): Max retries exceeded with url: /api/transmitters/?page=6 (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x75992430>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’))