Plex for kodi addon stopped working

Hi Guys,
I know this is not the right place to discuss.
I just intended to inform you about this, if you would have similar issue.

So from yesterday, the Plex addon does not open, with the standard notification ‘please check the logs for errors’.

OSMC is on the latest version
Plex addon version is 0.3.5.

I experience the same with PlexMod 0.6.5+rev5 also.

I found this thread:

Plex Broken · Issue #389 · plexinc/plex-for-kodi · GitHub

Unfortunately, this workaround did not work for me, so I think I have to wait until the addon will be updated to properly work with the updated version of urllib3.

Thanks.

Same problem here! Vero4K+, latest OSMC and Plex 0.3.5.

It looks like that person was using LE so you need to change the first instruction. It worked for me although you probably also need to go into system>add-ons>manage dependencies>urllib3> and turn off auto update as well so it doesn’t update again.

osmc@VeroV:~$ cd .kodi/addons/script.module.urllib3/lib
osmc@VeroV:~/.kodi/addons/script.module.urllib3/lib$ mv urllib3 urllib3.backup
osmc@VeroV:~/.kodi/addons/script.module.urllib3/lib$ wget https://github.com/urllib3/urllib3/archive/refs/tags/1.26.18.tar.gz
--2023-12-05 01:49:54--  https://github.com/urllib3/urllib3/archive/refs/tags/1.26.18.tar.gz
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/urllib3/urllib3/tar.gz/refs/tags/1.26.18 [following]
--2023-12-05 01:49:54--  https://codeload.github.com/urllib3/urllib3/tar.gz/refs/tags/1.26.18
Resolving codeload.github.com (codeload.github.com)... 192.30.255.120
Connecting to codeload.github.com (codeload.github.com)|192.30.255.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: '1.26.18.tar.gz'

1.26.18.tar.gz                    [ <=>                                              ] 269.24K  1.71MB/s    in 0.2s

2023-12-05 01:49:55 (1.71 MB/s) - '1.26.18.tar.gz' saved [275704]

osmc@VeroV:~/.kodi/addons/script.module.urllib3/lib$ tar xzvf 1.26.18.tar.gz
urllib3-1.26.18/
urllib3-1.26.18/.coveragerc
urllib3-1.26.18/.github/
urllib3-1.26.18/.github/CODEOWNERS
urllib3-1.26.18/.github/FUNDING.yml
urllib3-1.26.18/.github/ISSUE_TEMPLATE/
urllib3-1.26.18/.github/ISSUE_TEMPLATE/01_feature_request.md
urllib3-1.26.18/.github/ISSUE_TEMPLATE/02_bug_report.md
urllib3-1.26.18/.github/ISSUE_TEMPLATE/config.yml
urllib3-1.26.18/.github/PULL_REQUEST_TEMPLATE.md
urllib3-1.26.18/.github/workflows/
urllib3-1.26.18/.github/workflows/ci.yml
urllib3-1.26.18/.github/workflows/integration.yml
urllib3-1.26.18/.github/workflows/lint.yml
urllib3-1.26.18/.github/workflows/publish.yml
urllib3-1.26.18/.gitignore
urllib3-1.26.18/.pre-commit-config.yaml
urllib3-1.26.18/.readthedocs.yml
urllib3-1.26.18/CHANGES.rst
urllib3-1.26.18/CODE_OF_CONDUCT.md
urllib3-1.26.18/LICENSE.txt
urllib3-1.26.18/MANIFEST.in
urllib3-1.26.18/README.rst
urllib3-1.26.18/ci/
urllib3-1.26.18/ci/deploy.sh
urllib3-1.26.18/ci/run_tests.sh
urllib3-1.26.18/dev-requirements.txt
urllib3-1.26.18/docs/
urllib3-1.26.18/docs/Makefile
urllib3-1.26.18/docs/_static/
urllib3-1.26.18/docs/_static/banner.svg
urllib3-1.26.18/docs/_static/dark-logo.svg
urllib3-1.26.18/docs/advanced-usage.rst
urllib3-1.26.18/docs/conf.py
urllib3-1.26.18/docs/contributing.rst
urllib3-1.26.18/docs/images/
urllib3-1.26.18/docs/images/demo-button.png
urllib3-1.26.18/docs/images/favicon.png
urllib3-1.26.18/docs/images/learn-more-button.png
urllib3-1.26.18/docs/images/logo.png
urllib3-1.26.18/docs/images/logo.svg
urllib3-1.26.18/docs/index.rst
urllib3-1.26.18/docs/make.bat
urllib3-1.26.18/docs/reference/
urllib3-1.26.18/docs/reference/contrib/
urllib3-1.26.18/docs/reference/contrib/appengine.rst
urllib3-1.26.18/docs/reference/contrib/index.rst
urllib3-1.26.18/docs/reference/contrib/ntlmpool.rst
urllib3-1.26.18/docs/reference/contrib/pyopenssl.rst
urllib3-1.26.18/docs/reference/contrib/securetransport.rst
urllib3-1.26.18/docs/reference/contrib/socks.rst
urllib3-1.26.18/docs/reference/index.rst
urllib3-1.26.18/docs/reference/urllib3.connection.rst
urllib3-1.26.18/docs/reference/urllib3.connectionpool.rst
urllib3-1.26.18/docs/reference/urllib3.exceptions.rst
urllib3-1.26.18/docs/reference/urllib3.fields.rst
urllib3-1.26.18/docs/reference/urllib3.poolmanager.rst
urllib3-1.26.18/docs/reference/urllib3.request.rst
urllib3-1.26.18/docs/reference/urllib3.response.rst
urllib3-1.26.18/docs/reference/urllib3.util.rst
urllib3-1.26.18/docs/requirements.txt
urllib3-1.26.18/docs/sponsors.rst
urllib3-1.26.18/docs/user-guide.rst
urllib3-1.26.18/docs/v2-roadmap.rst
urllib3-1.26.18/dummyserver/
urllib3-1.26.18/dummyserver/__init__.py
urllib3-1.26.18/dummyserver/certs/
urllib3-1.26.18/dummyserver/certs/README.rst
urllib3-1.26.18/dummyserver/certs/cacert.key
urllib3-1.26.18/dummyserver/certs/cacert.pem
urllib3-1.26.18/dummyserver/certs/server.crt
urllib3-1.26.18/dummyserver/certs/server.key
urllib3-1.26.18/dummyserver/handlers.py
urllib3-1.26.18/dummyserver/proxy.py
urllib3-1.26.18/dummyserver/server.py
urllib3-1.26.18/dummyserver/testcase.py
urllib3-1.26.18/noxfile.py
urllib3-1.26.18/setup.cfg
urllib3-1.26.18/setup.py
urllib3-1.26.18/src/
urllib3-1.26.18/src/urllib3/
urllib3-1.26.18/src/urllib3/__init__.py
urllib3-1.26.18/src/urllib3/_collections.py
urllib3-1.26.18/src/urllib3/_version.py
urllib3-1.26.18/src/urllib3/connection.py
urllib3-1.26.18/src/urllib3/connectionpool.py
urllib3-1.26.18/src/urllib3/contrib/
urllib3-1.26.18/src/urllib3/contrib/__init__.py
urllib3-1.26.18/src/urllib3/contrib/_appengine_environ.py
urllib3-1.26.18/src/urllib3/contrib/_securetransport/
urllib3-1.26.18/src/urllib3/contrib/_securetransport/__init__.py
urllib3-1.26.18/src/urllib3/contrib/_securetransport/bindings.py
urllib3-1.26.18/src/urllib3/contrib/_securetransport/low_level.py
urllib3-1.26.18/src/urllib3/contrib/appengine.py
urllib3-1.26.18/src/urllib3/contrib/ntlmpool.py
urllib3-1.26.18/src/urllib3/contrib/pyopenssl.py
urllib3-1.26.18/src/urllib3/contrib/securetransport.py
urllib3-1.26.18/src/urllib3/contrib/socks.py
urllib3-1.26.18/src/urllib3/exceptions.py
urllib3-1.26.18/src/urllib3/fields.py
urllib3-1.26.18/src/urllib3/filepost.py
urllib3-1.26.18/src/urllib3/packages/
urllib3-1.26.18/src/urllib3/packages/__init__.py
urllib3-1.26.18/src/urllib3/packages/backports/
urllib3-1.26.18/src/urllib3/packages/backports/__init__.py
urllib3-1.26.18/src/urllib3/packages/backports/makefile.py
urllib3-1.26.18/src/urllib3/packages/backports/weakref_finalize.py
urllib3-1.26.18/src/urllib3/packages/six.py
urllib3-1.26.18/src/urllib3/poolmanager.py
urllib3-1.26.18/src/urllib3/request.py
urllib3-1.26.18/src/urllib3/response.py
urllib3-1.26.18/src/urllib3/util/
urllib3-1.26.18/src/urllib3/util/__init__.py
urllib3-1.26.18/src/urllib3/util/connection.py
urllib3-1.26.18/src/urllib3/util/proxy.py
urllib3-1.26.18/src/urllib3/util/queue.py
urllib3-1.26.18/src/urllib3/util/request.py
urllib3-1.26.18/src/urllib3/util/response.py
urllib3-1.26.18/src/urllib3/util/retry.py
urllib3-1.26.18/src/urllib3/util/ssl_.py
urllib3-1.26.18/src/urllib3/util/ssl_match_hostname.py
urllib3-1.26.18/src/urllib3/util/ssltransport.py
urllib3-1.26.18/src/urllib3/util/timeout.py
urllib3-1.26.18/src/urllib3/util/url.py
urllib3-1.26.18/src/urllib3/util/wait.py
urllib3-1.26.18/test/
urllib3-1.26.18/test/__init__.py
urllib3-1.26.18/test/appengine/
urllib3-1.26.18/test/appengine/__init__.py
urllib3-1.26.18/test/appengine/conftest.py
urllib3-1.26.18/test/appengine/test_gae_manager.py
urllib3-1.26.18/test/appengine/test_urlfetch.py
urllib3-1.26.18/test/benchmark.py
urllib3-1.26.18/test/conftest.py
urllib3-1.26.18/test/contrib/
urllib3-1.26.18/test/contrib/__init__.py
urllib3-1.26.18/test/contrib/duplicate_san.pem
urllib3-1.26.18/test/contrib/test_pyopenssl.py
urllib3-1.26.18/test/contrib/test_pyopenssl_dependencies.py
urllib3-1.26.18/test/contrib/test_securetransport.py
urllib3-1.26.18/test/contrib/test_socks.py
urllib3-1.26.18/test/port_helpers.py
urllib3-1.26.18/test/socketpair_helper.py
urllib3-1.26.18/test/test_collections.py
urllib3-1.26.18/test/test_compatibility.py
urllib3-1.26.18/test/test_connection.py
urllib3-1.26.18/test/test_connectionpool.py
urllib3-1.26.18/test/test_exceptions.py
urllib3-1.26.18/test/test_fields.py
urllib3-1.26.18/test/test_filepost.py
urllib3-1.26.18/test/test_no_ssl.py
urllib3-1.26.18/test/test_poolmanager.py
urllib3-1.26.18/test/test_proxymanager.py
urllib3-1.26.18/test/test_queue_monkeypatch.py
urllib3-1.26.18/test/test_request.py
urllib3-1.26.18/test/test_response.py
urllib3-1.26.18/test/test_retry.py
urllib3-1.26.18/test/test_retry_deprecated.py
urllib3-1.26.18/test/test_ssl.py
urllib3-1.26.18/test/test_ssltransport.py
urllib3-1.26.18/test/test_util.py
urllib3-1.26.18/test/test_wait.py
urllib3-1.26.18/test/tz_stub.py
urllib3-1.26.18/test/with_dummyserver/
urllib3-1.26.18/test/with_dummyserver/__init__.py
urllib3-1.26.18/test/with_dummyserver/test_chunked_transfer.py
urllib3-1.26.18/test/with_dummyserver/test_connectionpool.py
urllib3-1.26.18/test/with_dummyserver/test_https.py
urllib3-1.26.18/test/with_dummyserver/test_no_ssl.py
urllib3-1.26.18/test/with_dummyserver/test_poolmanager.py
urllib3-1.26.18/test/with_dummyserver/test_proxy_poolmanager.py
urllib3-1.26.18/test/with_dummyserver/test_socketlevel.py
osmc@VeroV:~/.kodi/addons/script.module.urllib3/lib$ mv urllib3-1.26.18/src/urllib3/ .
osmc@VeroV:~/.kodi/addons/script.module.urllib3/lib$ rm -r 1.26.18.tar.gz urllib3-1.26.18/
osmc@VeroV:~/.kodi/addons/script.module.urllib3/lib$ systemctl restart mediacenter
osmc@VeroV:~/.kodi/addons/script.module.urllib3/lib$
1 Like

Nice!

Thank you for the step-by-step guide.

Now the Plex addon works again.

Interestingly OSMC still shows urllib3 version 2.1.0 under dependencies. (auto update is disabled) Anyway, I do not mind if it works.

Thanks again for your help!

They used a bit of a hack to keep Kodi from overwriting it as it would if they had changed the add-on version number as well. A better workaround would be to download a installable zip…
https://rsync.kodi.tv/addons/nexus/script.module.urllib3/script.module.urllib3-1.26.16+matrix.1.zip
copy that to somewhere your Kodi can access it, then in Kodi’s add-on section tell it to install from zip, choose that file, and then go into the add-on dependency screen to disable updates.

1 Like

Same issue here, glad it is not just me, I’m sorry I’m a kind of newb and do not have ssh setup on my Vero, is it possible to post some fix files here that I can put on a USB to install and or overwrite?

In the post just before yours I posted a link to an older version urllib3 in an installable zip add-on. If you download that, put it on a thumb drive, go to add-ons and install from zip (the location will be root>media>[label or uuid of your thumb drive]), if notified enable insecure add-on setting, then once that is installed go to system>add-ons>manage dependencies>urllib3> and disable auto updates. Once you do that the Plex add-on should start working as it had before.

Thanks I’ll give that a try,

Will the official files get fixed so that workarounds aren’t needed anymore?

