Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Plex server works inside Plex, plexripper there's nothing #224

Closed
1 task done
qrenz opened this issue May 12, 2023 · 10 comments
Closed
1 task done

[BUG] - Plex server works inside Plex, plexripper there's nothing #224

qrenz opened this issue May 12, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@qrenz
Copy link

qrenz commented May 12, 2023

Checks

  • I have searched the existing issues for a similar bug and it does not exist!

PlexRipper version

v0.10.0

Platform

Linux

Browsers

Google Chrome

Description

Hello,

I have a server that's connectable when i'm using the plex app from anywhere, once i try to connect to it in plexripper it just says "No libraries available". Any help with this?

Reproduction steps

Shows up in app and doesn't show up in ripper specifically 

Screenshots

![DESCRIPTION](LINK.png)

Logs

14:18:37 [Information] [PlexRipperHost.Setup:18] => Currently running on Linux

14:18:39 [Debug] [PlexRipperHost.Setup:31] => Setting up Autofac Containers
xRipper database

14:18:38 [Information] [PlexRipperDbContext.Setup:170] => Attempting to migrate database

14:18:39 [Information] [PlexRipperDbContext.Setup:187] => Database was successfully connected!

14:18:39 [Information] [PlexRipperDbContext.Setup:188] => Database connected at: "/Config/PlexRipperDB.db"

14:18:39 [Information] [Startup..ctor:20] => PlexRipper running in "Production" mode

14:18:39 [Information] [Quartz.DBConnectionManager:0] => Registering datasource 'default' with db provider: 'Quartz.Impl.AdoJobStore.Common.DbProvider'

14:18:39 [Information] [Quartz.StdSchedulerFactory:0] => Using object serializer: Quartz.Simpl.JsonObjectSerializer, Quartz.Serialization.Json

14:18:39 [Information] [Quartz.StdSchedulerFactory:0] => Using custom data access locking (synchronization): Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore

14:18:39 [Information] [Quartz.SchedulerSignalerImpl:0] => Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl

14:18:39 [Information] [Quartz.QuartzScheduler:0] => Quartz Scheduler created

14:18:39 [Information] [Quartz.QuartzScheduler:0] => JobFactory set to: Autofac.Extras.Quartz.AutofacJobFactory

14:18:39 [Information] [Quartz.JobStoreTX:0] => With SQLite we need to set AcquireTriggersWithinLock to true, changing

14:18:39 [Information] [Quartz.JobStoreTX:0] => Detected usage of SQLiteDelegate - defaulting 'txIsolationLevelSerializable' to 'true'

14:18:39 [Information] [Quartz.JobStoreTX:0] => Successfully validated presence of 10 schema objects

14:18:39 [Information] [Quartz.JobStoreTX:0] => JobStoreTX initialized.

14:18:39 [Information] [Quartz.StdSchedulerFactory:0] => Quartz Scheduler 3.5.0.0 - 'PlexRipper Scheduler' with instanceId 'NON_CLUSTERED' initialized

14:18:39 [Information] [Quartz.StdSchedulerFactory:0] => Using thread pool 'Quartz.Simpl.DefaultThreadPool', size: 10

14:18:39 [Information] [Quartz.StdSchedulerFactory:0] => Using job store 'Quartz.Impl.AdoJobStore.JobStoreTX', supports persistence: True, clustered: False

14:18:40 [Information] [Quartz.JobStoreTX:0] => Freed 0 triggers from 'acquired' / 'blocked' state.

14:18:40 [Information] [Quartz.JobStoreTX:0] => Recovering 0 jobs that were in-progress at the time of the last shut-down.

14:18:40 [Information] [Quartz.JobStoreTX:0] => Recovery complete.

14:18:40 [Information] [Quartz.JobStoreTX:0] => Removed 0 'complete' triggers.

14:18:40 [Information] [Quartz.JobStoreTX:0] => Removed 0 stale fired job entries.

14:18:40 [Information] [Quartz.QuartzScheduler:0] => Scheduler PlexRipper Scheduler_$_NON_CLUSTERED started.
ing up Quartz listeners

14:18:39 [Information] [SchedulerService.SetupAsync:42] => Starting Quartz Scheduler

14:18:40 [Information] [Boot.WaitForS
14:19:11 [Debug] [PlexApiClient.GenerateResponseResult:0] => Created

14:19:11 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 201

14:19:11 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:12 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:12 [Information] [ConfigManager.SaveConfig:0] => UserSettings were saved successfully!

14:19:12 [Information] [ConfigManager.SaveConfig:0] => Something failed but no errors were available in the result

14:19:22 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://192.168.68.61:50955/identity failed with status code: 0 - Connection refused (192.168.68.61:50955)

14:19:22 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:19:22 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - Connection refused (192.168.68.61:50955)

14:19:22 [Error] [PlexServerConnectionsService.CheckAllConnectionsOfPlexServerAsync:0] => All connections to plex server with id: 7 failed to connect

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://10.1.27.253:32500/identity failed with status code: 0 - Connection refused (10.1.27.253:32500)

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://10.0.0.25:32400/identity failed with status code: 0 - Connection refused (10.0.0.25:32400)

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://192.168.0.2:32500/identity failed with status code: 0 - Connection refused (192.168.0.2:32500)

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - Connection refused (10.1.27.253:32500)

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - Connection refused (10.0.0.25:32400)

14:19:39 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - Connection refused (192.168.0.2:32500)

14:19:39 [Error] [PlexServerConnectionsService.CheckAllConnectionsOfPlexServerAsync:0] => All connections to plex server with id: 8 failed to connect

14:19:39 [Error] [PlexServerConnectionsService.CheckAllConnectionsOfPlexServerAsync:0] => All connections to plex server with id: 6 failed to connect

14:19:45 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://redacted:32400/identity failed with status code: 0 - A task was canceled.

14:19:45 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:19:45 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - A task was canceled.

14:19:45 [Error] [PlexServerConnectionsService.CheckAllConnectionsOfPlexServerAsync:0] => All connections to plex server with id: 5 failed to connect

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:45 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:46 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:19:46 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:19:46 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:19:55 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://192.168.68.61:50955/library/sections failed with status code: 0 - Connection refused (192.168.68.61:50955)

14:19:55 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:19:55 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - Connection refused (192.168.68.61:50955)

14:20:15 [Debug] [PlexApiClient.GenerateResponseResult:0] => Created

14:20:15 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 201

14:20:15 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:20:20 [Information] [ConfigManager.SaveConfig:0] => UserSettings were saved successfully!

14:20:20 [Information] [ConfigManager.SaveConfig:0] => Something failed but no errors were available in the result

14:20:30 [Debug] [PlexApiClient.GenerateResponseResult:0] => OK

14:20:30 [Debug] [PlexApiClient.GenerateResponseResult:0] => StatusCode - 200

14:20:30 [Debug] [PlexApiClient.GenerateResponseResult:0] => Something failed but no errors were available in the result

14:20:33 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://10.1.27.253:32500/library/sections failed with status code: 0 - A task was canceled.

14:20:33 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://192.168.0.2:32500/library/sections failed with status code: 0 - A task was canceled.

14:20:33 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:20:33 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:20:33 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - A task was canceled.

14:20:33 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - A task was canceled.

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => Request to https://redacted.redacted.redacted.net/library/sections failed with status code: 403 - '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => StatusCode - 403

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => ErrorMessage - '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => Failed to deserialize: RestSharp.RestResponse`1[PlexRipper.PlexApi.Api.LibrariesResponse]

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => Request to http://192.168.0.2:32500/library/sections failed with status code: 0 - A task was canceled.

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => StatusCode - 0

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => ErrorMessage - A task was canceled.

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => Request to http://192.168.68.61:50955/library/sections failed with status code: 0 - Connection refused (192.168.68.61:50955)

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => StatusCode - 0

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => ErrorMessage - Connection refused (192.168.68.61:50955)

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => Request to http://10.1.27.253:32500/library/sections failed with status code: 0 - A task was canceled.

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => StatusCode - 0

14:20:33 [Error] [InspectPlexServerByPlexAccountIdJob.Execute:0] => ErrorMessage - A task was canceled.

14:20:55 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:20:57 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:20:58 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:20:59 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:20:59 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:00 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:00 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:01 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:02 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:02 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:03 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:03 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://redacted:32400/identity failed with status code: 0 - A task was canceled.

14:21:03 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:21:03 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - A task was canceled.

14:21:03 [Error] [PlexServerConnectionsService.CheckAllConnectionsOfPlexServerAsync:0] => All connections to plex server with id: 5 failed to connect

14:21:04 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 1

14:21:08 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 3

14:21:12 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 3

14:21:12 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 3

14:21:13 [Error] [GetPlexServerTokenQueryHandler.Handle:0] => Could not find any authenticationToken for PlexServer with id: 3

14:22:52 [Error] [PlexApiClient.ParsePlexErrors:0] => Request to http://redacted:32400/identity failed with status code: 0 - A task was canceled.

14:22:52 [Error] [PlexApiClient.ParsePlexErrors:0] => StatusCode - 0

14:22:52 [Error] [PlexApiClient.ParsePlexErrors:0] => ErrorMessage - A task was canceled.

14:26:19 [Information] [ConfigManager.SaveConfig:0] => UserSettings were saved successfully!

14:26:19 [Information] [ConfigManager.SaveConfig:0] => Something failed but no errors were available in the result

14:26:30 [Information] [ConfigManager.SaveConfig:0] => UserSettings were saved successfully!

14:26:30 [Information] [ConfigManager.SaveConfig:0] => Something failed but no errors were available in the result
 LastChecked: 05/12/2023 14:19:16, PlexServer: null, PlexServerId: 5, PlexServerConnection: null, PlexServerConnectionId: 6, Id: 0 } in the database for 5 

