Closed Andy2244 closed 2 years ago
Created https://github.com/jellyfin/jellyfin-sdk-kotlin/issues/448 to replace this issue. Will look into it for 0.14.1.
For now, just make sure your https configuration is correct.
For now, just make sure your https configuration is correct.
What you mean? I have https disabled on the server and the client should use the normal http/8096 address?
So the client gets just the http server adress via:
LocalServerDiscovery org.jellyfin.androidtv.debug D Received message "{"Address":"http://192.168.1.101:8096","Id":"91a8a4347a3044df8144db5378c1c9a2","Name":"MEDIAPC","EndpointAddress":null}"
Yet in addServer() via val addressCandidates = jellyfin.discovery.getAddressCandidates(address)
It adds the https candidate as first entry, which than crashes in jellyfin.discovery.getRecommendedServers()
via:
Recommende...rDiscovery org.jellyfin.androidtv.debug I Requesting public system info for https://192.168.1.101:8096
KtorClient org.jellyfin.androidtv.debug I GET https://192.168.1.101:8096/System/Info/Public
So why are we trying a https connection here, if the server already send the configured and valid http server address?
I tested the app again and now I understand the issue. Looks like the RecommendedServerDiscovery always crashes due to the SSL error. Working on a fix for 0.14.0 now.
Fixed on both master and release branch
cool thanks
Describe the bug
The root cause is https://github.com/jellyfin/jellyfin-androidtv/commit/777657709df93222f22f70ef4a2c3e30ed6299e3 So reverting this commit, avoids the crash.
Logs
Application version
0.14
Where did you install the app from?
Sideloaded APK
Device information
Zidoo Z9X
Android version
Android 9
Jellyfin server version
10.8.1-3