Quantcast
Channel: Other Third-Party Clients & Tools — Plex Forums
Viewing all articles
Browse latest Browse all 346

PlexKodiConnect: KODI keeps scanning, doesn't take no for an anwser (HTTP/1.1 401 Unauthorized)

$
0
0

Hello,

Running
KODI 16.1-RC2
PKC 1.1.3
PMS 0.9.16.4

I have PKC setup to sync my music library.
I noticed that KODI keeps trying to sync, but gets an HTTP/1.1 401 Unauthorized from PMS.
However, PKC comes in some kind of a loop that never ends.

On my other client: PKC without music sync -> no probs
I don't know if it is related to the music section, but here is the KODI log of my client with problems

@croneter : is it OK to post questions/bugs here? Or do you want everything in
https://forums.plex.tv/discussion/210023/plexkodiconnect-let-kodi-talk-to-your-plex

kind regards,
Bart

KODI LOG

23:46:18 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Processed view
23:46:20 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:46:21 T:3076 NOTICE: Previous line repeats 3 times.
23:46:21 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Movies sync is finished.
23:46:21 T:3076 NOTICE: PlexKodiConnect PlexMovies -> It took 0:00:05.153000 to run the function.
23:46:21 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Media folders for Music: [{'itemtype': u'artist', 'id': u'33', 'name': u'Muziek'}]
23:46:21 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Start processing music MusicArtist
23:46:22 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:46:22 T:3076 NOTICE: Previous line repeats 1 times.
23:46:22 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Processing of music MusicArtist done
23:46:22 T:3076 NOTICE: PlexKodiConnect LibrarySync -> GetAndProcessXMLs for music MusicArtist completed
23:46:22 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Start processing music MusicAlbum
23:46:26 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:46:26 T:3076 NOTICE: Previous line repeats 1 times.
23:46:26 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Processing of music MusicAlbum done
23:46:26 T:3076 NOTICE: PlexKodiConnect LibrarySync -> GetAndProcessXMLs for music MusicAlbum completed
23:46:26 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Start processing music Audio
23:47:00 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:01 T:3076 NOTICE: Previous line repeats 1 times.
23:47:01 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Processing of music Audio done
23:47:01 T:3076 NOTICE: PlexKodiConnect LibrarySync -> GetAndProcessXMLs for music Audio completed
23:47:13 T:2764 ERROR: PlexKodiConnect DownloadUtils -> Server unreachable at: https://192.168.4.11:32400/identity
23:47:13 T:2764 NOTICE: PlexKodiConnect DownloadUtils -> ('Connection aborted.', error(10054, 'De externe host heeft een verbinding verbroken'))
23:47:13 T:2764 ERROR: PlexKodiConnect DownloadUtils -> Server unreachable at: https://192.168.4.83:32400/identity
23:47:13 T:2764 NOTICE: PlexKodiConnect DownloadUtils -> [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
23:47:32 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:32 T:3076 NOTICE: Previous line repeats 1 times.
23:47:32 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Music sync is finished.
23:47:32 T:3076 NOTICE: PlexKodiConnect PlexMusic -> It took 0:01:11.610000 to run the function.
23:47:32 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Media folders for TVShows: [{'itemtype': u'show', 'id': u'1', 'name': u'TV Series'}]
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed view TV Series with ID 1
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> GetAndProcessXMLs completed for tv shows
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 569
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 621
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 633
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 531
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 593
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 337
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 455
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 387
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 399
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 325552
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 122406
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 125905
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 39
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 324353
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 56
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 1
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 477
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 124104
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all seasons of TV show with Plex Id 360
23:47:34 T:3076 NOTICE: PlexKodiConnect LibrarySync -> GetAndProcessXMLs completed for seasons
23:47:35 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Analyzed all episodes of TV show with Plex Id 1
23:47:35 T:3076 NOTICE: PlexKodiConnect LibrarySync -> GetAndProcessXMLs completed for episodes
23:47:35 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:35 T:3076 NOTICE: Previous line repeats 1 times.
23:47:35 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Season info refreshed
23:47:36 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:3076 NOTICE: Previous line repeats 3 times.
23:47:37 T:3076 NOTICE: PlexKodiConnect LibrarySync -> TVShows sync is finished.
23:47:37 T:3076 NOTICE: PlexKodiConnect PlexTVShows -> It took 0:00:04.378000 to run the function.
23:47:37 T:3076 NOTICE: PLEX -> Toggling screensaver: {"id":0,"jsonrpc":"2.0","result":true}
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Path hack successful
23:47:37 T:3076 NOTICE: PlexKodiConnect fullSync -> It took 0:01:21.376000 to run the function.
23:47:37 T:3076 NOTICE: PlexKodiConnect LibrarySync -> Initial start-up full sync successful
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:3000 NOTICE: Previous line repeats 2 times.
23:47:37 T:3000 NOTICE: VideoInfoScanner: Starting scan ..
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625371/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625371/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:3000 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625372/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625372/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:8260 NOTICE: PlexKodiConnect KodiMonitor -> Method: AudioLibrary.OnScanStarted Data: null
23:47:37 T:8260 NOTICE: PlexKodiConnect KodiMonitor -> Method: VideoLibrary.OnScanStarted Data: null
23:47:37 T:8260 NOTICE: PlexKodiConnect KodiMonitor -> Method: VideoLibrary.OnScanFinished Data: null
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625373/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625373/' does not exist - skipping scan.
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625374/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625374/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625375/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625375/' does not exist - skipping scan.
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625376/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625376/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625377/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625377/' does not exist - skipping scan.
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625378/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625378/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625379/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625379/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625380/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625380/' does not exist - skipping scan.
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625381/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625381/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625382/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625382/' does not exist - skipping scan.
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625383/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625383/' does not exist - skipping scan.
23:47:37 T:3076 NOTICE: Using Image Cache Thread Count: 25 -> 1
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625384/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625384/' does not exist - skipping scan.
.........

Plex Media Server log

Apr 18, 2016 23:47:20:909 [5720] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
Apr 18, 2016 23:47:20:909 [5784] DEBUG - Completed: [192.168.4.54:65474] GET /status/sessions (28 live) 1ms 2018 bytes 200 (pipelined: 387)
Apr 18, 2016 23:47:20:918 [7556] DEBUG - Request: [192.168.4.54:65474] GET /library/metadata/731703?includePopularLeaves=1&includeExtras=1&includeChapters=1&includeConcerts=1&checkFiles=1 (28 live)
Apr 18, 2016 23:47:20:918 [7556] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 18, 2016 23:47:20:950 [7556] DEBUG - Updating part with ID=975128 [\mediaserver\media\muziek_new\Ben Harper - Call It What It Is\08 Finding Our Way.mp3]
Apr 18, 2016 23:47:20:951 [7556] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
Apr 18, 2016 23:47:20:951 [5788] DEBUG - Completed: [192.168.4.54:65474] GET /library/metadata/731703?includePopularLeaves=1&includeExtras=1&includeChapters=1&includeConcerts=1&checkFiles=1 (28 live) 33ms 2025 bytes 200 (pipelined: 388)
Apr 18, 2016 23:47:21:030 [6736] DEBUG - Request: [192.168.4.54:65510] HEAD /library/parts/625371/ (29 live)
Apr 18, 2016 23:47:21:030 [5788] DEBUG - Completed: [192.168.4.54:65510] HEAD /library/parts/625371/ (29 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:045 [6036] DEBUG - Request: [192.168.4.54:65511] GET /library/parts/625371/ (30 live)
Apr 18, 2016 23:47:21:045 [5788] DEBUG - Completed: [192.168.4.54:65511] GET /library/parts/625371/ (30 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:073 [2580] DEBUG - Request: [192.168.4.54:65512] HEAD /library/parts/625372/ (31 live)
Apr 18, 2016 23:47:21:073 [5788] DEBUG - Completed: [192.168.4.54:65512] HEAD /library/parts/625372/ (31 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:090 [7556] DEBUG - Request: [192.168.4.54:65513] GET /library/parts/625372/ (32 live)
Apr 18, 2016 23:47:21:091 [5788] DEBUG - Completed: [192.168.4.54:65513] GET /library/parts/625372/ (32 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:101 [5720] DEBUG - Request: [192.168.4.54:65514] HEAD /library/parts/625373/ (32 live)
Apr 18, 2016 23:47:21:102 [5788] DEBUG - Completed: [192.168.4.54:65514] HEAD /library/parts/625373/ (32 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:108 [6736] DEBUG - Request: [192.168.4.54:65515] GET /library/parts/625373/ (32 live)
Apr 18, 2016 23:47:21:109 [5788] DEBUG - Completed: [192.168.4.54:65515] GET /library/parts/625373/ (32 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:120 [6036] DEBUG - Request: [192.168.4.54:65516] HEAD /library/parts/625374/ (32 live)
Apr 18, 2016 23:47:21:120 [5788] DEBUG - Completed: [192.168.4.54:65516] HEAD /library/parts/625374/ (32 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:131 [2580] DEBUG - Request: [192.168.4.54:65517] GET /library/parts/625374/ (32 live)
Apr 18, 2016 23:47:21:131 [5788] DEBUG - Completed: [192.168.4.54:65517] GET /library/parts/625374/ (32 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:139 [7556] DEBUG - Request: [192.168.4.54:65518] HEAD /library/parts/625375/ (32 live)
Apr 18, 2016 23:47:21:139 [5788] DEBUG - Completed: [192.168.4.54:65518] HEAD /library/parts/625375/ (32 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:149 [5720] DEBUG - Request: [192.168.4.54:65519] GET /library/parts/625375/ (32 live)
Apr 18, 2016 23:47:21:149 [5788] DEBUG - Completed: [192.168.4.54:65519] GET /library/parts/625375/ (32 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:159 [6736] DEBUG - Request: [192.168.4.54:65520] HEAD /library/parts/625376/ (32 live)
Apr 18, 2016 23:47:21:160 [5788] DEBUG - Completed: [192.168.4.54:65520] HEAD /library/parts/625376/ (32 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:167 [6036] DEBUG - Request: [192.168.4.54:65521] GET /library/parts/625376/ (32 live)
Apr 18, 2016 23:47:21:168 [5788] DEBUG - Completed: [192.168.4.54:65521] GET /library/parts/625376/ (32 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:177 [2580] DEBUG - Request: [192.168.4.54:65522] HEAD /library/parts/625377/ (32 live)
Apr 18, 2016 23:47:21:178 [5788] DEBUG - Completed: [192.168.4.54:65522] HEAD /library/parts/625377/ (32 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:187 [7556] DEBUG - Request: [192.168.4.54:65523] GET /library/parts/625377/ (32 live)
Apr 18, 2016 23:47:21:187 [5788] DEBUG - Completed: [192.168.4.54:65523] GET /library/parts/625377/ (32 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:196 [5720] DEBUG - Request: [192.168.4.54:65524] HEAD /library/parts/625378/ (32 live)
Apr 18, 2016 23:47:21:197 [5788] DEBUG - Completed: [192.168.4.54:65524] HEAD /library/parts/625378/ (32 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:205 [6736] DEBUG - Request: [192.168.4.54:65525] GET /library/parts/625378/ (32 live)
Apr 18, 2016 23:47:21:205 [5788] DEBUG - Completed: [192.168.4.54:65525] GET /library/parts/625378/ (32 live) 0ms 260 bytes 401
Apr 18, 2016 23:47:21:215 [6036] DEBUG - Request: [192.168.4.54:65526] HEAD /library/parts/625379/ (32 live)
Apr 18, 2016 23:47:21:215 [5788] DEBUG - Completed: [192.168.4.54:65526] HEAD /library/parts/625379/ (32 live) 0ms 169 bytes 401
Apr 18, 2016 23:47:21:225 [7556] DEBUG - Request: [192.168.4.54:65527] GET /library/parts/625379/ (32 live)
Apr 18, 2016 23:47:21:226 [5788] DEBUG - Completed: [192.168.4.54:65527] GET /library/parts/625379/ (32 live) 0ms 260 bytes 401****
........

Wireshark Log


Viewing all articles
Browse latest Browse all 346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>