14:19:22 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 0, StatusMessage: "Connection refused (192.168.68.61:50955)", LastChecked: 05/12/2023 14:19:22, PlexServer: null, PlexServerId: 7, PlexServerConnection: null, PlexServerConnectionId: 9, Id: 0 } in the database for 7 

14:19:39 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 0, StatusMessage: "Connection refused (10.1.27.253:32500)", LastChecked: 05/12/2023 14:19:39, PlexServer: null, PlexServerId: 8, PlexServerConnection: null, PlexServerConnectionId: 10, Id: 0 } in the database for 8 

14:19:39 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 0, StatusMessage: "Connection refused (10.0.0.25:32400)", LastChecked: 05/12/2023 14:19:39, PlexServer: null, PlexServerId: 3, PlexServerConnection: null, PlexServerConnectionId: 3, Id: 0 } in the database for 3 

14:19:39 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 0, StatusMessage: "Connection refused (192.168.0.2:32500)", LastChecked: 05/12/2023 14:19:39, PlexServer: null, PlexServerId: 6, PlexServerConnection: null, PlexServerConnectionId: 8, Id: 0 } in the database for 6 

14:19:45 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 0, StatusMessage: "A task was canceled.", LastChecked: 05/12/2023 14:19:45, PlexServer: null, PlexServerId: 5, PlexServerConnection: null, PlexServerConnectionId: 7, Id: 0 } in the database for 5 

14:19:45 [Information] [PlexLibraryService.RetrieveAllAccessibleLibrariesAsync:274] => Retrieving accessible Plex libraries for Plex account with id 1

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 1 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "http://72.21.17.21:28313/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://72.21.17.21:28313/library/sections?X-Plex-Token=McGs9VVxjA4Lfe4_cfiR

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 2 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "http://72.21.17.44:12061/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://72.21.17.44:12061/library/sections?X-Plex-Token=McGs9VVxjA4Lfe4_cfiR

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 3 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "http://68.60.104.93:24148/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://68.60.104.93:24148/library/sections?X-Plex-Token=tyJsh2spB_56WdVwsgEs

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 4 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "http://72.21.17.18:23778/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://72.21.17.18:23778/library/sections?X-Plex-Token=xnfPDwhP3jirpM1Rafcy

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 5 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "https://redacted.redacted.redacted.net/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: https://redacted.redacted.redacted.net/library/sections?X-Plex-Token=tJrSsEt_XsVHzBTYTe4S

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 6 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "http://192.168.0.2:32500/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://192.168.0.2:32500/library/sections?X-Plex-Token=

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 7 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "http://192.168.68.61:50955/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://192.168.68.61:50955/library/sections?X-Plex-Token=

14:19:45 [Debug] [PlexLibraryService.RetrieveAccessibleLibrariesAsync:256] => Retrieving accessible PlexLibraries for plexServer with id: 8 by using Plex account with id 1

14:19:45 [Debug] [PlexApi.GetLibrarySectionsAsync:125] => GetLibrarySectionsAsync => "http://10.1.27.253:32500/library/sections"

