• 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 Tailscale and Audio Stutters

     
    • 0 Vote(s) - 0 Average

    Tailscale and Audio Stutters

    PSYDUCK
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Australia
    #1
    2024-08-27, 05:54 AM
    I've got a small Jellyfin server (i5-9400, 8GB RAM, Win 10 - Media on a NAS via SMB) that work perfectly locally however when accessing remotely via Tailscale (As I Have Starlink) I'm getting random streaming issues. Typically every 20 minutes, Audio will stop for a minute or two - then keep playing. Issue is the Server/Network and not the client, as it will follow different clients (Jellyfin, Finamp, Symfonium) on different devices (Phone, Laptop).  Resource usage on the server appears to be fine.

    The correlating Log entry:

    Code:
    [2024-08-27 15:43:34.380 +10:00] [ERR] [37] Rssdp.Infrastructure.SsdpCommunicationsServer: Error sending socket message from "10.137.250.47" to "239.255.255.250:1900"
    System.Net.Sockets.SocketException (10049): The requested address is not valid in its context.
      at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
      at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)

    This will just fill the log when audio playback has stopped, unsure if this is affecting video playback as I don't stream videos remotely.  This error also appears at sporadic moments randomly that don't affect playback, I'm guessing the track is buffered as this only appear to happen in the first 30 seconds of a song. All my media is FLAC, to my knowledge it's not transcoding as I don't have any correlating FFMPEG Logs.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-27, 02:49 PM
    Starlink uses CGNAT, right? Your options are limited. IIRC, the users here behind a CGNAT had to run a reverse proxy and Wireguard server in a VPS. Then setup the Jellyfin server as a Wireguard client.

    Having the Wireguard server on a static IP with the VPS and the CGNAT'd Jellyfin server as the Wireguard client made their connection much more stable for remote clients.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    PSYDUCK
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Australia
    #3
    2024-08-27, 11:11 PM
    Appreciate the response - I may have to give that a go. Starlink does use CGNAT I'm afraid!

    I have numerous other services running over the Tailscale VPN Without issue, however they probably aren't as sensitive to packet loss. I'm no Dev but I did some quick research on that specific error, it seems to be generated when an outgoing port cannot be bound to an IP address supplied, I.E If the Tailscale NIC on the server disconnects for whatever reason. I'll pay more attention to the Tailscale Logs at the same time as the dropouts to see if I can correlate any issues with Tailscale. To my knowledge Tailscale uses Wireguard technology so in theory should be working without issue. I guess the key difference here is I'm not running my own Reverse Proxy & Wireguard instance.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-27, 11:19 PM (This post was last modified: 2024-08-27, 11:21 PM by TheDreadPirate. Edited 1 time in total.)
    IIRC, the default behavior for Tailscale is P2P, right? You'd have to setup a spoke and hub configuration, if that's possible with Tailscale, so that the VPS is always the entry point for Jellyfin. The theory is that the Wireguard client running on the Jellyfin server (behind CGNAT) always has a stable target to send media to with the static IP'd VPS. Any shifting in the Starlink connection should be handled more gracefully when it is the client because of this.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « 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