Georift / install-jellyfin-tizen

Install Jellyfin on your Samsung TV
https://tim.wants.coffee/posts/install-jellyfin-on-a-samsung-tv/
385 stars 29 forks source link

Failed to connect #16

Open S7ewie opened 6 months ago

S7ewie commented 6 months ago

I've followed the instructions to the best of my ability. When I run the command in step 2 I get:

Attempting to connect to Samsung TV at IP address 192.168.20.10
* Server is not running. Start it now on port 26099 *
* Server has started successfully *
connecting to 192.168.20.10:26101 ...
failed to connect to 192.168.20.10:26101
Attempting to get the TV name...
Found TV name: QE55S90CATXXU
Attempting to install jellyfin-tizen-builds version:
https://github.com/jeppevinkel/jellyfin-tizen-builds/releases/tag/2023-11-29

Then it runs all the way through to 100% but finishes with:

There is no connected target.

It seems to have failed to connect for some reason, though it is able to get the the TV name.

TheQuantumPhysicist commented 6 months ago

I solved this problem by putting the IP address of the source machine. This can be done at the same place where you enable developer mode. I believe this is a security option so that not anyone can connect to the TV and install crap on it.

mkfyi commented 6 months ago

Just do what @TheQuantumPhysicist told you - which can be also found in the official documentation.

I also had to adjust the parameters for docker run otherwise the installation crashed with "unable to allocate file descriptor table". I found the solution here.

docker run --net=host -it --ulimit nofile=122880:122880 -m 3G --rm georift/install-jellyfin-tizen <TIZEN_IP>

skyw33 commented 6 months ago

I have the same issue and I have already indicated the source IP address.

S7ewie commented 6 months ago

Yeah I had the correct IP. I could connect to the TV in Tizen Studio with no issues.

I ran the command in /jeppevinkel/jellyfin-tizen-builds and it worked so I'm not really sure why this one wasn't working

Georift commented 6 months ago

@skyw33 @S7ewie you might find hard rebooting your TV may help the problem.

dawsmac commented 5 months ago

Just an FYI if running from Kubernetes

kubectl run jellyfin --restart=Never --rm -i --tty --image georift/install-jellyfin-tizen ,

Works but like others have said make sure you put in your host IP of the machine running docker or K8 into the tv.

bishumoharana commented 5 months ago

Strangely enough after restart of TV (After multiple restart), the connection on Tizen Device manager got disconnected and with that disconnected status I executed the command And Wolah! it works

zorrograndeepee commented 5 months ago

I tried everything and still, the message at the end "There is no connected target." what can I do ?

AdventureSMBW commented 4 months ago

Having the same problem. However, I cant enter the Host PC IP on my Samsung TV. In the developer mode window, the Host PC IP is 0.0.0.0 and cannot be changed. Nothing happens when I click it. Tried getting in and out of dev mode and hard rebooting. How can I enter that IP address?

DavidWittman commented 4 months ago

Having the same problem. However, I cant enter the Host PC IP on my Samsung TV. In the developer mode window, the Host PC IP is 0.0.0.0 and cannot be changed. Nothing happens when I click it. Tried getting in and out of dev mode and hard rebooting. How can I enter that IP address?

You need to enter the IP address using the "123" button on the remote just like you did to enable Developer mode.

AdventureSMBW commented 4 months ago

You need to enter the IP address using the "123" button on the remote just like you did to enable Developer mode.

You literally just solved my weeklong problem. Jellyfin is installed. THANK YOU!!!!!

tahasalim commented 3 months ago

Solved it!

You MUST set the Host IP and press OK, then leave the TV.

If you're still having the issue, you can verify the connection by doing the following: Install Tizen Studio Device Manager and connect to the TV. Then actively disconnect from the TV in the device manager (since you've verified the connection) and try running the script again.

Voila!

Toupycat commented 2 months ago

Solved it!

You MUST set the Host IP and press OK, then leave the TV.

If you're still having the issue, you can verify the connection by doing the following: Install Tizen Studio Device Manager and connect to the TV. Then actively disconnect from the TV in the device manager (since you've verified the connection) and try running the script again.

Voila!

THANKS! Tried everything while the host and target IPs were correctly set. Turns out I had Device Manager running and connected to the tv while trying to run the script. You really have to UNCHECK the connection in Device Manager for it to be able to find the device in the terminal.

rras3k commented 1 month ago

Mistake I made. I put the TV in dev mode and entered the IP of my PC, then I turned off the TV and turned it back on. The problem is that my PC's IP address is not saved when the TV is turned off. So you have to do it in 2 times. 1) Put the TV in dev mode. 2) Turn off the TV and turn it back on 3) Enter the PC address 4) Send Docker command. It worked very well for me.