Skip to content

[Issue]: Interface bindings inconsistent #4287

Open
@rea-ducks

Description

Please describe your bug

I've made the following setting (through UI, but that doesn't matter):

192.168.0.253

After system reboot everything works. After restarting Jellyfin service, Jellyfin doesn't answer to SSDP requests.

I see two issues:

  1. The behaviour is inconsistent when rebooting and restarting the service.
  2. According to the UI "Override the local IP address for the HTTP server. If left empty, the server will bind to all available addresses. Changing this value requires a restart." an IP address is expected in the setting. And that's what I've given. If I enter "192.168.0.253/24" everything works as expected but from the UI it's unclear a netmask is expected.

Jellyfin Version

10.8.0

if other:

No response

Environment

OS: Debian
Virtualization: none
Installation: via official apt package

Jellyfin logs

After system reboot:
[2023-01-15 13:11:11.193 +00:00] [INF] Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-01-15 13:11:11.193 +00:00] [INF] Defined LAN exclusions : "[]"
[2023-01-15 13:11:11.196 +00:00] [INF] Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-01-15 13:11:11.252 +00:00] [INF] Using bind addresses: "[]"
[2023-01-15 13:11:11.252 +00:00] [INF] Using bind exclusions: "[]"
[2023-01-15 13:11:19.129 +00:00] [INF] Kestrel listening on "Any IP4 Address"
[2023-01-15 13:11:23.378 +00:00] [INF] Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "192.168.0.253/24"
[2023-01-15 13:11:23.455 +00:00] [INF] Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "127.0.0.1/8"

After service restart:
[2023-01-15 13:13:40.379 +00:00] [INF] Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-01-15 13:13:40.379 +00:00] [INF] Defined LAN exclusions : "[]"
[2023-01-15 13:13:40.382 +00:00] [INF] Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-01-15 13:13:40.411 +00:00] [INF] Using bind addresses: "[192.168.0.253/32]"
[2023-01-15 13:13:40.412 +00:00] [INF] Using bind exclusions: "[]"
[2023-01-15 13:13:48.100 +00:00] [INF] Kestrel listening on "192.168.0.253/32"
[2023-01-15 13:13:52.217 +00:00] [INF] Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "192.168.0.253/32"

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedThe issue has been verified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions