install-jellyfin-tizen icon indicating copy to clipboard operation
install-jellyfin-tizen copied to clipboard

Failed to connect

Open S7ewie opened this issue 1 year ago • 15 comments

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.

S7ewie avatar Dec 23 '23 23:12 S7ewie

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.

TheQuantumPhysicist avatar Dec 24 '23 12:12 TheQuantumPhysicist

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>

mkfyi avatar Dec 24 '23 20:12 mkfyi

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

skyw33 avatar Dec 26 '23 04:12 skyw33

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

S7ewie avatar Dec 27 '23 11:12 S7ewie

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

Georift avatar Dec 27 '23 23:12 Georift

Just an FYI if running from Kubernetes

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

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

dawsmac avatar Jan 20 '24 09:01 dawsmac

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

bishumoharana avatar Feb 02 '24 13:02 bishumoharana

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

zorrograndeepee avatar Feb 05 '24 20:02 zorrograndeepee

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?

AdventureSMBW avatar Feb 29 '24 21:02 AdventureSMBW

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.

DavidWittman avatar Mar 03 '24 16:03 DavidWittman

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!!!!!

AdventureSMBW avatar Mar 03 '24 17:03 AdventureSMBW

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!

tahasalim avatar Mar 31 '24 22:03 tahasalim

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.

Toupycat avatar Apr 07 '24 10:04 Toupycat

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.

rras3k avatar Jun 01 '24 05:06 rras3k

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.

Same! For some reason, the connection has to be unchecked in the Device Manager before you run the script. I did that and it worked well.

JakubKopys avatar Aug 16 '24 13:08 JakubKopys

Looks like we have proper solutions here so I'll close this for now. Feel free to open another if things crop up.

Georift avatar Sep 30 '24 05:09 Georift

For anyone having issues, and you're tv is in right-to-left language — you need to type in the ip of the computer you are trying to connect from backwards. I.e if your pc IP is 192.168.1.2, type 2.1.168.192

yeah.... I'm truly dumbfounded by this behavior.

Lyqed avatar Oct 12 '24 09:10 Lyqed

For anyone having issues, and you're tv is in right-to-left language — you need to type in the ip of the computer you are trying to connect from backwards. I.e if your pc IP is 192.168.1.2, type 2.1.168.192

yeah.... I'm truly dumbfounded by this behavior.

dude you saved the day... literally 4 days of hair pulling

thanks

h-nazzal avatar Feb 11 '25 21:02 h-nazzal