• 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 General Questions (solved) Jellyfin spamming an external IP?

     
    • 0 Vote(s) - 0 Average

    (solved) Jellyfin spamming an external IP?

    Interpriting logs
    Strangle7068
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #1
    2023-11-06, 09:30 PM (This post was last modified: 2023-11-06, 10:47 PM by Strangle7068. Edited 1 time in total.)
    I was digging into logs to troubleshoot a library that will not play but discovered Jellyfin is, I think, trying to call out to an external IP every .2 seconds and has been for days, the connection is refused. and then repeat,

    first is this Jellyfin calling out or is this someone else calling in?

    and more importntly why and how do I stop it?

    there are thousands of these, all the same except for the time stamp:



    [2023-11-06 14:17:56.779 -06:00] [ERR] Error sending socket message from "192.168.1.8" to "239.255.255.250:1900"
    System.Net.Sockets.SocketException (13): Permission denied
      at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
      at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendToAsync(Socket socket, CancellationToken cancellationToken)
      at System.Net.Sockets.Socket.SendToAsync(ReadOnlyMemory1 buffer, SocketFlags socketFlags, EndPoint remoteEP, CancellationToken cancellationToken)
      at System.Net.Sockets.Socket.BeginSendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, Object state)
      at Emby.Server.Implementations.Net.UdpSocket.SendToAsync(Byte[] buffer, Int32 offset, Int32 bytes, IPEndPoint endPoint, CancellationToken cancellationToken)
      at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(ISocket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
      at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(ISocket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
      at System.Linq.Enumerable.WhereSelectListIterator
    2.MoveNext()
      at System.Threading.Tasks.Task.WhenAll(IEnumerable1 tasks)
      at Rssdp.Infrastructure.SsdpCommunicationsServer.SendMessageIfSocketNotDisposed(Byte[] messageData, IPEndPoint destination, IPAddress fromLocalIpAddress, CancellationToken cancellationToken)
      at Rssdp.Infrastructure.SsdpCommunicationsServer.SendMulticastMessage(String message, Int32 sendCount, IPAddress fromLocalIpAddress, CancellationToken cancellationToken)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Runtime.CompilerServices.AsyncTaskMethodBuilder
    1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
      at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
      at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
      at System.Threading.Tasks.Task.DelayPromise.CompleteTimedOut()
      at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
      at System.Threading.TimerQueue.FireNextTimers()
      at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state)
      at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state)
      at System.Threading.UnmanagedThreadPoolWorkItem.System.Threading.IThreadPoolWorkItem.Execute()
      at System.Threading.ThreadPoolWorkQueue.Dispatch()
      at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
    --- End of stack trace from previous location ---
      at System.Threading.Tasks.TaskToApm.End[TResult](IAsyncResult asyncResult)
      at Emby.Server.Implementations.Net.UdpSocket.<>c__DisplayClass21_0.<SendToAsync>b__0(IAsyncResult callbackResult)
    --- End of stack trace from previous location ---
      at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(ISocket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
    BobHasNoSoul
    Offline

    Junior Member

    Posts: 28
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    #2
    2023-11-06, 09:50 PM
    firewall blocking the port for multicast? (thats port 1900)

    if you are running docker add that port or simply use host network mode

    "239.255.255.250:1900." is SSDP / upnp multicast so not exactly an external ip address its more like a shout to all things on the local network iirc this also is needed for dlna
    HP ProLiant DL380 Gen9 142GB 56TB pool soon to be 80TB
    Strangle7068
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #3
    2023-11-06, 10:06 PM (This post was last modified: 2023-11-06, 10:11 PM by Strangle7068. Edited 2 times in total.)
    That IP address did look odd.

    Not in docker, its installed to Debian12:

    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

    I have a VPN and UFW is set to block all WAN traffic except for the VPN, LAN traffic should just pass unobstructed.

    I wonder if IP tables sees 239.255.255.250 as an external address? I will have to look into that.

    I turned off DLNA in the settings, no change.
    Strangle7068
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #4
    2023-11-06, 10:46 PM
    Ok killing
    "Enable 'Play To' DLNA feature"
    "Blast alive messages"
    and rebooting fixed it, thank you!
    1
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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