I think the situation is that the current Plex for Kodi add-on is written to rely on functions that were removed from the newer urllib3. If Plex for Kodi is updated to use the functions that were added as replacements for the older functions that were removed then it would work with the newer urllib3. How long it will take for that to happen I have no clue. I do know there is a thread over on the Plex forum where a user has taken the Plex for Kodi add-on and updated beyond what is in Kodi’s repository and I think has even updated it to deal with this issue as well. I have not actually tried that add-on but you could if you wanted to…

Thanks I’ll give that add on a try.

So is it safe to assume that the Kodi OS and its updates have outpaced the official Plex add on and we are now pretty much in workaround/3rd party territory going forward for the official plex Add on since plex does not seem to pay to much attention to the official kodi add on.?

If you look at that post that I linked to for PlexMod the dev says he has been doing the maintenance of the “official” add-on recently. I have no insider info, and quite honestly don’t really follow too close what is going on with Plex. I maintain a Plex server for some friends and family, but only really use it for Plexamp myself. I suspect that they just don’t want to invest much outside of iOS, Android, and Android adjacent operating systems due to that being a larger market. The fact that there is a number of other add-ons that allow Plex to work with Kodi probably doesn’t make them feel quite as much pressure as well.

There is no “official” Plex for Kodi addon as it has been abandoned by Plex some years ago. The addon we use - I am talking about Plex for Kodi and NOT PlexMod - is maintained by volunteer(s) who are keeping it alive in the constantly updated environment. So basicaly the updated versions of Plex for Kodi are results of kind of reactive activites, where they try to fix the issues regarding its functionalities caused by the updates.

I just updated to the newest version and tried to run Plex Version: 0.3.5 and I just get an error that says to check the Plex log files.

I’m starting to get deja vu since Plex was giving me trouble on the Vero 4 before it decided to break.

Is Plex no longer working? How do I check the log files?

I tried uninstalling and re-installing and it says it is missing a “Plex dependency.” Any ideas?

Thanks,
Brian

I moved your post to this topic as it covers the current situation.

Well annoyingly the update pushed out yesterday seems to have even broke the Plexmod version now.
Found here

So the urllib3 update broke the official plex add on then yesterday a kodi update hit that broke the PlexMod plex app

Right now the only Plex related app I can get working is Composite.

So we may have 2 different things that are breaking 2 different Plex apps, Getting a bit frustrating to see Plex break so often and need work arounds duct tape fixes. Since all I use my Vero for is Plex I hope long term this all gets ironed out

1 Like

The Plexmod dev posted a .zip fix in that Plex thread. If you have a Vero and use Plex alot you will pretty much need the 3 plex versions installed (Composite, Plex Official, PlexMod) as it seems now any update to anything could break one or more of them at any given time.

If you would like you can use the Mezzmo Kodi addon with Plex. I do not use urllib3 with the addon so it will not have the same issues as above. It won’t sync to your Kodi library as one of those 3 does ( I lose track of which addon does which functions) but you can browse and play content from your Plex server (in DLNA mode).

It only syncs Mezzmo with Kodi’s library but supports browsing and playback with many other UPnP / DLNA servers. it could be a fallback.

Thanks,

Jeff

So, this worked for me and Plex is again working. However, I am not getting passthrough of Dolby TrueHD. Not sure what is going on. I switched to my Shield and it was working. I checked my settings in Kodi and it set to passthrough with Dolby capability checked, but processor indicates only receiving PCM.

Any ideas?

Thanks,
Brian

Did you check your Kodi audio settings and make sure you were in expert mode so all the settings were showing and that you had passthrough of TrueHD enabled and not just AC3?

It might also be worth checking that in the Plex add-ons settings you have enabled direct play and bandwidth settings that will help avoid your Plex server thinking it needs to transcode for bandwidth reasons. The only other thing that comes to mind is setting in the Plex add-on to allow insecure on local network. I’ve seen with my own boxes sometimes there is an issue without that setting that it will want to route through the internet instead of playing local which can affect how the Plex server decides to handle the stream.