exceeded with url: /ReadMonitor.php?sp=1880&LastID=0 (Caused by NewConnectionError("HTTPSConnection(host='monitor.p2000alarm.nl', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable"))
Jul 17 22:48:52 telegram-news-bot python[438637]: During handling of the above exception, another exception occurred:
Jul 17 22:48:52 telegram-news-bot python[438637]: Traceback (most recent call last):
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/p2000_local_bot.py", line 221, in <module>
Jul 17 22:48:52 telegram-news-bot python[438637]: main()
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/p2000_local_bot.py", line 161, in main
Jul 17 22:48:52 telegram-news-bot python[438637]: html = fetch_source()
Jul 17 22:48:52 telegram-news-bot python[438637]: ^^^^^^^^^^^^^^
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/p2000_local_bot.py", line 72, in fetch_source
Jul 17 22:48:52 telegram-news-bot python[438637]: r = requests.get(SOURCE_URL, headers=HEADERS, timeout=20)
Jul 17 22:48:52 telegram-news-bot python[438637]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/api.py", line 73, in get
Jul 17 22:48:52 telegram-news-bot python[438637]: return request("get", url, params=params, **kwargs)
Jul 17 22:48:52 telegram-news-bot python[438637]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
Jul 17 22:48:52 telegram-news-bot python[438637]: return session.request(method=method, url=url, **kwargs)
Jul 17 22:48:52 telegram-news-bot python[438637]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
Jul 17 22:48:52 telegram-news-bot python[438637]: resp = self.send(prep, **send_kwargs)
Jul 17 22:48:52 telegram-news-bot python[438637]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
Jul 17 22:48:52 telegram-news-bot python[438637]: r = adapter.send(request, **kwargs)
Jul 17 22:48:52 telegram-news-bot python[438637]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:48:52 telegram-news-bot python[438637]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/adapters.py", line 677, in send
Jul 17 22:48:52 telegram-news-bot python[438637]: raise ConnectionError(e, request=request)
Jul 17 22:48:52 telegram-news-bot python[438637]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='monitor.p2000alarm.nl', port=443): Max retries exceeded with url: /ReadMonitor.php?sp=1880&LastID=0 (Caused by NewConnectionError("HTTPSConnection(host='monitor.p2000alarm.nl', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable"))
Jul 17 22:48:52 telegram-news-bot systemd[1]: p2000-local-bot.service: Main process exited, code=exited, status=1/FAILURE
Jul 17 22:48:52 telegram-news-bot systemd[1]: p2000-local-bot.service: Failed with result 'exit-code'.
Jul 17 22:48:57 telegram-news-bot systemd[1]: p2000-local-bot.service: Scheduled restart job, restart counter is at 2.
Jul 17 22:48:57 telegram-news-bot systemd[1]: Started p2000-local-bot.service - P2000 Local Bot.
Jul 17 22:48:58 telegram-news-bot python[438651]: P2000 local bot (Haaksbergen via p2000alarm) gestart
Jul 17 22:49:18 telegram-news-bot python[438651]: Traceback (most recent call last):
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 204, in _new_conn
Jul 17 22:49:18 telegram-news-bot python[438651]: sock = connection.create_connection(
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
Jul 17 22:49:18 telegram-news-bot python[438651]: raise err
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection
Jul 17 22:49:18 telegram-news-bot python[438651]: sock.connect(sa)
Jul 17 22:49:18 telegram-news-bot python[438651]: OSError: [Errno 101] Network is unreachable
Jul 17 22:49:18 telegram-news-bot python[438651]: The above exception was the direct cause of the following exception:
Jul 17 22:49:18 telegram-news-bot python[438651]: Traceback (most recent call last):
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen
Jul 17 22:49:18 telegram-news-bot python[438651]: response = self._make_request(
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 488, in _make_request
Jul 17 22:49:18 telegram-news-bot python[438651]: raise new_e
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 464, in _make_request
Jul 17 22:49:18 telegram-news-bot python[438651]: self._validate_conn(conn)
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn
Jul 17 22:49:18 telegram-news-bot python[438651]: conn.connect()
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 759, in connect
Jul 17 22:49:18 telegram-news-bot python[438651]: self.sock = sock = self._new_conn()
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 219, in _new_conn
Jul 17 22:49:18 telegram-news-bot python[438651]: raise NewConnectionError(
Jul 17 22:49:18 telegram-news-bot python[438651]: urllib3.exceptions.NewConnectionError: HTTPSConnection(host='monitor.p2000alarm.nl', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable
Jul 17 22:49:18 telegram-news-bot python[438651]: The above exception was the direct cause of the following exception:
Jul 17 22:49:18 telegram-news-bot python[438651]: Traceback (most recent call last):
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/adapters.py", line 644, in send
Jul 17 22:49:18 telegram-news-bot python[438651]: resp = conn.urlopen(
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen
Jul 17 22:49:18 telegram-news-bot python[438651]: retries = retries.increment(
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 535, in increment
Jul 17 22:49:18 telegram-news-bot python[438651]: raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='monitor.p2000alarm.nl', port=443): Max retries exceeded with url: /ReadMonitor.php?sp=1880&LastID=0 (Caused by NewConnectionError("HTTPSConnection(host='monitor.p2000alarm.nl', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable"))
Jul 17 22:49:18 telegram-news-bot python[438651]: During handling of the above exception, another exception occurred:
Jul 17 22:49:18 telegram-news-bot python[438651]: Traceback (most recent call last):
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/p2000_local_bot.py", line 221, in <module>
Jul 17 22:49:18 telegram-news-bot python[438651]: main()
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/p2000_local_bot.py", line 161, in main
Jul 17 22:49:18 telegram-news-bot python[438651]: html = fetch_source()
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/p2000_local_bot.py", line 72, in fetch_source
Jul 17 22:49:18 telegram-news-bot python[438651]: r = requests.get(SOURCE_URL, headers=HEADERS, timeout=20)
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/api.py", line 73, in get
Jul 17 22:49:18 telegram-news-bot python[438651]: return request("get", url, params=params, **kwargs)
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
Jul 17 22:49:18 telegram-news-bot python[438651]: return session.request(method=method, url=url, **kwargs)
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
Jul 17 22:49:18 telegram-news-bot python[438651]: resp = self.send(prep, **send_kwargs)
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
Jul 17 22:49:18 telegram-news-bot python[438651]: r = adapter.send(request, **kwargs)
Jul 17 22:49:18 telegram-news-bot python[438651]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 17 22:49:18 telegram-news-bot python[438651]: File "/home/botuser/p2000-local-bot/.venv/lib/python3.12/site-packages/requests/adapters.py", line 677, in send
Jul 17 22:49:18 telegram-news-bot python[438651]: raise ConnectionError(e, request=request)
Jul 17 22:49:18 telegram-news-bot python[438651]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='monitor.p2000alarm.nl', port=443): Max retries exceeded with url: /ReadMonitor.php?sp=1880&LastID=0 (Caused by NewConnectionError("HTTPSConnection(host='monitor.p2000alarm.nl', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable"))
Jul 17 22:49:18 telegram-news-bot systemd[1]: p2000-local-bot.service: Main process exited, code=exited, status=1/FAILURE
Jul 17 22:49:18 telegram-news-bot systemd[1]: p2000-local-bot.service: Failed with result 'exit-code'.