You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before opening an issue make sure that there are no duplicates and that you are on the latest version. Describe the bug
ERROR - Handle subscribe payload error, status 200 reason OK
To Reproduce
Leave this service running. Using a Sony TV with Google's OS and Youtube App
Expected behavior
No crashes
iSponsorBlockTV server (please complete the following information):
OS: isponsorblocktv running on Linux as a systemd service in a venv
Python version: Python 3.13.1
I saw this error three times yesterday when checking server logs but haven't noticed any ill effects. I have included this here for your information.
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: 2025-01-28 23:01:51,525 - iSponsorBlockTV-om5qk7crhbd15930adg378652a - ERROR - Handle subscribe payload error, status 200 reason OK
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: Traceback (most recent call last):
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "/data/venv/isponsorblocktv/lib/python3.13/site-packages/aiohttp/client_proto.py", line 94, in connection_lost
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: uncompleted = self._parser.feed_eof()
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "aiohttp/_http_parser.pyx", line 507, in aiohttp._http_parser.HttpParser.feed_eof
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: aiohttp.http_exceptions.TransferEncodingError: 400, message:
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: Not enough data for satisfy transfer length header.
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: The above exception was the direct cause of the following exception:
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: Traceback (most recent call last):
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "/data/venv/isponsorblocktv/lib/python3.13/site-packages/pyytlounge/wrapper.py", line 468, in subscribe
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: async for events in self._parse_event_chunks(
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: ...<7 lines>...
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: break
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "/data/venv/isponsorblocktv/lib/python3.13/site-packages/pyytlounge/wrapper.py", line 344, in _parse_event_chunks
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: async for line in lines:
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: ...<10 lines>...
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: yield events
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "/data/venv/isponsorblocktv/lib/python3.13/site-packages/pyytlounge/wrapper.py", line 142, in iter_response_lines
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: line = await resp.readline()
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: ^^^^^^^^^^^^^^^^^^^^^
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "/data/venv/isponsorblocktv/lib/python3.13/site-packages/aiohttp/streams.py", line 317, in readline
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: return await self.readuntil()
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: ^^^^^^^^^^^^^^^^^^^^^^
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "/data/venv/isponsorblocktv/lib/python3.13/site-packages/aiohttp/streams.py", line 351, in readuntil
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: await self._wait("readuntil")
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: File "/data/venv/isponsorblocktv/lib/python3.13/site-packages/aiohttp/streams.py", line 312, in _wait
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: await waiter
Jan 28 23:01:51 ultra-arikui youtube-sponsorblock[7490]: aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
If there is some way I can capture the payload that is not being parsed correctly, or anything else I can do to be useful, please let me know.
The text was updated successfully, but these errors were encountered:
Thanks for opening an issue, sometimes the connection with YouTube is closed forcedly, but I haven't been able to locate the cause(s) of it. If the tool managed to reconnect, then it should be fine
This is still happening; some days not at all. A few days ago it happened 5 times. I am not noticing any ill effects from the crashes. I could not tell that it is crashing from watching Youtube.
To answer your question, ever since I last updated and started the service (Jan 26th) it has kept the same PID through the stack traces.
Before opening an issue make sure that there are no duplicates and that you are on the latest version.
Describe the bug
ERROR - Handle subscribe payload error, status 200 reason OK
To Reproduce
Leave this service running. Using a Sony TV with Google's OS and Youtube App
Expected behavior
No crashes
iSponsorBlockTV server (please complete the following information):
I saw this error three times yesterday when checking server logs but haven't noticed any ill effects. I have included this here for your information.
If there is some way I can capture the payload that is not being parsed correctly, or anything else I can do to be useful, please let me know.
The text was updated successfully, but these errors were encountered: