Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Jellyfin not binding to all addresses after update from 10.8.13 to 10.9.1 #11627

Open
1 task done
ChrisRosser opened this issue May 14, 2024 · 43 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@ChrisRosser
Copy link

ChrisRosser commented May 14, 2024

Please describe your bug

After updating from 10.8.13 to 10.9.1 Jellyifn no longer binds to my local 19.2.168.1.109 address. It still binds to my vpn 10.1.1.2 address and localhost. Networking is set to bind to all addresses and I have tried removing networking.xml to force a recreation of the file.

A workaround is to specify all the relevant addresses in "Networking > Bind to local network address" but this was not required with 10.8.13 and shouldn't be necessary.

Reproduction Steps

  1. In Ubuntu Jammy x86-64 sudo apt upgrade to latest jellyfin
  2. Check startup logs
  3. Using bind addresses is not the same as defned lan addresses despite networking.xml set to bind to 0.0.0.0.

[2024-05-14 07:57:44.452 +00:00] [INF] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-05-14 07:57:44.452 +00:00] [INF] Defined LAN exclusions: []
[2024-05-14 07:57:44.452 +00:00] [INF] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-05-14 07:57:44.453 +00:00] [INF] Using bind addresses: ["127.0.0.1", "1.2.3.4", "10.1.1.2"]
[2024-05-14 07:57:44.453 +00:00] [INF] Remote IP filter is "Allowlist"
[2024-05-14 07:57:44.453 +00:00] [INF] Filter list: []

Jellyfin Version

10.9.0

if other:

No response

Environment

- OS: Ubuntu Jammy
- Linux Kernel: GNU/Linux 6.5.0-28-generic x86_64
- Virtualization: Bare metal
- Clients: Web
- Browser: Chrome
- FFmpeg Version: 6.0.1 jellyfin
- Playback Method: Web
- Hardware Acceleration: QSV
- GPU Model: i5-1340p
- Plugins: None
- Reverse Proxy: Caddy
- Base URL: None

Jellyfin logs

[2024-05-14 07:57:44.051 +00:00] [INF] Jellyfin version: "10.9.1"
[2024-05-14 07:57:44.068 +00:00] [INF] Environment Variables: ["[JELLYFIN_USER, jellyfin]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]"]
[2024-05-14 07:57:44.069 +00:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[2024-05-14 07:57:44.069 +00:00] [INF] Operating system: "Ubuntu 22.04.4 LTS"
[2024-05-14 07:57:44.069 +00:00] [INF] Architecture: X64
[2024-05-14 07:57:44.070 +00:00] [INF] 64-Bit Process: True
[2024-05-14 07:57:44.070 +00:00] [INF] User Interactive: True
[2024-05-14 07:57:44.070 +00:00] [INF] Processor count: 16
[2024-05-14 07:57:44.070 +00:00] [INF] Program data path: "/var/lib/jellyfin"
[2024-05-14 07:57:44.070 +00:00] [INF] Log directory path: "/var/log/jellyfin"
[2024-05-14 07:57:44.070 +00:00] [INF] Config directory path: "/etc/jellyfin"
[2024-05-14 07:57:44.070 +00:00] [INF] Cache path: "/var/cache/jellyfin"
[2024-05-14 07:57:44.070 +00:00] [INF] Web resources path: "/usr/share/jellyfin/web"
[2024-05-14 07:57:44.070 +00:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
[2024-05-14 07:57:44.271 +00:00] [INF] Setting cache path: "/var/cache/jellyfin"
[2024-05-14 07:57:44.339 +00:00] [INF] Loading assemblies
[2024-05-14 07:57:44.452 +00:00] [INF] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-05-14 07:57:44.452 +00:00] [INF] Defined LAN exclusions: []
[2024-05-14 07:57:44.452 +00:00] [INF] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-05-14 07:57:44.453 +00:00] [INF] Using bind addresses: ["127.0.0.1", "1.2.3.4", "10.1.1.2"]
[2024-05-14 07:57:44.453 +00:00] [INF] Remote IP filter is "Allowlist"
[2024-05-14 07:57:44.453 +00:00] [INF] Filter list: []
[2024-05-14 07:57:45.847 +00:00] [INF] Loaded plugin: "TMDb" "10.9.1.0"
[2024-05-14 07:57:45.848 +00:00] [INF] Loaded plugin: "Studio Images" "10.9.1.0"
[2024-05-14 07:57:45.848 +00:00] [INF] Loaded plugin: "OMDb" "10.9.1.0"
[2024-05-14 07:57:45.860 +00:00] [INF] Loaded plugin: "MusicBrainz" "10.9.1.0"
[2024-05-14 07:57:45.861 +00:00] [INF] Loaded plugin: "AudioDB" "10.9.1.0"
[2024-05-14 07:57:45.895 +00:00] [INF] Kestrel is listening on "127.0.0.1"
[2024-05-14 07:57:45.896 +00:00] [INF] Kestrel is listening on "1.2.3.4"
[2024-05-14 07:57:45.896 +00:00] [INF] Kestrel is listening on "10.1.1.2"
[2024-05-14 07:57:46.274 +00:00] [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.
[2024-05-14 07:57:46.305 +00:00] [INF] Running startup tasks
[2024-05-14 07:57:46.310 +00:00] [INF] Watching directory "/var/lib/jellyfin/data/collections"
[2024-05-14 07:57:46.323 +00:00] [INF] Daily trigger for "Generate Trickplay Images" set to fire at 2024-05-15 04:00:00.000 +00:00, which is 20:02:13.6764463 from now.
[2024-05-14 07:57:46.327 +00:00] [INF] Daily trigger for "Extract Chapter Images" set to fire at 2024-05-15 02:00:00.000 +00:00, which is 18:02:13.6727235 from now.
[2024-05-14 07:57:46.331 +00:00] [INF] Daily trigger for "Keyframe Extractor" set to fire at 2024-05-15 04:00:00.000 +00:00, which is 20:02:13.6684509 from now.
[2024-05-14 07:57:46.384 +00:00] [INF] Found ffmpeg version "6.0.1"
[2024-05-14 07:57:46.430 +00:00] [INF] Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[2024-05-14 07:57:46.442 +00:00] [INF] Available "encoders": ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[2024-05-14 07:57:46.455 +00:00] [INF] Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[2024-05-14 07:57:46.533 +00:00] [INF] Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2024-05-14 07:57:46.645 +00:00] [INF] FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2024-05-14 07:57:46.646 +00:00] [INF] ServerId: "bdb6cde9f2d046f59c4a340e02fb7bbf"
[2024-05-14 07:57:46.646 +00:00] [INF] Core startup complete
[2024-05-14 07:57:46.646 +00:00] [INF] Startup complete 0:00:02.8619289

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ChrisRosser ChrisRosser added the bug Something isn't working label May 14, 2024
@jellyfin-bot
Copy link
Contributor

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • The format of the environment section has been altered from the template.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

@gnattu
Copy link
Member

gnattu commented May 14, 2024

If you leave the bind address setting blank what will it bind to?

@Adriankor
Copy link

Adriankor commented May 14, 2024

Having the same Issue
Downgrading to 10.8.13 works.

@jellyfin-bot jellyfin-bot added this to Needs triage in Issue Triage for Main Repo May 14, 2024
@ChrisRosser
Copy link
Author

If you leave the bind address setting blank what will it bind to?

The log shows the bind addresses for a blank setting. It binds to some of the available addresses but not 192.168.1.0/24 and tries to bind to 1.2.3.4 for some reason.

@gnattu
Copy link
Member

gnattu commented May 14, 2024

If you leave the bind address setting blank what will it bind to?

The log shows the bind addresses for a blank setting. It binds to some of the available addresses but not 192.168.1.0/24 and tries to bind to 1.2.3.4 for some reason.

Can you show an output of ip addr show ? It looks very weird as the 1.2.3.4 seems to come from nowhere.

@LMaier-dev
Copy link

LMaier-dev commented May 14, 2024

Something similar happens to me, when upgrading from 10.8.13 to 10.9.1
I am using the linuxserver docker container in the docker network 172.26.0.0/16
In my case it does not try to bind to any address:

[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []

ip addr show:

root@e4436a7eadd7:/# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
356: eth0@if357: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:1a:00:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.26.0.3/16 brd 172.26.255.255 scope global eth0
       valid_lft forever preferred_lft forever

As it stands, I can't access the webui to try any setting changes.
Can I bind to a address via CLI? Otherwise I would try to rollback, because I did a backup before

Edit:
I wanted to add that I am pretty sure that this is my mistake, because I dont remember defining the docker network ip as the LAN address but instead my LAN subnet address of the machine.

@ChrisRosser
Copy link
Author

If you leave the bind address setting blank what will it bind to?

The log shows the bind addresses for a blank setting. It binds to some of the available addresses but not 192.168.1.0/24 and tries to bind to 1.2.3.4 for some reason.

Can you show an output of ip addr show ? It looks very weird as the 1.2.3.4 seems to come from nowhere.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 8c:03:60:4c:50:98 brd ff:ff:ff:ff:ff:ff
3: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 8c:03:60:4c:50:99 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.109/24 metric 100 brd 192.168.1.255 scope global dynamic enp5s0
       valid_lft 42992sec preferred_lft 42992sec
    inet6 2a01:4b00:a901:6c00::7b9/128 scope global dynamic noprefixroute
       valid_lft 35596sec preferred_lft 35596sec
    inet6 fd94:df16:798::7b9/128 scope global dynamic noprefixroute
       valid_lft 35596sec preferred_lft 35596sec
    inet6 fd94:df16:798:0:8e03:60ff:fe4c:5099/64 scope global mngtmpaddr noprefixroute
       valid_lft forever preferred_lft forever
    inet6 2a01:4b00:a901:6c00:8e03:60ff:fe4c:5099/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 65234sec preferred_lft 50834sec
    inet6 fe80::8e03:60ff:fe4c:5099/64 scope link
       valid_lft forever preferred_lft forever
4: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 50:5a:65:05:b8:8f brd ff:ff:ff:ff:ff:ff
5: fake0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether 6a:25:37:03:ac:b6 brd ff:ff:ff:ff:ff:ff
    inet 1.2.3.4/24 brd 1.2.3.255 scope global noprefixroute fake0
       valid_lft forever preferred_lft forever
6: airvpn: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1320 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
    inet 10.170.37.84/32 scope global airvpn
       valid_lft forever preferred_lft forever
    inet6 fd7d:76ee:e68f:a993:1909:f606:af02:d882/128 scope global
       valid_lft forever preferred_lft forever
7: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
    inet 10.1.1.2/24 scope global wg0
       valid_lft forever preferred_lft forever
8: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:e2:8e:31:fa brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:e2ff:fe8e:31fa/64 scope link
       valid_lft forever preferred_lft forever
10: vethe1bd3a3@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether 32:65:8d:1e:19:46 brd ff:ff:ff:ff:ff:ff link-netnsid 1
    inet6 fe80::3065:8dff:fe1e:1946/64 scope link
       valid_lft forever preferred_lft forever
12: veth1afda41@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether 8a:1d:e2:fe:be:46 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fe80::881d:e2ff:fefe:be46/64 scope link
       valid_lft forever preferred_lft forever

@ChrisRosser
Copy link
Author

Something similar happens to me, when upgrading from 10.8.13 to 10.9.1 I am using the linuxserver docker container in the docker network 172.26.0.0/16 In my case it does not try to bind to any address:

[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []

ip addr show:

root@e4436a7eadd7:/# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
356: eth0@if357: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:1a:00:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.26.0.3/16 brd 172.26.255.255 scope global eth0
       valid_lft forever preferred_lft forever

As it stands, I can't access the webui to try any setting changes. Can I bind to a address via CLI? Otherwise I would try to rollback, because I did a backup before

Edit: I wanted to add that I am pretty sure that this is my mistake, because I dont remember defining the docker network ip as the LAN address but instead my LAN subnet address of the machine.

You can set the binding addresses manually in networking.xml in the jellyfin configs. This solves the issue for me at least (I'm running bare metal not docker)

@LMaier-dev
Copy link

Something similar happens to me, when upgrading from 10.8.13 to 10.9.1 I am using the linuxserver docker container in the docker network 172.26.0.0/16 In my case it does not try to bind to any address:

[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []

ip addr show:

root@e4436a7eadd7:/# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
356: eth0@if357: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:1a:00:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.26.0.3/16 brd 172.26.255.255 scope global eth0
       valid_lft forever preferred_lft forever

As it stands, I can't access the webui to try any setting changes. Can I bind to a address via CLI? Otherwise I would try to rollback, because I did a backup before
Edit: I wanted to add that I am pretty sure that this is my mistake, because I dont remember defining the docker network ip as the LAN address but instead my LAN subnet address of the machine.

You can set the binding addresses manually in networking.xml in the jellyfin configs. This solves the issue for me at least (I'm running bare metal not docker)

Thanks! I used the docker containers address and it fixed that for me as well

@chiragkrishna
Copy link

chiragkrishna commented May 14, 2024

yes this happens on version 10.9.0 and 10.9.1 also, only solution is to restart jellyfin.service
sudo systemctl restart jellyfin.service

after restart it binds normally and works as expected
same issue

@smittyuk
Copy link

What's the best fix for this? I've tried removing network.xml altogether, tried adding the IP address and subnet for the docker container and the Unraid IP to no avail.

I'm running Jellyfin through docker on Unraid.

[19:24:05] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["172.17.0.0/16"]
[19:24:05] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[19:24:05] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["172.17.0.0/16"]
[19:24:05] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: ["127.0.0.1", "172.17.0.22"]
[19:24:05] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[19:24:05] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []

@Adriankor
Copy link

Something similar happens to me, when upgrading from 10.8.13 to 10.9.1 I am using the linuxserver docker container in the docker network 172.26.0.0/16 In my case it does not try to bind to any address:

[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []

ip addr show:

root@e4436a7eadd7:/# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
356: eth0@if357: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:1a:00:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.26.0.3/16 brd 172.26.255.255 scope global eth0
       valid_lft forever preferred_lft forever

As it stands, I can't access the webui to try any setting changes. Can I bind to a address via CLI? Otherwise I would try to rollback, because I did a backup before
Edit: I wanted to add that I am pretty sure that this is my mistake, because I dont remember defining the docker network ip as the LAN address but instead my LAN subnet address of the machine.

You can set the binding addresses manually in networking.xml in the jellyfin configs. This solves the issue for me at least (I'm running bare metal not docker)

Thanks! I used the docker containers address and it fixed that for me as well

Im struggling inserting the IP Address in the Network.xml can you show the parts that you changed?

@smittyuk
Copy link

I've inadvertantly ended up setting up a new server which appears to be working fine on 10.9.1. There must be an issue somewhere with the previous builds network settings that 10.9 is not happy with.

@LMaier-dev
Copy link

Something similar happens to me, when upgrading from 10.8.13 to 10.9.1 I am using the linuxserver docker container in the docker network 172.26.0.0/16 In my case it does not try to bind to any address:

[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["10.98.0.0/16"]
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[15:48:10] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []

ip addr show:

root@e4436a7eadd7:/# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
356: eth0@if357: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:1a:00:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.26.0.3/16 brd 172.26.255.255 scope global eth0
       valid_lft forever preferred_lft forever

As it stands, I can't access the webui to try any setting changes. Can I bind to a address via CLI? Otherwise I would try to rollback, because I did a backup before
Edit: I wanted to add that I am pretty sure that this is my mistake, because I dont remember defining the docker network ip as the LAN address but instead my LAN subnet address of the machine.

You can set the binding addresses manually in networking.xml in the jellyfin configs. This solves the issue for me at least (I'm running bare metal not docker)

Thanks! I used the docker containers address and it fixed that for me as well

Im struggling inserting the IP Address in the Network.xml can you show the parts that you changed?

Sure; I added the addresses like this:

  <LocalNetworkSubnets>
    <string>172.26.0.0/16</string>
  </LocalNetworkSubnets>
  <LocalNetworkAddresses>
    <string>172.26.0.3</string>
  </LocalNetworkAddresses>

This bound the service to the containers IP. After restarting the container, I was able to reach the webui and remove this addresses again, as I don't want it to go offline again when the docker containers IP changes. Leaving it empty binds it to all available addresses afaik (which is fine in my case).

@gnattu
Copy link
Member

gnattu commented May 15, 2024

Well it seems like we are divided here. Can you clarify that we are having issues that is related to Jellyfin does not wait for all interfaces up like described in #11591, or there are separate issues? Like the docker related ones are probably not related to this one.

@joshuaboniface
Copy link
Member

joshuaboniface commented May 15, 2024

@ChrisRosser what is fake0 for? Why do you have an interface with a valid public IP bound to it? Also, how is the IP of wg0 configured?

network-online.target just waits for any routable interface to come online. And we After= on network-online.target. So something about this network config is confusing network-online.target and thus starting jellyfin.service too early. But I also don't really understand how it's possible that your VPN is up and routable while your primary interface is not. Something is very weird here.

Can you please reboot your system and run systemd-analyze plot > startup.svg and post the resulting SVG?

You can also try the solution posted in #11591 (comment) but I'm not confident that will help, since your system is definitely waiting for something to come up (i.e. wg0).

@joshuaboniface
Copy link
Member

We also found an Ubuntu- and Netplan-specific bug that might be relevant: bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2063973

If you can see if you're affected by that bug, it might provide more answers.

@evandam
Copy link

evandam commented May 15, 2024

Facing the same issue here as well. Jellyfin is installed through the Debian package and it's binding to some interfaces but not all. Like others here, I upgraded from 1.8.13 -> 1.9.1

For me, I have a Caddy docker container as a reverse proxy, but Jellyfin is not listening on the Docker gateway IP (ex: 172.17.0.1) and also not on a WireGuard interface I use for VPN access.

The issue also persists after restarting the Jellyfin service after all interfaces are up, etc.

@HoloByteus
Copy link

HoloByteus commented May 15, 2024

Had a similar issue running on a Hyper-V server, changing this line in Network.xml from true to false worked for me.

<IgnoreVirtualInterfaces>false</IgnoreVirtualInterfaces>

@tgly307
Copy link

tgly307 commented May 15, 2024

#11548 (comment) maybe relative

@ChrisRosser
Copy link
Author

@ChrisRosser what is fake0 for? Why do you have an interface with a valid public IP bound to it? Also, how is the IP of wg0 configured?

network-online.target just waits for any routable interface to come online. And we After= on network-online.target. So something about this network config is confusing network-online.target and thus starting jellyfin.service too early. But I also don't really understand how it's possible that your VPN is up and routable while your primary interface is not. Something is very weird here.

Can you please reboot your system and run systemd-analyze plot > startup.svg and post the resulting SVG?

You can also try the solution posted in #11591 (comment) but I'm not confident that will help, since your system is definitely waiting for something to come up (i.e. wg0).

fake0 is a dummy interface created by cockpit (https://cockpit-project.org/) removing the interface and cockpit does not help. Here is the startup.svg

startup

@ChrisRosser
Copy link
Author

Had a similar issue running on a Hyper-V server, changing this line in Network.xml from true to false worked for me.

<IgnoreVirtualInterfaces>false</IgnoreVirtualInterfaces>

Tried this and it didn't help unfortunately. My network adaptor is not virtual.

@ChrisRosser
Copy link
Author

More information and I think we are moving towards a diagnosis: #11591 seems to be an identical problem. Jellyfin is starting up before the main network interface is up and because that interface does not have a static IP it cannot bind to it.

May 15 08:40:49 lil-nas-z systemd[1]: Starting Jellyfin Media Server...
May 15 08:40:49 lil-nas-z ip[1488]: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
May 15 08:40:49 lil-nas-z ip[1488]:     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
May 15 08:40:49 lil-nas-z ip[1488]:     inet 127.0.0.1/8 scope host lo
May 15 08:40:49 lil-nas-z ip[1488]:        valid_lft forever preferred_lft forever
May 15 08:40:49 lil-nas-z ip[1488]:     inet6 ::1/128 scope host
May 15 08:40:49 lil-nas-z ip[1488]:        valid_lft forever preferred_lft forever
May 15 08:40:49 lil-nas-z ip[1488]: 2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
May 15 08:40:49 lil-nas-z ip[1488]:     link/ether 8c:03:60:4c:50:98 brd ff:ff:ff:ff:ff:ff
May 15 08:40:49 lil-nas-z ip[1488]: 3: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
May 15 08:40:49 lil-nas-z ip[1488]:     link/ether 8c:03:60:4c:50:99 brd ff:ff:ff:ff:ff:ff
May 15 08:40:49 lil-nas-z ip[1488]:     inet6 fe80::8e03:60ff:fe4c:5099/64 scope link tentative
May 15 08:40:49 lil-nas-z ip[1488]:        valid_lft forever preferred_lft forever
May 15 08:40:49 lil-nas-z ip[1488]: 4: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
May 15 08:40:49 lil-nas-z ip[1488]:     link/ether 50:5a:65:05:b8:8f brd ff:ff:ff:ff:ff:ff
May 15 08:40:49 lil-nas-z systemd[1]: Started Jellyfin Media Server.
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Jellyfin version: 10.9.1
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Environment Variables: ["[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg>
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Operating system: Ubuntu 22.04.4 LTS
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Architecture: X64
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] 64-Bit Process: True
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] User Interactive: True
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Processor count: 16
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Program data path: /var/lib/jellyfin
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Log directory path: /var/log/jellyfin
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Config directory path: /etc/jellyfin
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Cache path: /var/cache/jellyfin
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Web resources path: /usr/share/jellyfin/web
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Application directory: /usr/lib/jellyfin/bin/
May 15 08:40:49 lil-nas-z jellyfin[1517]: [08:40:49] [INF] Setting cache path: /var/cache/jellyfin
May 15 08:40:50 lil-nas-z jellyfin[1517]: [08:40:50] [INF] Loading assemblies
May 15 08:40:50 lil-nas-z jellyfin[1517]: [08:40:50] [INF] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
May 15 08:40:50 lil-nas-z jellyfin[1517]: [08:40:50] [INF] Defined LAN exclusions: []
May 15 08:40:50 lil-nas-z jellyfin[1517]: [08:40:50] [INF] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
May 15 08:40:50 lil-nas-z jellyfin[1517]: [08:40:50] [INF] Using bind addresses: ["10.1.1.2"]
May 15 08:40:50 lil-nas-z jellyfin[1517]: [08:40:50] [INF] Remote IP filter is Allowlist
May 15 08:40:50 lil-nas-z jellyfin[1517]: [08:40:50] [INF] Filter list: []
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Loaded plugin: TMDb 10.9.1.0
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Loaded plugin: Studio Images 10.9.1.0
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Loaded plugin: OMDb 10.9.1.0
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Loaded plugin: MusicBrainz 10.9.1.0
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Loaded plugin: AudioDB 10.9.1.0
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Kestrel is listening on 10.1.1.2
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [WRN] The WebRootPath was not found: /var/lib/jellyfin/wwwroot. Static files may be unavailable.
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Running startup tasks
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Watching directory /var/lib/jellyfin/data/collections
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Daily trigger for Generate Trickplay Images set to fire at 2024-05-16 04:00:00.000 +00:00, which is 19:19:08.0516149 from now.
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Daily trigger for Extract Chapter Images set to fire at 2024-05-16 02:00:00.000 +00:00, which is 17:19:08.0481816 from now.
May 15 08:40:51 lil-nas-z jellyfin[1517]: [08:40:51] [INF] Daily trigger for Keyframe Extractor set to fire at 2024-05-16 04:00:00.000 +00:00, which is 19:19:08.0441245 from now.
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] Found ffmpeg version 6.0.1
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid",>
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc",>
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "pro>
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] ServerId: bdb6cde9f2d046f59c4a340e02fb7bbf
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] Core startup complete
May 15 08:40:52 lil-nas-z jellyfin[1517]: [08:40:52] [INF] Startup complete 0:00:02.6646307

@ChrisRosser
Copy link
Author

The cause of the problem is changing this behaviour in 10.9:

image

Might be worth reverting this change?

@ChrisRosser
Copy link
Author

ChrisRosser commented May 15, 2024

I have fixed the issue on my end by waiting for a wireguard interface to come up which delays jf starting until after the internet connection is live and the ip has been assigned.

sudo nano /lib/systemd/system/jellyfin.service

change the After= line to another service which only starts with a valid internet connection.

[Unit]
Description = Jellyfin Media Server
After = [email protected]                                                 <<<<<< this is the magic line

[Service]
Type = simple
EnvironmentFile = /etc/default/jellyfin
User = jellyfin
Group = jellyfin
WorkingDirectory = /var/lib/jellyfin
ExecStartPre = /usr/sbin/ip address show
ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_>
Restart = on-failure
TimeoutSec = 15
SuccessExitStatus=0 143

[Install]
WantedBy = multi-user.target

@Shadowghost
Copy link
Contributor

@ChrisRosser I don't think reverting is the correct fix here. The OS is responsible for managing the networking interfaces and your service and network manager (usually systemd and networkManager/networkd/netplan) for making sure the requirements for your service are met. If they don't it's not the application's responsibility to fix it in my opinion.

@ChrisRosser
Copy link
Author

ChrisRosser commented May 15, 2024 via email

@Shadowghost
Copy link
Contributor

This also might just be a bug in out network code not picking up the changed network state. I'll look into it later today.

@gnattu
Copy link
Member

gnattu commented May 15, 2024

This also might just be a bug in out network code not picking up the changed network state. I'll look into it later today.

If you want to do that, please add that with #11253

Because dotnet's network status detection is extremely unreliable and we have to disable it for sanity. It could even lead to more bugs than it resolves (some broken OS/networking config).

@Shadowghost
Copy link
Contributor

@gnattu we are already listening on network change events and react on them, that's why I'm a bit astonished we don't pick up the new interfaces (see link below).

@ChrisRosser can you enable debug logging and check if you get any of these log lines at any point?

Network availability changed.
Network address change detected.

See here for the source code

@gnattu
Copy link
Member

gnattu commented May 15, 2024

@gnattu we are already listening on network change events and react on them, that's why I'm a bit astonished we don't pick up the new interfaces (see link below).

Because that is implemented solely for plugins, the main server won't respond to this, and in my opinion, should not respond to this due to the broken implementation.

@Shadowghost
Copy link
Contributor

NetworkChange.NetworkAddressChanged += OnNetworkAddressChanged;
NetworkChange.NetworkAvailabilityChanged += OnNetworkAvailabilityChanged;

Shouldn't this bind the main server to the change events? It has been like this in 10.8 too and it worked fine.

@gnattu
Copy link
Member

gnattu commented May 15, 2024

NetworkChange.NetworkAddressChanged += OnNetworkAddressChanged;
NetworkChange.NetworkAvailabilityChanged += OnNetworkAvailabilityChanged;

Shouldn't this bind the main server to the change events? It has been like this in 10.8 too and it worked fine.

No, the server won't relisten to new interfaces by this solely. Probably just because 10.8 bind to everything that happened make this to work.

@Shadowghost
Copy link
Contributor

I just tried it:

  • JF bound to 2 dedicated IPs
  • Add an additional interface
    • triggers NetworkAvailabilityChanged
  • Add IP to new interface
    • triggers NetworkAddressChanged
  • Set interface up
    • triggers NetworkAvailabilityChanged
  • Delete interface
    • Does not trigger anything
  • We properly discover all interfaces

So I'd be interested in debug logs from people where this apparently does not work.

@gsdukbh
Copy link

gsdukbh commented May 15, 2024

I'm having the same problem.

using window server 10.9.1.

This is a partial log message.

image
He should be listening to "192.168.0.0/16" but isn't.

@ChrisRosser
Copy link
Author

ChrisRosser commented May 15, 2024

@gnattu we are already listening on network change events and react on them, that's why I'm a bit astonished we don't pick up the new interfaces (see link below).

@ChrisRosser can you enable debug logging and check if you get any of these log lines at any point?

Network availability changed.
Network address change detected.

See here for the source code

Yes I get these lines immediately after startup. However, I still cannot access Jellyfin on 192.168.1.109. It would seem only the bind addresses detected the first time work for the web interface. Perhaps these new bind addresses are not propagating somewhere they need to? This would explain why restarting jellyfin (but not rebooting) fixes the issue.

[2024-05-15 15:33:12.266 +00:00] [INF] Core startup complete
[2024-05-15 15:33:12.266 +00:00] [INF] Startup complete 0:00:02.66216
[2024-05-15 15:33:12.315 +00:00] [DBG] Network address change detected.
[2024-05-15 15:33:12.543 +00:00] [DBG] Refreshing interfaces.
[2024-05-15 15:33:12.547 +00:00] [DBG] Discovered 4 interfaces.
[2024-05-15 15:33:12.547 +00:00] [DBG] Interfaces addresses: ["127.0.0.1", "192.168.1.109", "10.1.1.2", "172.17.0.1"]
[2024-05-15 15:33:12.547 +00:00] [DBG] Refreshing LAN information.
[2024-05-15 15:33:12.547 +00:00] [DBG] Using LAN interface addresses as user provided no LAN details.
[2024-05-15 15:33:12.547 +00:00] [DBG] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-05-15 15:33:12.547 +00:00] [DBG] Defined LAN exclusions: []
[2024-05-15 15:33:12.547 +00:00] [DBG] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-05-15 15:33:12.547 +00:00] [DBG] Using bind addresses: ["192.168.1.109", "10.1.1.2"]

@ChrisRosser
Copy link
Author

ChrisRosser commented May 15, 2024

I just tried it:

  • JF bound to 2 dedicated IPs

  • Add an additional interface

    • triggers NetworkAvailabilityChanged
  • Add IP to new interface

    • triggers NetworkAddressChanged
  • Set interface up

    • triggers NetworkAvailabilityChanged
  • Delete interface

    • Does not trigger anything
  • We properly discover all interfaces

So I'd be interested in debug logs from people where this apparently does not work.

If you add an additional network interface after JF is started (while its running) can you then access the web-gui at the IP address of the new interface? Does the new bind address propagate through as a new address for the web-gui?

@Shadowghost
Copy link
Contributor

Shadowghost commented May 15, 2024

If you add an additional network interface after JF is started (while its running) can you then access the web-gui at the IP address of the new interface? Does the new bind address propagate through as a new address for the web-gui?

Nope, this is because Kestrel can't reload it's config on the fly (I was unaware of this). So there really is no real way except binding to 0.0.0.0 or :: to fix this for OSes with unpredictable network behavior. See linked PR.

@ChrisRosser
Copy link
Author

ChrisRosser commented May 16, 2024

If you add an additional network interface after JF is started (while its running) can you then access the web-gui at the IP address of the new interface? Does the new bind address propagate through as a new address for the web-gui?

Nope, this is because Kestrel can't reload it's config on the fly (I was unaware of this). So there really is no real way except binding to 0.0.0.0 or :: to fix this for OSes with unpredictable network behavior. See linked PR.

Cool, that explains it. I wanted to mention that even if I specify the binding address in the web-gui Jellyifn won't ever bind to that address unless it is also present on a network interface at startup.

I think it would make sense (especially if you can't reload the config) to add explicitly specified binding addresses to the list at startup even if they aren't present on any interface. That way if they become available later they will still work.

@Shadowghost
Copy link
Contributor

Cool, that explains it. I wanted to mention that even if I specify the binding address in the web-gui Jellyifn won't ever bind to that address unless it is also present on a network interface at startup.

That is exactly what Kestrel can't reload results in. When fetching the IPs Kestrel should bind to the defined IP is not used, since no matching interface is available. I don't think we can bind to unavailable IPs with Kestrel.

@sunnyd24
Copy link

sunnyd24 commented May 16, 2024

I am having this same issue but on Windows x64! I updated to 10.9.1 from 10.8.13 and since I have never been able to access the web interface.

On inspection, there are no bind addresses assigned:

[19:01:47] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[19:01:47] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[19:01:47] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[19:01:47] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[19:01:47] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[19:01:47] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []
  1. I tried moving the network.xml file to another location, that did not work.
  2. I have downgraded to 10.9.0 but that did not work.
  3. I tried downgrading to 10.8.13 but that did not start up correctly due to some migration error (I assume I can't roll-back anymore!)
  4. I have tried manually editing the network.xml file with subnet and ip, but this still did not bind.
  5. I have changed veth from false to true, still does not work.

Any ideas what's going on?

@Adriankor
Copy link

Issue still persists in Jellyfin docker 10.9.2

jellyfin  | 2024-05-18T19:24:51.668539066Z [21:24:51] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca from /config/plugins/Reports_17.0.0.0/ExcelNumberFormat.dll
jellyfin  | 2024-05-18T19:24:51.669496739Z [21:24:51] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.SessionCleaner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Session Cleaner_3.0.0.0/Jellyfin.Plugin.SessionCleaner.dll
jellyfin  | 2024-05-18T19:24:51.671684260Z [21:24:51] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Simkl, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Simkl_5.0.0.0/Jellyfin.Plugin.Simkl.dll
jellyfin  | 2024-05-18T19:24:51.672582480Z [21:24:51] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.SubtitleExtract, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Subtitle Extract_3.0.0.0/Jellyfin.Plugin.SubtitleExtract.dll
jellyfin  | 2024-05-18T19:24:51.676304543Z [21:24:51] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Trakt, Version=25.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Trakt_25.0.0.0/Trakt.dll
jellyfin  | 2024-05-18T19:24:51.737373645Z [21:24:51] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
jellyfin  | 2024-05-18T19:24:51.738122411Z [21:24:51] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
jellyfin  | 2024-05-18T19:24:51.738518256Z [21:24:51] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
jellyfin  | 2024-05-18T19:24:51.739894679Z [21:24:51] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.89.11"]
jellyfin  | 2024-05-18T19:24:51.740651614Z [21:24:51] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
jellyfin  | 2024-05-18T19:24:51.740975661Z [21:24:51] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
jellyfin  | 2024-05-18T19:24:51.741203253Z [21:24:51] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
jellyfin  | 2024-05-18T19:24:54.031070304Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniDB 8.0.0.0
jellyfin  | 2024-05-18T19:24:54.032151040Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniList 8.0.0.0
jellyfin  | 2024-05-18T19:24:54.034019176Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniSearch 5.0.0.0
jellyfin  | 2024-05-18T19:24:54.039485485Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Open Subtitles 20.0.0.0
jellyfin  | 2024-05-18T19:24:54.040214627Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Playback Reporting 14.0.0.0
jellyfin  | 2024-05-18T19:24:54.040870427Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Reports 17.0.0.0
jellyfin exited with code 0
jellyfin  | 2024-05-18T19:24:54.041927396Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Session Cleaner 3.0.0.0
jellyfin  | 2024-05-18T19:24:54.042544463Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Simkl 5.0.0.0
jellyfin  | 2024-05-18T19:24:54.043221468Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Subtitle Extract 3.0.0.0
jellyfin  | 2024-05-18T19:24:54.043913003Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Trakt 25.0.0.0
jellyfin  | 2024-05-18T19:24:54.044435489Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.9.2.0
jellyfin  | 2024-05-18T19:24:54.044668715Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.9.2.0
jellyfin  | 2024-05-18T19:24:54.045147209Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.9.2.0
jellyfin  | 2024-05-18T19:24:54.057083446Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.9.2.0
jellyfin  | 2024-05-18T19:24:54.057588371Z [21:24:54] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.9.2.0
jellyfin  | 2024-05-18T19:24:54.100935564Z [21:24:54] [ERR] [1] Main: Kestrel failed to start! This is most likely due to an invalid address or port bind - correct your bind configuration in network.xml and try again
jellyfin  | 2024-05-18T19:24:54.105195432Z [21:24:54] [FTL] [1] Main: Error while starting server
jellyfin  | 2024-05-18T19:24:54.105219056Z System.InvalidOperationException: Unable to resolve service for type 'Jellyfin.Plugin.Simkl.API.SimklApi' while attempting to activate 'Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler'.
jellyfin  | 2024-05-18T19:24:54.105223579Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
jellyfin  | 2024-05-18T19:24:54.105236617Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:54.105239919Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain, Int32 slot)
jellyfin  | 2024-05-18T19:24:54.105242944Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateEnumerable(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:54.105245793Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:54.105248890Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:54.105251934Z    at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
jellyfin  | 2024-05-18T19:24:54.105254867Z    at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
jellyfin  | 2024-05-18T19:24:54.105257926Z    at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
jellyfin  | 2024-05-18T19:24:54.105261247Z    at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
jellyfin  | 2024-05-18T19:24:54.105264205Z    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
jellyfin  | 2024-05-18T19:24:54.105268055Z    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
jellyfin  | 2024-05-18T19:24:54.105271004Z    at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
jellyfin  | 2024-05-18T19:24:54.105274243Z    at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
jellyfin  | 2024-05-18T19:24:54.105660043Z [21:24:54] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
jellyfin  | 2024-05-18T19:24:54.118800449Z [21:24:54] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
jellyfin  | 2024-05-18T19:24:54.119141712Z [21:24:54] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider
jellyfin  | 2024-05-18T19:24:54.119725016Z [21:24:54] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
jellyfin  | 2024-05-18T19:24:54.120065856Z [21:24:54] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager
jellyfin  | 2024-05-18T19:24:55.099343258Z [21:24:55] [INF] [1] Main: Jellyfin version: 10.9.2
jellyfin  | 2024-05-18T19:24:55.104558976Z [21:24:55] [INF] [1] Main: Environment Variables: ["[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_DATA_DIR, /config]"]
jellyfin  | 2024-05-18T19:24:55.104591238Z [21:24:55] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll", "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
jellyfin  | 2024-05-18T19:24:55.104807268Z [21:24:55] [INF] [1] Main: Operating system: Debian GNU/Linux 12 (bookworm)
jellyfin  | 2024-05-18T19:24:55.105280792Z [21:24:55] [INF] [1] Main: Architecture: X64
jellyfin  | 2024-05-18T19:24:55.105311621Z [21:24:55] [INF] [1] Main: 64-Bit Process: True
jellyfin  | 2024-05-18T19:24:55.105349197Z [21:24:55] [INF] [1] Main: User Interactive: True
jellyfin  | 2024-05-18T19:24:55.105382009Z [21:24:55] [INF] [1] Main: Processor count: 8
jellyfin  | 2024-05-18T19:24:55.105484489Z [21:24:55] [INF] [1] Main: Program data path: /config
jellyfin  | 2024-05-18T19:24:55.105511237Z [21:24:55] [INF] [1] Main: Log directory path: /config/log
jellyfin  | 2024-05-18T19:24:55.105553383Z [21:24:55] [INF] [1] Main: Config directory path: /config/config
jellyfin  | 2024-05-18T19:24:55.105610675Z [21:24:55] [INF] [1] Main: Cache path: /cache
jellyfin  | 2024-05-18T19:24:55.105675170Z [21:24:55] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
jellyfin  | 2024-05-18T19:24:55.105717449Z [21:24:55] [INF] [1] Main: Application directory: /jellyfin/
jellyfin  | 2024-05-18T19:24:55.199327259Z [21:24:55] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
jellyfin  | 2024-05-18T19:24:55.239204956Z [21:24:55] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
jellyfin  | 2024-05-18T19:24:55.275035702Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AniDB_8.0.0.0/Jellyfin.Plugin.AniDB.dll
jellyfin  | 2024-05-18T19:24:55.276175255Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniList, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AniList_8.0.0.0/Jellyfin.Plugin.AniList.dll
jellyfin  | 2024-05-18T19:24:55.277017727Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniSearch, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AniSearch_5.0.0.0/Jellyfin.Plugin.AniSearch.dll
jellyfin  | 2024-05-18T19:24:55.277058659Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin 1.4.2.0 of InfuseSync 
jellyfin  | 2024-05-18T19:24:55.278208082Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.OpenSubtitles, Version=20.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Open Subtitles_20.0.0.0/Jellyfin.Plugin.OpenSubtitles.dll
jellyfin  | 2024-05-18T19:24:55.278953257Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.PlaybackReporting, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Playback Reporting_14.0.0.0/Jellyfin.Plugin.PlaybackReporting.dll
jellyfin  | 2024-05-18T19:24:55.279892342Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly SQLitePCL.pretty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Playback Reporting_14.0.0.0/SQLitePCL.pretty.dll
jellyfin  | 2024-05-18T19:24:55.295376422Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly ClosedXML, Version=0.97.0.0, Culture=neutral, PublicKeyToken=fd1eb21b62ae805b from /config/plugins/Reports_17.0.0.0/ClosedXML.dll
jellyfin  | 2024-05-18T19:24:55.296315349Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Reports, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Reports_17.0.0.0/Jellyfin.Plugin.Reports.dll
jellyfin  | 2024-05-18T19:24:55.297249092Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly System.IO.Packaging, Version=4.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a from /config/plugins/Reports_17.0.0.0/System.IO.Packaging.dll
jellyfin  | 2024-05-18T19:24:55.300785795Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly SixLabors.Fonts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13 from /config/plugins/Reports_17.0.0.0/SixLabors.Fonts.dll
jellyfin  | 2024-05-18T19:24:55.358539154Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly DocumentFormat.OpenXml, Version=2.16.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17 from /config/plugins/Reports_17.0.0.0/DocumentFormat.OpenXml.dll
jellyfin  | 2024-05-18T19:24:55.359531353Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca from /config/plugins/Reports_17.0.0.0/ExcelNumberFormat.dll
jellyfin  | 2024-05-18T19:24:55.360096317Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.SessionCleaner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Session Cleaner_3.0.0.0/Jellyfin.Plugin.SessionCleaner.dll
jellyfin  | 2024-05-18T19:24:55.361137776Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Simkl, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Simkl_5.0.0.0/Jellyfin.Plugin.Simkl.dll
jellyfin  | 2024-05-18T19:24:55.361596929Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.SubtitleExtract, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Subtitle Extract_3.0.0.0/Jellyfin.Plugin.SubtitleExtract.dll
jellyfin  | 2024-05-18T19:24:55.363764057Z [21:24:55] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Trakt, Version=25.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Trakt_25.0.0.0/Trakt.dll
jellyfin  | 2024-05-18T19:24:55.400098529Z [21:24:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
jellyfin  | 2024-05-18T19:24:55.400132998Z [21:24:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
jellyfin  | 2024-05-18T19:24:55.400381592Z [21:24:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
jellyfin  | 2024-05-18T19:24:55.401178794Z [21:24:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.89.11"]
jellyfin  | 2024-05-18T19:24:55.401610171Z [21:24:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
jellyfin  | 2024-05-18T19:24:55.401663342Z [21:24:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
jellyfin  | 2024-05-18T19:24:55.401723650Z [21:24:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
jellyfin  | 2024-05-18T19:24:56.803197250Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniDB 8.0.0.0
jellyfin  | 2024-05-18T19:24:56.804251214Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniList 8.0.0.0
jellyfin  | 2024-05-18T19:24:56.805896345Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniSearch 5.0.0.0
jellyfin  | 2024-05-18T19:24:56.810986820Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Open Subtitles 20.0.0.0
jellyfin  | 2024-05-18T19:24:56.811576820Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Playback Reporting 14.0.0.0
jellyfin  | 2024-05-18T19:24:56.812146626Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Reports 17.0.0.0
jellyfin  | 2024-05-18T19:24:56.813042211Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Session Cleaner 3.0.0.0
jellyfin  | 2024-05-18T19:24:56.813566086Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Simkl 5.0.0.0
jellyfin  | 2024-05-18T19:24:56.814186053Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Subtitle Extract 3.0.0.0
jellyfin  | 2024-05-18T19:24:56.814759879Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Trakt 25.0.0.0
jellyfin  | 2024-05-18T19:24:56.815115791Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.9.2.0
jellyfin  | 2024-05-18T19:24:56.815346527Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.9.2.0
jellyfin  | 2024-05-18T19:24:56.815536551Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.9.2.0
jellyfin  | 2024-05-18T19:24:56.826539961Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.9.2.0
jellyfin  | 2024-05-18T19:24:56.826757932Z [21:24:56] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.9.2.0
jellyfin  | 2024-05-18T19:24:56.866354209Z [21:24:56] [ERR] [1] Main: Kestrel failed to start! This is most likely due to an invalid address or port bind - correct your bind configuration in network.xml and try again
jellyfin  | 2024-05-18T19:24:56.869921204Z [21:24:56] [FTL] [1] Main: Error while starting server
jellyfin  | 2024-05-18T19:24:56.869944514Z System.InvalidOperationException: Unable to resolve service for type 'Jellyfin.Plugin.Simkl.API.SimklApi' while attempting to activate 'Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler'.
jellyfin  | 2024-05-18T19:24:56.869949008Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
jellyfin  | 2024-05-18T19:24:56.869952733Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:56.869956458Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain, Int32 slot)
jellyfin  | 2024-05-18T19:24:56.869966212Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateEnumerable(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:56.869969488Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:56.869972634Z    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
jellyfin  | 2024-05-18T19:24:56.869975826Z    at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
jellyfin  | 2024-05-18T19:24:56.869979403Z    at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
jellyfin  | 2024-05-18T19:24:56.869982625Z    at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
jellyfin  | 2024-05-18T19:24:56.869985067Z    at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
jellyfin  | 2024-05-18T19:24:56.869987376Z    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
jellyfin  | 2024-05-18T19:24:56.869990719Z    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
jellyfin  | 2024-05-18T19:24:56.869993178Z    at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
jellyfin  | 2024-05-18T19:24:56.869995611Z    at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
jellyfin  | 2024-05-18T19:24:56.870123571Z [21:24:56] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
jellyfin  | 2024-05-18T19:24:56.879803751Z [21:24:56] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
jellyfin  | 2024-05-18T19:24:56.879842089Z [21:24:56] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider
jellyfin  | 2024-05-18T19:24:56.880135171Z [21:24:56] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
jellyfin  | 2024-05-18T19:24:56.880270089Z [21:24:56] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager```

@Shadowghost
Copy link
Contributor

It's binding fine for you, you have an incompatible plugin: Jellyfin.Plugin.Simkl.API.SimklApi please remove or update it an restart the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Needs Testing
Development

No branches or pull requests