Open CED0001 opened 10 months ago
Looks like this issue stems from the following http call: [GET] https://plex.tv/pms/servers.xml
(with plex token in the header).
This gets called in PlexAccountClient.GetAccountServersAsync()
. Plex then returns http scheme which won't work for future calls like the one used in Servers()
method.
I have yet to find the Plex setting that edits this. (If it even exists)
I'm considering adding some sort of override to this method (GetAccountServersAsync()
), so that the scheme is set manually, and the Servers() method doesn't crash
Describe the bug When running the AccountServerContainer.Servers() method, my server only gets returned if the plex > settings > network > secure connections setting is set to "preferred" in stead of "required"
To Reproduce Steps to reproduce the behavior:
Go to plex > settings > network > secure connections And set the secure connection to required:
In your code, run this:
var serversSumm = await account.ServerSummaries(); //always returns 1 server (which is as expected ✅) var servers = await account.Servers(); //returns 0 servers when secure connection is required, returns 1 server when "preferred"