[SOLVED] Can't connect to jellyfin-media-player from android app - it was a proxy config issue
from dingdongitsabear@lemmy.ml to jellyfin@lemmy.ml on 16 Oct 17:59
https://lemmy.ml/post/21467764

so, up until recently (week or two maybe?) I was able to connect to the jellyfin-media-player from the jellyfin android app and initiate and control playback, change subtitles, the works. well, it’s not there any more, when I click on “Play On” I can only connect to the jellyfin-mpv-shim instance, which works same as before.

now before I start troubleshooting and pulling stuff apart, can anyone chime in if it works for them?

edit: same thing when using the web client in firefox, isn’t detected.

#jellyfin

threaded - newest

KLISHDFSDF@lemmy.ml on 18 Oct 02:59 next collapse

Didn’t even know it was possible, but I was able to connect to and control my local Jellyfin Media Player from my Android Jellyfin client. So to answer your question, its at least still working for one other person.

dingdongitsabear@lemmy.ml on 18 Oct 07:46 collapse

glad it’s working for you but no dice here. installed it fresh on a laptop, same deal, doesn’t detect either of them.

<img alt="" src="https://lemmy.ml/pictrs/image/748f81b8-67fe-4c1c-96cd-6a1091528b91.jpeg">

both installs are flatpaks, how about yours?

KLISHDFSDF@lemmy.ml on 18 Oct 19:32 collapse

Just tried it on my Linux laptop (Debian 12 and also installed via flatpak) and it’s also working. Both Linux & Windows versions of Jellyfin Media Player are version 1.11.1.

Do you have a firewall enabled on either of those Linux devices? Could they be blocking any required in/outgoing ports that need to be open?

I would refer to this document and ensure these ports are not being blocked: jellyfin.org/docs/general/networking/ - although this may be unrelated if the android <-> Jellyfin Media Player are using other means to communicate.

dingdongitsabear@lemmy.ml on 18 Oct 11:32 collapse

found the culprit: I’ve connected my jellyfin-media-player apps to a CNAME alias provided by my Pi-hole (jellyfin.box) and a matching nginx proxy entry:

        listen 80;
        listen [::]:80;

        server_name jellyfin.box;

        location / {
                proxy_pass http://127.0.0.1:8096/;
       }

so when I disconnected the app from the jellyfin.box server and connected it to the “new” server at server.box:8096 it started working immediately. looks like I’m missing some headers in that proxy so I’ll look into it.

edit: yepp, adding headers fixed it, I can connect to the jellyfin.box server and have it detected by all other devices on the network.

        location / {
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection $http_connection;
                proxy_pass http://127.0.0.1:8096/;
        }