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 tile not showing details #1202

Closed
BlueCoffee34 opened this issue Aug 3, 2023 · 5 comments
Closed

Plex tile not showing details #1202

BlueCoffee34 opened this issue Aug 3, 2023 · 5 comments

Comments

@BlueCoffee34
Copy link

BlueCoffee34 commented Aug 3, 2023

Api connects fine, but tile does not show details from the config. Here is a few photos if more info is needed let me know

2023-08-03 10_26_58-Heimdall - Brave
2023-08-03 10_26_23-Heimdall - Brave
2023-08-03 10_26_01-Heimdall - Brave

docker image = Linuxserver.io version:- v2.5.6-ls225 Build-date:- 2023-07-28T18:28:31+00:00

@Djuuu
Copy link

Djuuu commented Aug 17, 2023

I worked around a similar issue, which seems related to TLS verification.

How is TLS termination in handled in your setup ? Is it only handled by Nginx Proxy, or did you also configure a custom Plex certificate ?

I found out that if you provide a "clean" proxied URL (without the 32400 Plex port), whether it be in the main "app" URL field or in the optional "config" URL field :

  • Heimdall still uses the default 32400 Plex port in live stats requests
    This likely circumvents the reverse-proxy, talking to Plex directly.
    If done using HTTPS, thins means Plex will be providing the certificate (using its default self-signed one).

  • The "skip TLS verification" toggle doesn't seem to work as intended


Example setup :

image

Here is a log extract :

"exception":"[object] (GuzzleHttp\\Exception\\RequestException(code: 0): 
cURL error 60: SSL: no alternative certificate subject name matches target host name 'plex.example.net'
(see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for 
https://plex.example.net:32400/library/onDeck?X-Plex-Token=secretsecretsecret 
at /app/www/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:211)

[stacktrace]
#0 /app/www/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(158): GuzzleHttp\\Handler\\CurlFactory::createRejection()
#1 /app/www/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(110): GuzzleHttp\\Handler\\CurlFactory::finishError()
#2 /app/www/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(47): GuzzleHttp\\Handler\\CurlFactory::finish()
#3 /app/www/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\\Handler\\CurlHandler->__invoke()
#4 /app/www/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(48): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}()
#5 /app/www/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(35): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}()
#6 /app/www/vendor/guzzlehttp/guzzle/src/Middleware.php(31): GuzzleHttp\\PrepareBodyMiddleware->__invoke()
#7 /app/www/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(71): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}()
#8 /app/www/vendor/guzzlehttp/guzzle/src/Middleware.php(61): GuzzleHttp\\RedirectMiddleware->__invoke()
#9 /app/www/vendor/guzzlehttp/guzzle/src/HandlerStack.php(75): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}()
#10 /app/www/vendor/guzzlehttp/guzzle/src/Client.php(331): GuzzleHttp\\HandlerStack->__invoke()
#11 /app/www/vendor/guzzlehttp/guzzle/src/Client.php(168): GuzzleHttp\\Client->transfer()
#12 /app/www/vendor/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\\Client->requestAsync()
#13 /app/www/app/SupportedApps.php(94): GuzzleHttp\\Client->request()
#14 /config/www/SupportedApps/Plex/Plex.php(45): App\\SupportedApps->execute()
#15 /app/www/app/Http/Controllers/ItemController.php(503): App\\SupportedApps\\Plex\\Plex->livestats()
#16 /app/www/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\ItemController->getStats()
#17 /app/www/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction()
#18 /app/www/vendor/laravel/framework/src/Illuminate/Routing/Route.php(261): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#19 /app/www/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()
#20 /app/www/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\\Routing\\Route->run()
...

Tested on version : Linuxserver.io version:- v2.5.6-ls227 Build-date:- 2023-08-11T18:28:55+00:00


To circumvent this issue, you can either :

  • use HTTP in the config URL (ex: http://plex.example.net:32400/)
  • setup your custom certificate in Plex (settings -> network)

@LinuxServer-CI
Copy link

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@EHRETic
Copy link

EHRETic commented Oct 12, 2023

Hi there,

I had the same issue but changing the config URL with http made it work.
Although this should not be considered as a fix! 😉

What can I provide you to help you solving that with HTTPS?

PS: in my environnement, I create custom certs with my own CA

@LinuxServer-CI
Copy link

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2024
@LinuxServer-CI LinuxServer-CI moved this from Non-Docker Issues to Done in Issue & PR Tracker Jan 11, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

4 participants