Plex Android app not connecting to custom server url

Server Version#: 1.40.5.8854
Player Version#: 10.19.2.1191 (959466097)


Update: I have this working now by making two changes that ONLY the Plex Android app requires - PlexAmp, browser connection, iPad apps, Alexa, etc all work with or without the changes below.

  1. I made the Plex server’s public hostname via the Cloudflare tunnel shorter and removed hyphens and underscores from it - unsure if both changes are required and I’m done playing with it, now it works.

  2. I configured the hostname service type to be HTTP instead of HTTPS.


Leaving the post here for now in the hope of a dev looking into why it’s just this one app that works differently.




I have my Mac Plex server accessible via a Cloudflare tunnel and the url is set in the network>custom url field.

The app logs show a connection atempt that fails. However, no such connection traffic is logged at the tunnel.

Fetching [method:GET] https://xxxxxxxxxx.yyy.zzz:443/media/providers?includePreferences=1&X-Plex-Token=...m5or&X-Plex-Language=en-gb

Fetching [method:GET] http://192.168.10.10:32400/media/providers?includePreferences=1&X-Plex-Token=...m5or&X-Plex-Language=en-gb

[MediaProvidersApiClient] server-name Couldn’t fetch providers. Result: Error (null)

08-14 14:19:29.722 e: Error fetching http://xxxxxxxxxx.yyy.zzz:443/media/providers?includePreferences=1&X-Plex-Token=...l>

On the same device and internet connection:

  • PlexAmp connect to the same custom url with no issues.
  • app.plex.tv in browser: same - no issues.
  • The custom server url in browser connect to server correctly.
  • The ‘error fetching’ url above returns the vailid xml data, when appended with correct token.

If I share the same internet connection from Android with a hotspot:

  • iPad Plex app - connects fine.
  • app.plex.tv - fine.
  • custom server url in browser - fine.
  • etc

Custom URL work in PC browser, also.

All these other working methods are logging the requests on Cloudflare, and the resulting success status code.

If I add the server’s Tailscale IP:port in custom url - also connects fine on Android app.

It seems like the app tries, or at least claims, to connect via the custom url but the attempt is not reaching Cloudflare, for some reason.

It has worked in the past, then stopped, then worked again, now stopped once more.

I don’t understand why it’s just the Plex Android app that isn’t working and other methods are working okay.

Any ideas?

Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.