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

Latest v. Plex Server, running v0.7.4 is running slow w. remote servers not loading/playing #608

Open
mcsestak opened this issue Oct 7, 2021 · 21 comments

Comments

@mcsestak
Copy link

mcsestak commented Oct 7, 2021

Hardware: Apple TV 3rd Gen - v7.8
Software: PlexConnect v0.7.4 - Plex Server 1.24.3.5033

LAN playback of videos works fine, but there is suddenly a major lag-time in accessing menus and videos from a Remote Server connection.

Movie thumbnails on the remote server do not load and videos do not play when accessing from the Apple TV. The remote server content plays fine when accessed through the iPhone Plex app.

@moodyblue
Copy link
Collaborator

Can you please share one of your libraries with moody_blue so that I can test ?

@dino0401
Copy link

dino0401 commented Oct 7, 2021

Exactly same problem with @mcsestak . (same Hardware and Software)

Even though 'Strict TLS configuration enabled' is not checked, following problem happens after updating plex server.
"You can't use remote libraries (owned or shared) hosted in a PMS that has Strict TLS configuration enabled (access is permited, thumbnails and fanart will not be shown, and play fails)"

@moodyblue
Copy link
Collaborator

moodyblue commented Oct 7, 2021

@dino0401 When Strict TLS is checked on the PMS side PlexConnect can't use its libraries. It's a python2 limitation. You have two options:

  1. Disable Strict TLS
  2. Wait for the upcoming PlexConnect version, based in python3, and hope that it can address this problem

@dino0401
Copy link

dino0401 commented Oct 7, 2021

@dino0401 When Strict TLS is checked on the PMS side PlexConnect can't use its libraries. It's a python2 limitation. You have two options:

  1. Disable Strict TLS
  2. Wait for the upcoming PlexConnect version, based in python3, and hope that it can address this problem

Since No 1 doesn't work any more for the recent PMS Server, I've no choice but to wait next version of PlexConnect.
If I can ask the PMS owner to downgrade PMS, It could be temporary 3rd option.

Thanks for your reply.

@moodyblue
Copy link
Collaborator

moodyblue commented Oct 7, 2021

Since No 1 doesn't work any more for the recent PMS Server,

