Jellyfin will not connect when using tailscale

Issue description:

I have been trying to get Jellyfin working with Tailscale, but nothing seems to want to work. When I put my IP for my Truenas server as the Ip and the port set while I am connected to my wifi, it works fine. So then, I turn Tailscale on, and it refuses to work. I have tried changing the IP to the tailscale one, but it says that its invalid. I try to use the same ip as the web, but then it says my credentials are incorrect, but when I acess Jellyfin on chrome with the same user and pass, it works fine, as well as playback. I’ve tried following the Wiki guide, and I’ve tried searching for an answer, but nothing seems to be working.

Logs:

Upload description: Jellyfin LogIn Issues. Can’t seem to get tailscale to work, not sure what is happening.

Additional information:

 
I am using Truenas for my server
 

Reproduction steps:

 

 

Media provider:

Jellyfin

Screenshots:

     

2025-08-17 21:27:36.994 Verbose TestURL  --> [953] GET https://http//192.168.200.187:30013/system/ping

You enter the wrong value somewhere, please better describe your setup and what you are trying to do and what you enter in Symfonium.

See thats the thing, all the values should be correct. I have a Jellyfin Server running off of Truenas. My Ip is static on the Routers side. The port is correct. For tailscale, I made sure to input it’s ip correctly too. I did manage to get it to work once by deleting the media provider and reentering everything, but now after a few hours it’s not working again. I have my Main IP as the primary connect and Tailscale as secondary. Just now, when trying to get Tailscale to work as a secondary connection, it won’t work, but when I add it as a separate media provider, it works just fine. Then when I delete that one I just made to avoid duplicates, the original one magically works. Is there just a like 4-7 minute delay in getting it to switch from the main Ip to the tailscale one? I’m not connected to wifi when testing, I am connected to Mobile data and have tailscale running.

Also, another note, sometimes I can get it to sync when it is having this problem, It wont play any song, but on Jellyfins side it will show that a song is in fact playing, while on the app, it just shows it as loading.

Well obviously no they are are not :wink:

Do not enter https or http in the secondary connection it’s the ip or the hostname only.

I didn’t add http, I just copied the ip from tailscale and pasted it in. Again, same values are giving different results with no consistency. I can go in, change nothing and hit update on the media provider, and the values that were working 10 minutes ago will show unable to connect.

All I can see is what are present in the logs.

In the logs you did enter http hence the error.

Your logs contained less than 10 seconds of data so I can’t see or guess any of your other issues.

Provide proper logs reproducing the actual issue with the proper values so I can see the actual issue;

I’m not sure how to provide logs that aren’t bring produced. I have debug mode enabled, but it’s not producing logs for my current issue, But I did upload them again just incase one was produced and I just didn’t notice. Again, after waiting like 10 minutes it does eventually connect and work. Is there supposed to be that big of a delay switching between the connections?

I am looking at one of the logs, the bigger 78 mb one, and that one should contain the correct values for both IPs. Past that I’m not 100% sure how to read it myself.

That’s huge for something that does not produce anything :wink:

Anyway in the logs

2025-08-18 01:20:07.131 Verbose Logger  Information: dm2qsqw/dm2q/35/15/SM-S916U/samsung/0/true/124/126/20
2025-08-18 01:20:55.495 Verbose MediaProviderManager  Trying to locate Provider(id=3, name='Jellyfin', api='Jellyfin') - true
2025-08-18 01:20:55.924 Verbose MediaProviderManager  Provider located

That’s 50 seconds very far some 10 minutes.

The other cases are in the 30 seconds too. The app needs to timeout a couple of times before switching to avoid trying to switch for just a small network hicup.

It seems to be working now, but I’m really not sure what the problem was previously. I just could not get it to work, no matter what I did. I feel silly now since it’s like hit or miss with reproducing the issue :sob: Maybe I’m just loosing it. I apologize for wasting time, I really don’t know what is going on with my phone. Cause sometimes it’ll show as playing fine on Jellyfins side but wont play on my side, so it’s like I know its connected, I just don’t know why it won’t play through my phone.