More of these errors in the FrndlyTV container log yesterday and today
Logs in, then immediately gets 401-Unauthorized access
2023/11/01 15:29:22.832510 [IDX] Pruned 50 expired airings from XMLTV-frndlyTVNoEpg in 32.754078ms.
2023-11-02T16:41:00.510063383Z stdout 401
2023-11-02T16:41:00.511150994Z stdout Unauthorized access
2023-11-02T16:41:00.511448960Z stdout logging in....
2023-11-02T16:41:03.582769121Z stdout Logged in!
2023-11-02T16:41:03.931718748Z stdout 401
2023-11-02T16:41:03.932034522Z stdout Unauthorized access
2023-11-02T16:41:03.932647250Z stderr 172.18.0.1 - - [02/Nov/2023 09:41:03] "GET /playlist.m3u?gracenote=include HTTP/1.1" 500 -
2023-11-02T16:41:03.933256877Z stderr ----------------------------------------
2023-11-02T16:41:03.933550414Z stderr Exception happened during processing of request from ('172.18.0.1', 56780)
2023/11/02 09:41:03.933935 [ERR] Unexpected m3u response for frndlyTV: 500 Internal Server Error
2023-11-02T16:41:03.934026996Z stderr Traceback (most recent call last):
2023-11-02T16:41:03.934378998Z stderr File "/usr/local/lib/python3.8/socketserver.py", line 683, in process_request_thread
2023-11-02T16:41:03.934653837Z stderr self.finish_request(request, client_address)
2023-11-02T16:41:03.934834937Z stderr File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
2023-11-02T16:41:03.934959754Z stderr self.RequestHandlerClass(request, client_address, self)
2023-11-02T16:41:03.935062029Z stderr File "./app.py", line 25, in __init__
2023-11-02T16:41:03.935166827Z stderr super().__init__(*args, **kwargs)
2023-11-02T16:41:03.935265945Z stderr File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
2023-11-02T16:41:03.935409373Z stderr self.handle()
2023-11-02T16:41:03.935527367Z stderr File "/usr/local/lib/python3.8/http/server.py", line 435, in handle
2023-11-02T16:41:03.935639247Z stderr self.handle_one_request()
2023-11-02T16:41:03.935733906Z stderr File "/usr/local/lib/python3.8/http/server.py", line 423, in handle_one_request
2023-11-02T16:41:03.935839644Z stderr method()
2023-11-02T16:41:03.935932529Z stderr File "./app.py", line 55, in do_GET
2023-11-02T16:41:03.936049045Z stderr self._error(e)
2023-11-02T16:41:03.936146426Z stderr File "./app.py", line 53, in do_GET
2023-11-02T16:41:03.936245776Z stderr routes[func]()
2023-11-02T16:41:03.936376017Z stderr File "./app.py", line 71, in _playlist
2023-11-02T16:41:03.936498153Z stderr channels = frndly.channels()
2023-11-02T16:41:03.936597918Z stderr File "/usr/src/app/frndly.py", line 150, in channels
2023-11-02T16:41:03.936701535Z stderr rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
2023-11-02T16:41:03.936827209Z stderr File "/usr/src/app/frndly.py", line 133, in _request
2023-11-02T16:41:03.936931157Z stderr return self._request(url, params=params, login_on_failure=False)
2023-11-02T16:41:03.937038169Z stderr File "/usr/src/app/frndly.py", line 136, in _request
2023-11-02T16:41:03.937139418Z stderr raise Exception(data['error']['message'])
2023-11-02T16:41:03.937238657Z stderr Exception: Unauthorized access
2023-11-02T16:41:03.937356830Z stderr ----------------------------------------
2023-11-02T16:41:04.311275239Z stdout 401
2023-11-02T16:41:04.311596016Z stdout Unauthorized access
2023-11-02T16:41:04.311999077Z stdout logging in....
2023-11-02T16:41:07.504742064Z stdout Logged in!
2023/11/02 09:41:08.111346 [M3U] Refreshed lineup for frndlyTVNoEpg with 6 channels
Logs in, then immediately gets 401-Unauthorized access
2023/11/02 13:57:34.857180 [IDX] Pruned 30 expired airings from XMLTV-frndlyTVNoEpg in 32.637583ms.
2023-11-03T16:17:00.540825979Z stdout 401
2023-11-03T16:17:00.541946334Z stdout Unauthorized access
2023-11-03T16:17:00.542178195Z stdout logging in....
2023-11-03T16:17:03.627556001Z stdout Logged in!
2023-11-03T16:17:03.974564276Z stdout 401
2023-11-03T16:17:03.974806735Z stdout Unauthorized access
2023-11-03T16:17:03.975438320Z stderr 172.18.0.1 - - [03/Nov/2023 09:17:03] "GET /playlist.m3u?gracenote=include HTTP/1.1" 500 -
2023-11-03T16:17:03.975986002Z stderr ----------------------------------------
2023-11-03T16:17:03.976201841Z stderr Exception happened during processing of request from ('172.18.0.1', 57150)
2023/11/03 09:17:03.976765 [ERR] Unexpected m3u response for frndlyTV: 500 Internal Server Error
2023-11-03T16:17:03.976923642Z stderr Traceback (most recent call last):
2023-11-03T16:17:03.977631148Z stderr File "/usr/local/lib/python3.8/socketserver.py", line 683, in process_request_thread
2023-11-03T16:17:03.978198005Z stderr self.finish_request(request, client_address)
2023-11-03T16:17:03.978437604Z stderr File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
2023-11-03T16:17:03.978573334Z stderr self.RequestHandlerClass(request, client_address, self)
2023-11-03T16:17:03.978680045Z stderr File "./app.py", line 25, in __init__
2023-11-03T16:17:03.978782092Z stderr super().__init__(*args, **kwargs)
2023-11-03T16:17:03.978881409Z stderr File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
2023-11-03T16:17:03.978984094Z stderr self.handle()
2023-11-03T16:17:03.979078622Z stderr File "/usr/local/lib/python3.8/http/server.py", line 435, in handle
2023-11-03T16:17:03.979184796Z stderr self.handle_one_request()
2023-11-03T16:17:03.979276700Z stderr File "/usr/local/lib/python3.8/http/server.py", line 423, in handle_one_request
2023-11-03T16:17:03.979499379Z stderr method()
2023-11-03T16:17:03.979629308Z stderr File "./app.py", line 55, in do_GET
2023-11-03T16:17:03.979747513Z stderr self._error(e)
2023-11-03T16:17:03.980035307Z stderr File "./app.py", line 53, in do_GET
2023-11-03T16:17:03.980164067Z stderr routes[func]()
2023-11-03T16:17:03.980259915Z stderr File "./app.py", line 71, in _playlist
2023-11-03T16:17:03.980406400Z stderr channels = frndly.channels()
2023-11-03T16:17:03.980516284Z stderr File "/usr/src/app/frndly.py", line 150, in channels
2023-11-03T16:17:03.980618259Z stderr rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
2023-11-03T16:17:03.980739012Z stderr File "/usr/src/app/frndly.py", line 133, in _request
2023-11-03T16:17:03.980838713Z stderr return self._request(url, params=params, login_on_failure=False)
2023-11-03T16:17:03.980950526Z stderr File "/usr/src/app/frndly.py", line 136, in _request
2023-11-03T16:17:03.981052587Z stderr raise Exception(data['error']['message'])
2023-11-03T16:17:03.981160769Z stderr Exception: Unauthorized access
2023-11-03T16:17:03.981257007Z stderr ----------------------------------------
2023-11-03T16:17:04.352312028Z stdout 401
2023-11-03T16:17:04.352609027Z stdout Unauthorized access
2023-11-03T16:17:04.352802213Z stdout logging in....
2023-11-03T16:17:07.507715661Z stdout Logged in!
2023/11/03 09:17:08.065504 [M3U] Refreshed lineup for frndlyTVNoEpg with 6 channels
Edit: To put this in context, these are the daily morning lineup and guide updates. I added the Channels DVR log entry immediately preceding the errors.
The errors are preventing Channels DVR from updating the playlist.m3u?gracenote=include