If it helps, I see errors in the logs, too:
2024-03-04 19:01:51 Exception in thread Thread-1 (scheduler_thread):
2024-03-04 19:01:51 Traceback (most recent call last):
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
2024-03-04 19:01:51 response = self._make_request(
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 537, in _make_request
2024-03-04 19:01:51 response = conn.getresponse()
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/connection.py", line 466, in getresponse
2024-03-04 19:01:51 httplib_response = super().getresponse()
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/http/client.py", line 1423, in getresponse
2024-03-04 19:01:51 response.begin()
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/http/client.py", line 331, in begin
2024-03-04 19:01:51 version, status, reason = self._read_status()
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/http/client.py", line 300, in _read_status
2024-03-04 19:01:51 raise RemoteDisconnected("Remote end closed connection without"
2024-03-04 19:01:51 http.client.RemoteDisconnected: Remote end closed connection without response
2024-03-04 19:01:51
2024-03-04 19:01:51 During handling of the above exception, another exception occurred:
2024-03-04 19:01:51
2024-03-04 19:01:51 Traceback (most recent call last):
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
2024-03-04 19:01:51 resp = conn.urlopen(
2024-03-04 19:01:51 ^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 847, in urlopen
2024-03-04 19:01:51 retries = retries.increment(
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/util/retry.py", line 470, in increment
2024-03-04 19:01:51 raise reraise(type(error), error, _stacktrace)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise
2024-03-04 19:01:51 raise value.with_traceback(tb)
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
2024-03-04 19:01:51 response = self._make_request(
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 537, in _make_request
2024-03-04 19:01:51 response = conn.getresponse()
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/urllib3/connection.py", line 466, in getresponse
2024-03-04 19:01:51 httplib_response = super().getresponse()
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/http/client.py", line 1423, in getresponse
2024-03-04 19:01:51 response.begin()
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/http/client.py", line 331, in begin
2024-03-04 19:01:51 version, status, reason = self._read_status()
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/http/client.py", line 300, in _read_status
2024-03-04 19:01:51 raise RemoteDisconnected("Remote end closed connection without"
2024-03-04 19:01:51 urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2024-03-04 19:01:51
2024-03-04 19:01:51 During handling of the above exception, another exception occurred:
2024-03-04 19:01:51
2024-03-04 19:01:51 Traceback (most recent call last):
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
2024-03-04 19:01:51 self.run()
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/threading.py", line 1010, in run
2024-03-04 19:01:51 self._target(*self._args, **self._kwargs)
2024-03-04 19:01:51 File "/app/pywsgi.py", line 251, in scheduler_thread
2024-03-04 19:01:51 schedule.run_pending()
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/schedule/__init__.py", line 822, in run_pending
2024-03-04 19:01:51 default_scheduler.run_pending()
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/schedule/__init__.py", line 100, in run_pending
2024-03-04 19:01:51 self._run_job(job)
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/schedule/__init__.py", line 172, in _run_job
2024-03-04 19:01:51 ret = job.run()
2024-03-04 19:01:51 ^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/schedule/__init__.py", line 693, in run
2024-03-04 19:01:51 ret = self.job_func()
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/app/pywsgi.py", line 242, in epg_scheduler
2024-03-04 19:01:51 error = providers[provider].create_xml_file(code)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/app/plex.py", line 468, in create_xml_file
2024-03-04 19:01:51 error_code = self.update_epg(country_code)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/app/plex.py", line 336, in update_epg
2024-03-04 19:01:51 error = self.read_epg_from_api(start_datetime, dates_not_present[0], 0, id_values, country_code)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/app/plex.py", line 259, in read_epg_from_api
2024-03-04 19:01:51 resp, error = self.api(country_code, 'grid', params, epg_headers)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/app/plex.py", line 218, in api
2024-03-04 19:01:51 response = self.session.get(url, params=api_params, headers=api_headers)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
2024-03-04 19:01:51 return self.request("GET", url, **kwargs)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
2024-03-04 19:01:51 resp = self.send(prep, **send_kwargs)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
2024-03-04 19:01:51 r = adapter.send(request, **kwargs)
2024-03-04 19:01:51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-04 19:01:51 File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 501, in send
2024-03-04 19:01:51 raise ConnectionError(err, request=request)
2024-03-04 19:01:51 requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Then later, after the reset this AM:
2024-03-06 10:25:44 Retrieving local EPG data complete
2024-03-06 10:25:58 ⇨ http server started on [::]:7777
2024-03-06 10:30:47 Retrieving local EPG data for 2024-03-07 through 2024-03-07
2024-03-06 10:32:16 Retrieving local EPG data complete
2024-03-06 10:42:43 Retrieving local EPG data for 2024-03-08 through 2024-03-08
2024-03-06 10:44:33 Retrieving local EPG data complete
2024-03-06 10:55:08 Retrieving local EPG data for 2024-03-09 through 2024-03-09
2024-03-06 10:57:43 (None, 'HTTP failure 429: {"Error":{"error":"Too Many Requests","message":"Rate limit exceeded!","statusCode":429}}')