• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Jellyfin Server not binding to LAN address

     
    • 0 Vote(s) - 0 Average

    Jellyfin Server not binding to LAN address

    only binds to 127.0.0.1, seems to start before system connected to lan
    penis
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-05-14, 07:43 AM (This post was last modified: 2024-05-14, 12:02 PM by penis. Edited 1 time in total.)
    I installed jellyfin a week ago, running on debian. Everything worked fine until i dist-upgraded my system (including jellyfin)
    Now, jellyfin is no longer works directly after booting. It only works if I run
    Code:
    sudo systemctl restart jellyfin

    I checked the logs and found this. It only binds to 127.0.0.1 for some reason.

    Code:
    [09:01:22] [INF] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [09:01:22] [INF] Defined LAN exclusions: []
    [09:01:22] [INF] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [09:01:22] [INF] Using bind addresses: ["127.0.0.1"]


    Later in the logs, this happens:

    Code:
    jellyfin[484]: [09:01:34] [ERR] An error occurred while accessing the plugin manifest: https://repo.jellyfin.org/files/plugin/manifest.json
    jellyfin[484]: System.Net.Http.HttpRequestException: Resource temporarily unavailable (repo.jellyfin.org:443)
    jellyfin[484]:  ---> System.Net.Sockets.SocketException (11): Resource temporarily unavailable
    jellyfin[484]:    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
    jellyfin[484]:    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
    jellyfin[484]:    at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken canc>
    jellyfin[484]:    at Jellyfin.Networking.HappyEyeballs.HttpClientExtension.AttemptConnection(AddressFamily addressFamily, SocketsHttpConnectionContext context, CancellationToken canc>
    jellyfin[484]:    at Jellyfin.Networking.HappyEyeballs.HttpClientExtension.OnConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
    jellyfin[484]:    at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellatio>
    jellyfin[484]:    --- End of inner exception stack trace ---
    jellyfin[484]:    at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellatio>
    jellyfin[484]:    at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
    jellyfin[484]:    at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
    jellyfin[484]:    at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
    jellyfin[484]:    at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
    jellyfin[484]:    at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken canc>
    jellyfin[484]:    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
    jellyfin[484]:    at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
    jellyfin[484]:    at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellati>
    jellyfin[484]:    at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cance>
    jellyfin[484]:    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean dispos>
    jellyfin[484]:    at System.Net.Http.Json.HttpClientJsonExtensions.<FromJsonAsyncCore>g__Core|12_0[TValue,TJsonOptions](HttpClient client, Task`1 responseTask, Boolean usingResponseH>
     

    So it seems like the jellyfin service is trying to start before the system even got to connect to LAN. After restarting the service with systemctl, the logs show a successful bind to the network IP
    Code:
    jellyfin[933]: [09:11:44] [INF] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    jellyfin[933]: [09:11:44] [INF] Defined LAN exclusions: []
    jellyfin[933]: [09:11:44] [INF] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    jellyfin[933]: [09:11:44] [INF] Using bind addresses: ["127.0.0.1", "192.168.0.177"]

    How can I fix this?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Jellyfin Server not binding to LAN address - by penis - 2024-05-14, 07:43 AM
    RE: Jellyfin Server not binding to LAN address - by TheDreadPirate - 2024-05-14, 01:35 PM
    RE: Jellyfin Server not binding to LAN address - by penis - 2024-05-14, 01:58 PM
    RE: Jellyfin Server not binding to LAN address - by TheDreadPirate - 2024-05-14, 02:45 PM
    RE: Jellyfin Server not binding to LAN address - by penis - 2024-05-14, 03:42 PM
    RE: Jellyfin Server not binding to LAN address - by TheDreadPirate - 2024-05-14, 04:29 PM
    RE: Jellyfin Server not binding to LAN address - by penis - 2024-05-14, 07:51 PM
    RE: Jellyfin Server not binding to LAN address - by Novus - 2024-05-15, 07:39 AM
    RE: Jellyfin Server not binding to LAN address - by TheDreadPirate - 2024-05-15, 02:55 PM
    RE: Jellyfin Server not binding to LAN address - by Novus - 2024-05-15, 06:52 PM
    RE: Jellyfin Server not binding to LAN address - by honneamise - 2024-05-15, 11:10 AM
    RE: Jellyfin Server not binding to LAN address - by chilled - 2024-05-15, 05:50 PM
    RE: Jellyfin Server not binding to LAN address - by penis - 2024-05-16, 03:53 PM
    RE: Jellyfin Server not binding to LAN address - by TheDreadPirate - 2024-05-15, 07:10 PM
    RE: Jellyfin Server not binding to LAN address - by Novus - 2024-05-15, 07:14 PM
    RE: Jellyfin Server not binding to LAN address - by TheDreadPirate - 2024-05-15, 07:15 PM
    RE: Jellyfin Server not binding to LAN address - by Novus - 2024-05-15, 07:22 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode