Jellyfin Forum
SOLVED: Need help disabling Ipv6 through runtimeconfig.json - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: SOLVED: Need help disabling Ipv6 through runtimeconfig.json (/t-solved-need-help-disabling-ipv6-through-runtimeconfig-json)



Need help disabling Ipv6 through runtimeconfig.json - warnut - 2024-12-02

TLDR: 

Got a line of code added to fix something from this reddit thread but the comment got deleted and I didnt copy the code elsewhere.

Anyone knows what to add into jellyfin.runtimeconfig.json to disable Ipv6 on an windows OS? 

Long story, the issue has to do with metadata not updating and I found that thread to disable IPv6 via editing runtimeconfig.json and it worked for some reason.
Disabling Ipv6 on my system/VPN does not fix the issue.
Unchecking Ipv6 on jellyfin dashboard does not fix the issue
Split tunneling(Surfshark VPN) to only route my {thing we don't talk about - TDP} service does not fix the issue. 
Turning off VPN fixes the issue but I don't want to have to turn it off everytime I finish a download to update metadata.

Attached a Screenshot. I would've had to add a line under "configProperties"     


RE: Need help disabling Ipv6 through runtimeconfig.json - qwerty12 - 2024-12-02

From undelete.pullpush.io:

Quote:You need to add "System.Net.DisableIPv6": true to configProperties in the jellyfin.runtimeconfig.json (found in Program Files/Jellyfin or where u installed it). That's how I fixed it

For what it's worth, I believe setting the environment variable DOTNET_SYSTEM_NET_DISABLEIPV6 to 1 will do the same thing, and you won't have to worry about potentially needing to edit jellyfin.runtimeconfig.json again when upgrading Jellyfin. Setting that environment variable will, however, apply to all .NET 6+ applications.


RE: Need help disabling Ipv6 through runtimeconfig.json - warnut - 2024-12-02

(2024-12-02, 10:40 PM)qwerty12 Wrote: From undelete.pullpush.io:

Quote:You need to add "System.Net.DisableIPv6": true to configProperties in the jellyfin.runtimeconfig.json (found in Program Files/Jellyfin or where u installed it). That's how I fixed it

For what it's worth, I believe setting the environment variable DOTNET_SYSTEM_NET_DISABLEIPV6 to 1 will do the same thing, and you won't have to worry about potentially needing to edit jellyfin.runtimeconfig.json again when upgrading Jellyfin. Setting that environment variable will, however, apply to all  .NET 6+ applications.

THANK YOU. Didn't know there were services to find deleted post. Yea I think I would just edit it everytime I update the server, dont want to risk breaking anything. 

Hopefully this thread helped someone else, found quite a few post with similiar issue with metadata not updating.