PlexExternalPlayer icon indicating copy to clipboard operation
PlexExternalPlayer copied to clipboard

Error getting metadata from / Could not find authentication info

Open hexx1001 opened this issue 4 years ago • 9 comments

I have tried searching for the solution but have not been able to find one. I am able to get this to work only on my admin account but have not been successful with any of my managed users. This seems like the closest issue to my experience https://github.com/Kayomani/PlexExternalPlayer/issues/6#issue-152545492 but I am not able to find any solution from there.

Here are the two error messages Error getting metadata from http://192.168.1.138:32400/library/metadata/86350?includeConcerts=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=1&includeChapters=1&asyncCheckFiles=0&asyncRefreshAnalysis=0&asyncRefreshLocalMediaAgent=0Error:undefined

Could not find authentication info

Environment PlexMediaServer-1.21.3.4021-5a0a3e4b2-x86_64 on Synology NAS Plex External Agent 1.12 Tampermonkey w Plex External Player 1.18 (modified to replace path with mapped drive)

hexx1001 avatar Feb 11 '21 03:02 hexx1001

Fixed in latest version. Please update your script to 1.21

1LucKyLuke avatar Feb 12 '21 06:02 1LucKyLuke

been using 1.21 since it was released but all of a sudden getting this same exact error again

JFizDaWiz avatar Apr 28 '21 06:04 JFizDaWiz

@JFizDaWiz Is the url in the metadata error message showing the server ip or undefined/library... ? If it shows undefined, there is an issue with calling the Plex Api for getting all to your user known servers. In that case you can try circumventing it by hardcoding serverId + url into the script as described here.

1LucKyLuke avatar May 07 '21 16:05 1LucKyLuke

@JFizDaWiz Is the url in the metadata error message showing the server ip or undefined/library... ? If it shows undefined, there is an issue with calling the Plex Api for getting all to your user known servers. In that case you can try circumventing it by hardcoding serverId + url into the script as described here.

Shows my IP 192.168.50.218:32400

JFizDaWiz avatar May 07 '21 19:05 JFizDaWiz

Ok, so then for some reason it is not finding the correct access token.

  • What browser are you using?
  • Which Plex version?
  • What OS is your Plex running on?
  • Is your Plex server running on the same machine you're trying to access it from?
  • Are you accessing you server via the local web ui or app.plex.tv?
  • Does this happen on your main user or managed users?

1LucKyLuke avatar May 08 '21 11:05 1LucKyLuke

Ok, so then for some reason it is not finding the correct access token.

* What browser are you using?

* Which Plex version?

* What OS is your Plex running on?

* Is your Plex server running on the same machine you're trying to access it from?

* Are you accessing you server via the local web ui or app.plex.tv?

* Does this happen on your main user or managed users?

Firefox 88.0.1 Plex 1.22.3.4392 Windows 10 64bit Same machine local web UI, same on app.plex.tv as well only have 1 user

JFizDaWiz avatar May 10 '21 05:05 JFizDaWiz

Do you happen to have multiple servers? Cause I did find an issue with the token search when there are multiple servers available for a user. It's fixed in #51 but the PR is waiting to be merged.

In the meantime you can grab the update version from my fork. Maybe it fixes your issue.

1LucKyLuke avatar May 10 '21 08:05 1LucKyLuke

Merged it :)

Kayomani avatar May 10 '21 09:05 Kayomani

thank you so much!

JFizDaWiz avatar May 10 '21 15:05 JFizDaWiz