Secure connection via custom URL and custom certificate not working on android

Server Version#: 1.15.3.876
Player Version#: 7.14.1.9954

Hi,

I am trying to make a secure connection from android app to server using custom URL and custom certificate. The certificate is signed by Let’s Encrypt. I can easily connect to the server using https from web browser, the certificate is valid. However when I try to connect from the android app it fails to connect to the server.

In logs I have found that it tries to connect the server but it fails:

05-09 10:50:53.414  i: [conn] Testing connection for <server-name>: https://<custom-url>:32400 (Active Pool: 0)
05-09 10:50:53.472  i: Fetching [method:GET] https://<custom-url>:32400/?X-Plex-Token=...svvN
05-09 10:50:53.486  i: Fetching [method:GET] https://<custom-url>:32400/resources?X-Plex-Token=...svvN
05-09 10:50:53.809  i: [conn] Device <server-name> response time is Infinity ms
05-09 10:50:53.809  i: [conn] Connection FAILURE <server-name> ~ Connection: https://<custom-url>:32400 token used: true types: [myplex] state: Unreachable

When I allow for insecure connections in android app it can establish a connection.

Any help would be very appreciated.

Hi wavelet, I’m experiencing the same issue. Please let me know if you have any luck.

05-09 22:15:21.867  i: [Settings] Insecure connections preference changed (Always: false)
05-09 22:15:21.873  i: [MyPlexRequest] Refreshing resources (empty token: false)
05-09 22:15:21.874  i: Fetching [method:GET] https://plex.tv/pms/resources?includeHttps=1&includeRelay=1&auth_token=...rxRs&includeExternalMedia=1
05-09 22:15:22.817  i: Added connection via MyPlex for OdlumNasmo -> Connection: http://192.168.0.250:32400 token used: true types: [myplex] state: Unknown
05-09 22:15:22.818  i: Added connection via MyPlex for OdlumNasmo -> Connection: http://odlumnasmo.myqnapcloud.com:13284 token used: true types: [myplex] state: Unknown
05-09 22:15:22.819  i: Added connection via MyPlex for OdlumNasmo -> Connection: https://odlumnasmo.myqnapcloud.com:13284 token used: true types: [myplex] state: Unknown
05-09 22:15:22.821  i: Added connection via MyPlex for OdlumNasmo -> Connection: http://70.79.194.47:13284 token used: true types: [myplex] state: Unknown
05-09 22:15:22.831  i: [device] Preparing to update reachability of a set of 2 devices (force=true). com.plexapp.plex.net.bp@3466c94
05-09 22:15:22.832  i: [device] Updating reachability of device OdlumNasmo (force=true).
05-09 22:15:22.833  i: [conn] Updating reachability for OdlumNasmo with 4 connections.
05-09 22:15:22.833  i: [conn] Testing connection for OdlumNasmo: https://odlumnasmo.myqnapcloud.com:13284 (Active Pool: 0)
05-09 22:15:22.834  i: [conn] Ignoring insecure connection for OdlumNasmo (Never): http://192.168.0.250:32400
05-09 22:15:22.834  i: [conn] Ignoring insecure connection for OdlumNasmo (Never): http://odlumnasmo.myqnapcloud.com:13284
05-09 22:15:22.835  i: [conn] Ignoring insecure connection for OdlumNasmo (Never): http://70.79.194.47:13284
05-09 22:15:22.891  i: Fetching [method:GET] https://odlumnasmo.myqnapcloud.com:13284/?X-Plex-Token=...rxRs&includeExternalMedia=1
05-09 22:15:22.906  i: Fetching [method:GET] http://odlumnasmo.myqnapcloud.com:13284/channels/all?X-Plex-Token=...rxRs&includeExternalMedia=1
05-09 22:15:22.966  i: [TypeEnabledBrain] Section Plugins (OdlumNasmo) of type Plugins calculated as visible: false
05-09 22:15:22.966  i: [TypeEnabledBrain] Completed visibility update, visible types: {Movies=false, Shows=false, Music=false, Photos=false, Live=false, HomeVideo=true}
05-09 22:15:22.981  i: [conn] Device OdlumNasmo response time is Infinity ms
05-09 22:15:22.981  i: [conn] Connection FAILURE OdlumNasmo ~ Connection: https://odlumnasmo.myqnapcloud.com:13284 token used: true types: [myplex] state: Unreachable
05-09 22:15:22.981  i: [conn] Connectivity test to OdlumNasmo completed in 0.1 SECONDS -> FAILED

I have no luck so far. I have checked the server logs and when I attempt to connect there is a following message:

CERT: incomplete TLS handshake: short read

I have no idea how to make it work. I suppose there is some problem with the app itself.

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