jellyfin / jellyfin-tizen

Jellyfin Samsung TV Client
https://jellyfin.org
936 stars 72 forks source link

Unable To Connect To Server #207

Closed Orbitally closed 1 year ago

Orbitally commented 1 year ago

Hi! I'm running into an issue where when entering the server address and clicking connect it comes back with an error saying We're unable to connect to the selected server right now. Please ensure it is running and try again.

I've tried using http://<address>:8096 as well as just <address>:8096 in both the app and the browser with neither of them working

The server seems to be working as it should since I can connect to it from any other device. This is just a local server and anything connecting to it is within the LAN. I also tried connecting to the server from the TV's web browser and that also isn't able to connect and just returns an error saying it couldn't connect to the page. Thanks in advance!

dmitrylyzo commented 1 year ago

Is there any error in the server log? Or any mark that the TV is trying to access?

Do both, the server and the web used for the app, have the same version (10.8.10)?

Orbitally commented 1 year ago

Is there any error in the server log? Or any mark that the TV is trying to access?

Looking at the logs from the Docker container after trying to connect nothing new shows up.

Do both, the server and the web used for the app, have the same version (10.8.10)?

I built the app for the TV using the release-10.8.z branch from the jellyfin-web repo and the server says it's on version 10.8.10

dmitrylyzo commented 1 year ago

Looking at the logs from the Docker container after trying to connect nothing new shows up.

First, you need to find out if the server is accessible from the TV. I have no experience with networking in the Docker, but from what I've heard, it can be tricky. At the same time, you said that other clients work. 🤷‍♂️

Btw, is this your first time setting up a server in the app? Webui clients remember the server id, and the new server refuses connections with the old id. In this case, you need to remove and then re-add the server in the client.

Orbitally commented 1 year ago

A couple months ago I had everything set up and working and then I hadn't used Jellyfin for a while and came back to it a couple days ago to this issue.

I have tried deleting and reinstalling the app on the TV but still have the same issue but I’m not sure if that’s the same as removing and then re-adding the server from the client.

The other strange bit is that trying to access the server from the TV’s browser also doesn’t work but any other browser on any other device works fine.

Orbitally commented 1 year ago

So turns out that trying to do this while being very sleep deprived and tired isn't the best idea... Wasn't thinking straight and was just putting in the wrong server address. Thanks for the help!