Closed Madddcow closed 2 years ago
I've fixed a number of things causing non-Seren-related errors but Seren is definitely still responsible for a number of issues, especially with Trakt and Real-Debrid. Pls see this new log kodi.log
I should mention that I'm running Seren on multiple devices and some are being used simultaneously; could this be causing the errors with Seren checking my Trakt and Real-Debrid accounts?
It looks like you're having sporadic networking/DNS resolution issues:
2022-07-16 14:19:05.098 T:20603 ERROR <general>: SEREN (-1): Failed to check account status: HTTPSConnectionPool(host='api.real-debrid.com', port=443): Max retries exceeded with url: /rest/1.0/user (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2587240820>: Failed to establish a new connection: [Errno 7] No address associated with hostname'))
2022-07-16 14:19:21.027 T:20624 ERROR <general>: SEREN (-1): HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /sync/last_activities (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x25872059e0>: Failed to establish a new connection: [Errno 7] No address associated with hostname'))
2022-07-16 14:19:45.740 T:20662 ERROR <general>: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://www.msftncsi.com/ncsi.txt
2022-07-16 14:19:45.752 T:20662 ERROR <general>: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://www.w3.org/
If I hadn't seen this I would have wondered if anything was working:
2022-07-16 14:32:40.854 T:22038 INFO <general>: SEREN (-1): Inserting Shows into sync database: 281
2022-07-16 14:32:41.442 T:22038 INFO <general>: SEREN (-1): Inserting seasons into sync database: 10
2022-07-16 14:32:41.622 T:22038 INFO <general>: SEREN (-1): Inserting episodes into sync database: 86
It looks like your device went to sleep within 2 minutes of starting Kodi. The errors occurred after this:
2022-07-16 14:05:33.698 T:18208 INFO <general>: Got device sleep intent
2022-07-16 14:05:34.192 T:18234 INFO <general>: OnSleep: Running sleep jobs
2022-07-16 14:05:34.192 T:18234 INFO <general>: PumpPowerEvents: OnSleep called
And woke back up 30 min later when everything started looking better:
2022-07-16 14:32:15.443 T:18208 INFO <general>: Got device wakeup intent
2022-07-16 14:32:15.478 T:18234 INFO <general>: OnWake: Running resume jobs
Ahhhh, ok. That makes sense. Thanks @irbyjm
@drinfernoo: I've disabled sleep mode on my Shield but am still getting constant errors from Seren. See the attached log after Kodi has been running on the Shield for 24 hrs kodi.log .
I'm still seeing wake/sleep cycles, and immediately after sleep are failures:
Line 647: 2022-07-24 00:56:55.577 T:16971 INFO <general>: Got device sleep intent
Line 5881: 2022-07-24 15:09:01.577 T:16971 INFO <general>: Got device sleep intent
Line 5942: 2022-07-24 15:09:12.802 T:16971 INFO <general>: Got device sleep intent
Line 6486: 2022-07-24 15:56:07.016 T:16971 INFO <general>: Got device sleep intent
2022-07-24 00:56:55.577 T:16971 INFO <general>: Got device sleep intent
2022-07-24 00:56:55.899 T:16997 INFO <general>: OnSleep: Running sleep jobs
2022-07-24 00:56:55.899 T:16997 INFO <general>: PumpPowerEvents: OnSleep called
2022-07-24 01:05:08.992 T:18609 ERROR <general>: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://www.msftncsi.com/ncsi.txt
2022-07-24 01:05:09.007 T:18609 ERROR <general>: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://www.w3.org/
2022-07-24 01:08:00.533 T:18826 INFO <general>: initializing python engine.
2022-07-24 01:08:01.046 T:18826 INFO <general>: SEREN (-1): Seren, Running Path - {'action': 'runMaintenance'}
2022-07-24 01:08:01.651 T:18826 INFO <general>: SEREN (-1): Performing Maintenance
2022-07-24 01:08:04.874 T:18826 ERROR <general>: SEREN (-1): Failed to check account status: HTTPSConnectionPool(host='api.real-debrid.com', port=443): Max retries exceeded with url: /rest/1.0/user (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x25870794a0>: Failed to establish a new connection: [Errno 7] No address associated with hostname'))
Describe the bug I'm seeing a lot of errors in the Kodi log from my Nvidia Shield 2019 install of Kodi 19.4 that appear to be from Seren. The most frequent error is displayed onscreen once streamed file playback has completed: 'Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'
Log Attached.
Environment
Screenshots and Additional Context
If applicable, add any other context or screenshots about the problem here. kodi.log