jellyfin / jellyfin-expo

Jellyfin Mobile for iOS
https://jellyfin.org
Mozilla Public License 2.0
311 stars 66 forks source link

IOS app: Jellyfin client doesn't connect to server #418

Open ghost opened 1 year ago

ghost commented 1 year ago

I am trying to access my Jellyfin Server through the IOS APP and i am not able to , the same happens with Swiftin app too. I have enabled the network discovery permissions in IOS settings but the app refuses to connect to the server. Through Safari i can access my server normally.

I tried with a different IPhone running ios 16.2 and again the same problem, i can access the server through web browser but not from the app.

I am using https://ip:8920 with self-signed cert from my own CA and i have no problems on Android app and Browsers only the IOS APP say "Could not connect to server" (I have imported the root cert from my CA to all my devices)

IslandUsurper commented 1 year ago

I have the same problem, with a fairly different configuration. I'm using an nginx reverse proxy, a Let's Encrypt TLS cert, and an Intel CPU in a desktop-turned-server. Interestingly, I have no problems with a browser on Linux, but I do on the iOS phone. Going to the index of the server shows the Select Sever dialog, but the one that exists is "undefined".

DolleDries commented 1 year ago

Same problem. I use port forwarding on my router. Disabled remote connect on the jellyfin user. Can connect from any browser. Except jellyfin mobile (any device).

server 10.8.10 jellyfin mobile 1.5.0

ghost commented 1 year ago

I don’t think we have quite the same problem my issue is that I am unable to access Jellyfin on IOS app over https with self signed certificate on my local area network.

For anyone interested on this problem I think I have found the root cause it may be one of many IOS limitation. The phone won’t install correctly self signed root certificates that have expiration dates above 398 days (even though you won’t get any error when trying to do so) https://support.apple.com/en-us/HT211025

DolleDries commented 1 year ago

Oh. I just use http. Is https obligated for jellyfin mobile?

On Wed, May 24, 2023 at 9:02 PM golem5G @.***> wrote:

I don’t think we have quite the same problem my issue that I am unable to access and Jellyfin on IOS app over https with self signed certificate in my local area network.

For anyone interested on this problem I think I have found the root cause it may be one of many IOS limitation. The phone won’t install correctly self signed root certificates that have expiration dates above two years (even though you won’t get any error while trying)

— Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-expo/issues/418#issuecomment-1561783220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NU7EPGVFNKQQ542HYOJTXHZLMNANCNFSM6AAAAAAUPRDE24 . You are receiving this because you commented.Message ID: @.***>

--

           Andre van der Vlies ***@***.***>
           Certifiable UNIX engineer
           Homepage: http://vandervlies.site/~andre
           Books: http://www.lulu.com/andre14
          Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A

6EFF 5CF8

    'Reality is that which, when you stop believing in it, doesn't go

away.'

DolleDries commented 1 year ago

Weird.. I just needed to add '/jellyfin' to the URI. E.g. http://:8096/jellyfin

On Wed, May 24, 2023 at 9:02 PM golem5G @.***> wrote:

I don’t think we have quite the same problem my issue that I am unable to access and Jellyfin on IOS app over https with self signed certificate in my local area network.

For anyone interested on this problem I think I have found the root cause it may be one of many IOS limitation. The phone won’t install correctly self signed root certificates that have expiration dates above two years (even though you won’t get any error while trying)

— Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-expo/issues/418#issuecomment-1561783220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NU7EPGVFNKQQ542HYOJTXHZLMNANCNFSM6AAAAAAUPRDE24 . You are receiving this because you commented.Message ID: @.***>

--

           Andre van der Vlies ***@***.***>
           Certifiable UNIX engineer
           Homepage: http://vandervlies.site/~andre
           Books: http://www.lulu.com/andre14
          Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A

6EFF 5CF8

    'Reality is that which, when you stop believing in it, doesn't go

away.'

DolleDries commented 1 year ago

Hmm, cannot do chromecast.....

On Thu, May 25, 2023 at 10:36 AM André van der Vlies < @.***> wrote:

Weird.. I just needed to add '/jellyfin' to the URI. E.g. http://:8096/jellyfin

On Wed, May 24, 2023 at 9:02 PM golem5G @.***> wrote:

I don’t think we have quite the same problem my issue that I am unable to access and Jellyfin on IOS app over https with self signed certificate in my local area network.

For anyone interested on this problem I think I have found the root cause it may be one of many IOS limitation. The phone won’t install correctly self signed root certificates that have expiration dates above two years (even though you won’t get any error while trying)

— Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-expo/issues/418#issuecomment-1561783220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NU7EPGVFNKQQ542HYOJTXHZLMNANCNFSM6AAAAAAUPRDE24 . You are receiving this because you commented.Message ID: @.***>

--

           Andre van der Vlies ***@***.***>
           Certifiable UNIX engineer
           Homepage: http://vandervlies.site/~andre
           Books: http://www.lulu.com/andre14
          Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A

6EFF 5CF8

    'Reality is that which, when you stop believing in it, doesn't go

away.'

  • Philip K. Dick

    vim: ts=4 sw=4 ff=unix sm ai ic:

     ^[^#]

    --

--

           Andre van der Vlies ***@***.***>
           Certifiable UNIX engineer
           Homepage: http://vandervlies.site/~andre
           Books: http://www.lulu.com/andre14
          Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A

6EFF 5CF8

    'Reality is that which, when you stop believing in it, doesn't go

away.'

thornbill commented 1 year ago

Hmm, cannot do chromecast.....

Chromecast is not supported

Rebuilding127 commented 1 year ago

Same problem. It works with http://server:8096, but not work with https://server:port. Even if I have imported my CA cert.

anthonylavado commented 1 year ago

@Rebuilding127 Have you enabled full trust for your self-signed certificate? Have a look here: https://medium.com/collaborne-engineering/self-signed-certificates-in-ios-apps-ff489bf8b96e

Rebuilding127 commented 1 year ago

@anthonylavado Yes, I have trust my self-signed certificate. But it doesn't seem to work. In my computer browser, it is effective.