14:19:45 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://10.1.27.253:32500/library/sections?X-Plex-Token=

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:45] => Starting the add or update process of the PlexLibraries for PlexServer: "Mercury"

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:45] => Starting the add or update process of the PlexLibraries for PlexServer: "Stardust"

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:45] => Starting the add or update process of the PlexLibraries for PlexServer: "Spooky V2"

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Concerts (Music Media)" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Concert // Music DVDs" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "TV Shows" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Documentaries" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Extreme Horror // Real" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Audiobooks" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Movies" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Music" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Movies" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Skate" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Anime" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Wrestling" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "TV Shows" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Anime" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Masterclass" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Study Material" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "TV Shows" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Hope 2002" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Hope 2020" to the database

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:73] => Adding or updating the PlexAccount ("redacted") association with PlexLibraries now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "TV Shows" of PlexServer: "Stardust" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Audiobooks" of PlexServer: "Stardust" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Music" of PlexServer: "Stardust" creating one now with the authentication token now

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:73] => Adding or updating the PlexAccount ("redacted") association with PlexLibraries now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Concert // Music DVDs" of PlexServer: "Spooky V2" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Extreme Horror // Real" of PlexServer: "Spooky V2" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Movies" of PlexServer: "Spooky V2" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Anime" of PlexServer: "Spooky V2" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "TV Shows" of PlexServer: "Spooky V2" creating one now with the authentication token now

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:73] => Adding or updating the PlexAccount ("redacted") association with PlexLibraries now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Concerts (Music Media)" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Documentaries" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Movies" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Skate" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Wrestling" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Anime" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Masterclass" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Study Material" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "TV Shows" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Hope 2002" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Hope 2020" of PlexServer: "Mercury" creating one now with the authentication token now

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:45] => Starting the add or update process of the PlexLibraries for PlexServer: "redacted"

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Movies" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "Anime" to the database

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:56] => Adding "plexLibrary" "TV Shows" to the database

14:19:46 [Information] [AddOrUpdatePlexLibrariesCommandHandler.Handle:73] => Adding or updating the PlexAccount ("redacted") association with PlexLibraries now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Movies" of PlexServer: "redacted" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "Anime" of PlexServer: "redacted" creating one now with the authentication token now

14:19:46 [Debug] [AddOrUpdatePlexLibrariesCommandHandler.Handle:88] => PlexAccount: "redacted" does not have an association with PlexLibrary: "TV Shows" of PlexServer: "redacted" creating one now with the authentication token now

14:19:49 [Warning] [PlexApiService.GetLibrarySectionsAsync:165] => Plex server with name: "redacted d" returned no libraries

14:19:55 [Warning] [PlexApiService.GetLibrarySectionsAsync:165] => Plex server with name: "taiga desk" returned no libraries

14:20:13 [Debug] [PlexAccountService.GetPlexAccountAsync:146] => Found an Account with the id: 1

14:20:13 [Debug] [PlexAccountService.GetPlexAccountAsync:146] => Found an Account with the id: 1

14:20:14 [Debug] [PlexApi.PlexSignInAsync:33] => Requesting PlexToken for account "redacted"

14:20:14 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: https://plex.tv/api/v2/users/signin?X-Plex-Product=Plex Web&X-Plex-Client-Identifier=Chrome&X-Plex-Platform=Chrome&X-Plex-Platform-Version=87.0&X-Plex-Sync-Version=2&X-Plex-Features=external-media%2cindirect-media&X-Plex-Model=bundled&X-Plex-Device=Windows&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=1673x1297%2c2560x1440&X-Plex-Language=en

14:20:15 [Information] [PlexApiService.PlexSignInAsync:295] => Successfully retrieved the PlexAccount data for user "redacted" from the PlexApi

14:20:15 [Debug] [PlexAccountService.ValidatePlexAccountAsync:55] => The PlexAccount with displayName "redacted" has been validated

14:20:20 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:162] => Returning all accounts

14:20:20 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

14:20:20 [Information] [ConfigManager.SaveConfig:120] => Saving user config settings now

14:20:30 [Information] [PlexApiService.GetPlexApiTokenAsync:324] => Plex AuthToken was still valid, using from local DB

14:20:30 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: 

14:20:30 [Information] [AddOrUpdatePlexServersCommandHandler.Handle:38] => Adding or updating 1 PlexServers now