I'm using PMS 1.24.4.5081 (to my knowledge the latest version) and the option to enable/disable TLS is still there. I'm able to play my media (I'm logged in to plex.tv to use plex pass) without any problem.

@dino0401
Copy link

dino0401 commented Oct 7, 2021

Since No 1 doesn't work any more for the recent PMS Server,

I'm using PMS 1.24.4.5081 (to my knowledge the latest version) and the option to enable/disable TLS is still there. I'm able to play my media (I'm logged in to plex.tv to use plex pass) without any problem.

Oh really?, does it work for remote play? it only happens when I connect to remote server.
The latest PMS version for Synology and QNAP is 1.24.3.5033. This problem started to happen with this version.
There's 'Strict TLS' option in 5033, but it doesn't work.

I think there's a chance it could be fixed in the next version for Synology and QNAP like yours, 5081.

@moodyblue
Copy link
Collaborator

moodyblue commented Oct 7, 2021

@dino0401 I do not share my libraries and nobody shares their libraries with me, so I can't test if my PlexConnect can access remote libraries, or if a remote PlexConnect can share mine. But I can open one of my libraries for testing, if you want, and test my PlexConnect with one of your libraries, if you allow me (userid moody_blue)

@dino0401
Copy link

dino0401 commented Oct 7, 2021

@moodyblue I've shared one of my libraries with you. You can test if it show images and plays well. My PMS's version is 1.24.3.5033 running on Synology. My id using PlexConnect is 'jj203'. If you share one of your libraries for testing, I'll do it and let you know how it works.

@moodyblue
Copy link
Collaborator

moodyblue commented Oct 8, 2021

@dino0401 Thanks. PlexWeb can play your library but PlexConnect can't (I see fanart, but posters are black and play gives an error). I've shared one of my libraries with jj203 so that you can test on your side.

Are you saying that this problem started with PMS 1.24.3.5033 ?

@dino0401
Copy link

dino0401 commented Oct 8, 2021

@dino0401 Thanks. PlexWeb can play your library but PlexConnect can't (I see fanart, but posters are black and play gives an error). I've shared one of my libraries with jj203 so that you can test on your side.

Are you saying that this problem started with PMS 1.24.3.5033 ?

I tested yours and it's same here. No problem with Web, but no poster images and no playing with PlexConnect.
I guess this problem started less than 10 days ago, right after updating to latest 1.24.3.5033.
Before then, it had no problems.

@moodyblue
Copy link
Collaborator

moodyblue commented Oct 8, 2021

I've installed PMS 1.24.2.4973, can you pls test if your access is ok ? You may need to reboot the ATV in order to clear the cache.

@dino0401
Copy link

dino0401 commented Oct 8, 2021

I've installed PMS 1.24.2.4973, can you pls test if your access is ok ? You may need to reboot the ATV in order to clear the cache.

I did restart ATV3 and PlexConnect. It's still same. No images, Error for playing. I can only see your library list.

I think I need to tell you something else. My PMS and PlexConnect-0.7.4 are running on Synology DSM 6.2.
Maybe around a week ago, ATV3 suddenly couldn't find remote servers.
Log showed 'certificate_verify_failed' for remote servers. I googled and found some helps to skip certification check.
I modified PlexAPI.py like following.

import ssl # added
....
ssl._create_default_https_context = ssl._create_unverified_context # added
response = urllib2.urlopen(request, timeout=20)

After I did this, PlexConnect found remote servers again but no images, no playing.

Just in case, I restored PlexAPI.py to original file and tried again, but failed even finding your server.
So now, If I don't skip certification check like above, I can't connect remote servers and see libraries.

I think this doesn't make sense because I think certification is related to python 2.7.x.
It started to happen without updating Synology OS(DSM).

I'm not sure this problem is related to certification problem.

@moodyblue
Copy link
Collaborator

Plex Inc. changed the certs, yes. What python version are you using ? I'm using 2.7.14 and I see your library.

@dino0401
Copy link

dino0401 commented Oct 8, 2021

Plex Inc. changed the certs, yes. What python version are you using ? I'm using 2.7.14 and I see your library.

Mine is 2.7.12.

@mcsestak
Copy link
Author

@moodyblue Does it seem that updating Python is the solution? Like @dino0401, I also have v2.7.12.

I see that v2.7.18 is available here:
https://www.python.org/downloads/release/python-2718/

@dlgoodr
Copy link

dlgoodr commented Oct 17, 2021

Hey, can you try my in-progress python3 fork, too? https://github.com/dlgoodr/PlexConnect/tree/py3

#607

@dino0401
Copy link

@mcsestak I updated Python on Synology to 2.7.18, but failed playing remote videos. It doesn't display poster images. Since couple weeks ago, PlexConnect only works for local servers.

@dlgoodr I've tried python3 fork with python3, but It coundn't find remote servers. It found out local servers but failed to connect. It means it only shows local server's library names but fails to enter into libraries.

I'm using ATV3 + Synology DSM 6.2.3(local, PlexConnect & Plex Media Server)

@dlgoodr
Copy link

dlgoodr commented Oct 17, 2021

K. I'll have to stand up a second server to test that case.

@dlgoodr
Copy link

dlgoodr commented Oct 17, 2021

Oh - have you tried the py3 branch in the last 12 hours? I only just fixed finding servers when you log in.

@dlgoodr
Copy link

dlgoodr commented Oct 17, 2021

stood up a second Plex server on my LAN, both were discovered.
let's see how plex on a t2.micro works 😀

@mcsestak
Copy link
Author

mcsestak commented Nov 9, 2021

@dlgoodr @moodyblue
I noticed in another thread - izznogooood/docker-plexconnect#6 (comment)
@navhawk80 mentioned that upgrading Python to 2.7.18 might fix the issue? Just curious if you've tried this already. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants