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

Plex Broken #389

Open
2 tasks
albertescriche opened this issue Dec 3, 2023 · 9 comments
Open
2 tasks

Plex Broken #389

albertescriche opened this issue Dec 3, 2023 · 9 comments

Comments

@albertescriche
Copy link

Description: Plex is not loading sending this error,

Looks like after urllib3 update there-s a discrepancy between connection and connectionpool

File "C:\Users\user\AppData\Roaming\Kodi\addons\script.plex\lib_included_packages\plexnet\asyncadapter.py", line 9, in
from requests.packages.urllib3.connectionpool import VerifiedHTTPSConnection
ImportError: cannot import name 'VerifiedHTTPSConnection' from 'urllib3.connectionpool' (C:\Users\albes\AppData\Roaming\Kodi\addons\script.module.urllib3\lib\urllib3\connectionpool.py)

Details:

  • Add-on version: 3.5
  • Kodi version: 20.2
  • OS Platform: windows
  • Hardware: nuc

Checklist

  • I have included a link to a log (or at the very least a link to a forum post with a log) from a session that had the issue
  • I have added appropriate GitHub labels
@b-ryan
Copy link

b-ryan commented Dec 4, 2023

Same issue. plex-for-kodi hasn't updated in awhile, so something else must have updated right? I'm wondering if I can manually roll back a package somewhere.

@b-ryan
Copy link

b-ryan commented Dec 4, 2023

Ok I hacked a fix. I don't know the implications of doing this, but hey.. it's working for me. I first went into the add-ons interface for Kodi and disabled automated updates for the urllib3 add-on. Then I ssh'd into my Kodi box and did the following:

cd /storage/.kodi/addons/script.module.urllib3/lib
mv urllib3 urllib3.backup # make a backup of the code in case things go wrong
wget https://github.com/urllib3/urllib3/archive/refs/tags/1.26.18.tar.gz # download the code for urllib3 version 1.26.18
tar xzvf 1.26.18.tar.gz # extract the code
mv urllib3-1.26.18/src/urllib3/ . # move the relevant portion of the urllib3 code to the right spot
rm -r 1.26.18.tar.gz urllib3-1.26.18/ # clean up the stuff we don't need

@albertescriche
Copy link
Author

albertescriche commented Dec 4, 2023

@b-ryan great idea, works for me too. thx

@anytimesoon
Copy link

Can confirm that this works. Thanks for the fix

@Barbaracus
Copy link

How to fix on Firestick?

@psarraf
Copy link

psarraf commented Dec 8, 2023

I switched to the composite add-on instead to access my plex library, which works fine. I use plex-mpv-shim (python) outside of Kodi which also depends on urllib3 and it works.

https://forum.kodi.tv/showthread.php?tid=351179

@Jezza96
Copy link

Jezza96 commented Dec 9, 2023

@b-ryan thanks for the tip. I'm using xbox series x so ssh is not as straightforward but what I did manage to do was install an old version of urllib3 using install from zip file and this repo: https://mirrors.kodi.tv/addons/nexus/script.module.urllib3/

@Barbaracus this should work for firestick too

@Generator
Copy link
Contributor

Use the Pannal fork, it's actively maintained and have this issue fixed

https://github.com/pannal/plex-for-kodi

@eastein
Copy link

eastein commented Jul 26, 2024

The Pannal fork works for me

@neo1973 neo1973 mentioned this issue Aug 20, 2024
1 task
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

8 participants