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