14:20:30 [Debug] [AddOrUpdatePlexServersCommandHandler.Handle:50] => Updating PlexServer with id: 5 in the database

14:20:30 [Debug] [AddOrUpdatePlexServersCommandHandler.SyncPlexServerConnections:94] => Updating connection "[ServerId: 5 - Url: https://redacted.redacted.redacted.net - PortFix: True - Local: False - Relay: False - IPv6: False]" from "redacted d" in the database

14:20:30 [Debug] [AddOrUpdatePlexServersCommandHandler.SyncPlexServerConnections:94] => Updating connection "[ServerId: 5 - Url: http://redacted:32400 - PortFix: False - Local: True - Relay: False - IPv6: False]" from "redacted d" in the database

14:20:30 [Information] [AddOrUpdatePlexAccountServersCommandHandler.Handle:29] => Adding or updating the PlexAccount association with PlexServers now

14:20:30 [Debug] [AddOrUpdatePlexAccountServersCommandHandler.Handle:66] => PlexAccount "redacted" already has an association with PlexServer: "redacted d", updating authentication token now

14:20:30 [Information] [AddOrUpdatePlexAccountServersCommandHandler.Handle:73] => Checking if there are any PlexServers this PlexAccount has no access to anymore

14:20:30 [Warning] [AddOrUpdatePlexAccountServersCommandHandler.Handle:86] => PlexAccount "redacted" has lost access to "Mercury"!

14:20:30 [Warning] [AddOrUpdatePlexAccountServersCommandHandler.Handle:86] => PlexAccount "redacted" has lost access to "Stardust"!

14:20:30 [Warning] [AddOrUpdatePlexAccountServersCommandHandler.Handle:86] => PlexAccount "redacted" has lost access to "Spooky V2"!

14:20:30 [Warning] [AddOrUpdatePlexAccountServersCommandHandler.Handle:86] => PlexAccount "redacted" has lost access to "redacted"!

14:20:30 [Warning] [AddOrUpdatePlexAccountServersCommandHandler.Handle:86] => PlexAccount "redacted" has lost access to "iPhone"!

14:20:30 [Warning] [AddOrUpdatePlexAccountServersCommandHandler.Handle:86] => PlexAccount "redacted" has lost access to "taiga desk"!

14:20:30 [Warning] [AddOrUpdatePlexAccountServersCommandHandler.Handle:86] => PlexAccount "redacted" has lost access to "IT QUINN"!

14:20:30 [Debug] [PlexApi.GetServerStatusAsync:69] => Requesting PlexServerStatus for "https://redacted.redacted.redacted.net"

14:20:30 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: https://redacted.redacted.redacted.net/identity

14:20:30 [Debug] [PlexApi.GetServerStatusAsync:69] => Requesting PlexServerStatus for "http://redacted:32400"

14:20:30 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://redacted:32400/identity

14:20:33 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 403, StatusMessage: "'<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.", LastChecked: 05/12/2023 14:20:33, PlexServer: null, PlexServerId: 5, PlexServerConnection: null, PlexServerConnectionId: 6, Id: 0 } in the database for 5 

14:20:33 [Warning] [PlexApiService.GetLibrarySectionsAsync:165] => Plex server with name: "IT QUINN" returned no libraries

14:20:33 [Warning] [PlexApiService.GetLibrarySectionsAsync:165] => Plex server with name: "iPhone" returned no libraries

14:20:55 [Information] [PlexLibraryService.GetPlexLibraryAsync:197] => PlexLibrary with id 9 has no media, forcing refresh from the PlexApi

14:20:57 [Information] [PlexLibraryService.GetPlexLibraryAsync:197] => PlexLibrary with id 13 has no media, forcing refresh from the PlexApi

14:21:02 [Information] [PlexLibraryService.GetPlexLibraryAsync:197] => PlexLibrary with id 12 has no media, forcing refresh from the PlexApi

14:21:03 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 0, StatusMessage: "A task was canceled.", LastChecked: 05/12/2023 14:21:03, PlexServer: null, PlexServerId: 5, PlexServerConnection: null, PlexServerConnectionId: 7, Id: 0 } in the database for 5 

14:21:04 [Debug] [PlexAccountService.GetAllPlexAccountsAsync:162] => Returning all accounts

14:21:04 [Debug] [PlexAccountController.GetAllAccounts:38] => Returned 1 accounts

14:21:04 [Information] [PlexLibraryService.GetPlexLibraryAsync:197] => PlexLibrary with id 12 has no media, forcing refresh from the PlexApi

14:21:08 [Information] [PlexLibraryService.GetPlexLibraryAsync:197] => PlexLibrary with id 8 has no media, forcing refresh from the PlexApi

14:22:19 [Debug] [PlexApi.GetServerStatusAsync:69] => Requesting PlexServerStatus for "http://redacted:32400"

14:22:19 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: http://redacted:32400/identity

14:22:21 [Debug] [PlexApi.GetServerStatusAsync:69] => Requesting PlexServerStatus for "https://redacted.redacted.redacted.net"

14:22:21 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: https://redacted.redacted.redacted.net/identity

14:22:25 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 403, StatusMessage: "'<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.", LastChecked: 05/12/2023 14:22:25, PlexServer: null, PlexServerId: 5, PlexServerConnection: null, PlexServerConnectionId: 6, Id: 0 } in the database for 5 

14:22:28 [Debug] [SetPreferredPlexServerConnectionCommandHandler.Handle:27] => Setting the preferred "PlexServerConnection" for "plexServerId": 5

14:22:52 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 0, StatusMessage: "A task was canceled.", LastChecked: 05/12/2023 14:22:52, PlexServer: null, PlexServerId: 5, PlexServerConnection: null, PlexServerConnectionId: 7, Id: 0 } in the database for 5 

14:23:36 [Debug] [SetPreferredPlexServerConnectionCommandHandler.Handle:27] => Setting the preferred "PlexServerConnection" for "plexServerId": 5

14:23:44 [Debug] [PlexApi.GetServerStatusAsync:69] => Requesting PlexServerStatus for "https://redacted.redacted.redacted.net"

14:23:44 [Debug] [PlexApiClient.SendRequestAsync:42] => Sending request to: https://redacted.redacted.redacted.net/identity

14:23:48 [Debug] [CreatePlexServerStatusCommandHandler.Handle:27] => Creating a new PlexServerStatus PlexServerStatus { IsSuccessful: False, StatusCode: 403, StatusMessage: "'<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.", LastChecked: 05/12/2023 14:23:48, PlexServer: null, PlexServerId: 5, PlexServerConnection: null, PlexServerConnectionId: 6, Id: 0 } in the database for 5 

14:24:07 [Debug] [SyncServerJob.Execute:40] => Executing job: {SyncServerJobName)} for {PlexServerName)}: "SyncServerJob"

14:24:07 [Information] [SyncServerJob.Execute:64] => PlexServer "redacted d" with id 5 has no libraries to sync

14:26:19 [Information] [ConfigManager.SaveConfig:120] => Saving user config settings now

14:26:30 [Information] [ConfigManager.SaveConfig:120] => Saving user config settings now
ctTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:20:00 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://10.1.27.253:32500/library/sections" failed, waiting 1 seconds before retrying again (1 of 2)

14:20:00 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://192.168.0.2:32500/library/sections" failed, waiting 1 seconds before retrying again (1 of 2)

14:20:00 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:20:00 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:20:00 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:20:00 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:20:16 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://192.168.0.2:32500/library/sections" failed, waiting 2 seconds before retrying again (2 of 2)

14:20:16 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://10.1.27.253:32500/library/sections" failed, waiting 2 seconds before retrying again (2 of 2)

14:20:16 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:20:16 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:20:16 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:20:16 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:20:30 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "https://redacted.redacted.redacted.net/identity" failed, waiting 1 seconds before retrying again (1 of 2)

14:20:30 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:20:30 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at RestSharp.Serializers.Json.SystemTextJsonSerializer.Deserialize[T](RestResponse response)
   at RestSharp.RestClient.Deserialize[T](RestRequest request, RestResponse raw)

14:20:31 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "https://redacted.redacted.redacted.net/identity" failed, waiting 2 seconds before retrying again (2 of 2)

14:20:31 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:20:31 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at RestSharp.Serializers.Json.SystemTextJsonSerializer.Deserialize[T](RestResponse response)
   at RestSharp.RestClient.Deserialize[T](RestRequest request, RestResponse raw)

14:20:40 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://redacted:32400/identity" failed, waiting 1 seconds before retrying again (1 of 2)

14:20:40 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:20:40 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:20:51 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://redacted:32400/identity" failed, waiting 2 seconds before retrying again (2 of 2)

14:20:51 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:20:51 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:22:22 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "https://redacted.redacted.redacted.net/identity" failed, waiting 1 seconds before retrying again (1 of 2)

14:22:22 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:22:22 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at RestSharp.Serializers.Json.SystemTextJsonSerializer.Deserialize[T](RestResponse response)
   at RestSharp.RestClient.Deserialize[T](RestRequest request, RestResponse raw)

14:22:23 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "https://redacted.redacted.redacted.net/identity" failed, waiting 2 seconds before retrying again (2 of 2)

14:22:23 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:22:23 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at RestSharp.Serializers.Json.SystemTextJsonSerializer.Deserialize[T](RestResponse response)
   at RestSharp.RestClient.Deserialize[T](RestRequest request, RestResponse raw)

14:22:29 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://redacted:32400/identity" failed, waiting 1 seconds before retrying again (1 of 2)

14:22:29 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:22:29 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:22:40 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "http://redacted:32400/identity" failed, waiting 2 seconds before retrying again (2 of 2)

14:22:40 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => A task was canceled.

14:22:40 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)

14:23:45 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "https://redacted.redacted.redacted.net/identity" failed, waiting 1 seconds before retrying again (1 of 2)

14:23:45 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:23:45 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at RestSharp.Serializers.Json.SystemTextJsonSerializer.Deserialize[T](RestResponse response)
   at RestSharp.RestClient.Deserialize[T](RestRequest request, RestResponse raw)

14:23:46 [Warning] [RestSharpExtensions.SendRequestWithPolly:34] => Request: "https://redacted.redacted.redacted.net/identity" failed, waiting 2 seconds before retrying again (2 of 2)

14:23:46 [Error] [RestSharpExtensions.SendRequestWithPolly:40] => '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

14:23:46 [Error] [RestSharpExtensions.SendRequestWithPolly:41] => Exception
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at RestSharp.Serializers.Json.SystemTextJsonSerializer.Deserialize[T](RestResponse response)
   at RestSharp.RestClient.Deserialize[T](RestRequest request, RestResponse raw)
@qrenz qrenz added the bug Something isn't working label May 12, 2023
@JasonLandbridge
Copy link
Collaborator

Hey sorry for the late response, I see a lot of things going wrong here, could you send your login details to plexripper@protonmail.com so I can fix this? Thanks!

@bslatyer
Copy link

I'm running v0.11.1 on a fresh instance and am having the same issue as well where all my servers except one are unavailable.

They all seem to have the error code Server object was invalid

Happy to hand over login details if required.

@JasonLandbridge
Copy link
Collaborator

@bslatyer , yeah that would be great! In order to fix anything I first need to see it go wrong on my own machine. Could you send your login details to plexripper@protonmail.com so I can fix this? Thanks!

@bslatyer
Copy link

Hey @JasonLandbridge,

No worries - I've just sent those details across to you now.

@JasonLandbridge
Copy link
Collaborator

JasonLandbridge commented May 29, 2023

@qrenz , I just noticed the problem you ran into. It seems the page needs to be refreshed before the updated libraries show up. Which is a bug so I will fix this.

@bslatyer Thanks again for this, you have 2 servers right? The one that starts with a K works now, and the one that starts with a T is offline? This could be an issue with PlexRipper so I'm currently investigating this

@bslatyer
Copy link

Hey @JasonLandbridge

No worries - the K server didn't work on the previous version, but now does.

The T server hasn't ever worked.

I have a 3rd server but that works fine on another account.

@JasonLandbridge
Copy link
Collaborator

Ah okay, then I will leave this issue open until I have fixed the original problem

@bslatyer
Copy link

Hey @JasonLandbridge,

Did you have any updates on this yet?

@JasonLandbridge
Copy link
Collaborator

I "think" that I have been able to fix this and it should be available in the latest release v0.13.0.

This is most likely related to #237 where Plex servers wouldn't work if the connections is HTTPS

Closing this issue now but let me know if this is still an issue

@eugenvontrotta
Copy link

I have the same problem with v0.14.0, running on Docker Desktop v4.29.0 on MacOS. Any suggestions on how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants