• 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 Issue with proxy and bitrate limit

     
    • 0 Vote(s) - 0 Average

    Issue with proxy and bitrate limit

    I am facing a problem while using Nginx proxy manager as a proxy on my LAN and using tail scale to access the proxy.
    flame
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:India
    #1
    2024-09-17, 09:30 PM (This post was last modified: 2024-09-17, 09:33 PM by flame. Edited 1 time in total.)
    Hello,
    I am facing a problem while using Nginx proxy manager as a proxy on my LAN and using tail scale to access the proxy.

    I have defined the proxy's IP as a known proxy (192.168.1.10)

    I even restarted the jellyfin service after saving the new config.

    However, when checking the logs and trying to stream this is what comes up:

    [INF] RemoteClientBitrateLimit: 8000000, RemoteIP: "192.168.1.10", IsInLocalNetwork: True

    Isn't it supposed to be false after defining 192.168.1.10 as a known proxy?


    Attached Files Thumbnail(s)
       
    flame
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:India
    #2
    2024-09-17, 09:38 PM
    Jellyfin version 10.9.11
    Install Method: Debian repository
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-09-17, 10:55 PM
    In Nginx proxy manager, did you follow our documentation and add the specified options in the advanced tab?

    https://jellyfin.org/docs/general/networ...xy-manager

    One of the options is specifically for ensuring that things like bit rate limits are applied correctly.

    Code:
    proxy_set_header X-Real-IP $remote_addr;

    Without this option, Jellyfin will read the proxy's IP address. With this option in Nginx, in combination with Known Proxies, Jellyfin will read the address in the header for the proxied client.
    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]
    flame
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:India
    #4
    2024-09-18, 09:29 AM
    (2024-09-17, 10:55 PM)TheDreadPirate Wrote: In Nginx proxy manager, did you follow our documentation and add the specified options in the advanced tab?

    https://jellyfin.org/docs/general/networ...xy-manager

    One of the options is specifically for ensuring that things like bit rate limits are applied correctly.

    Code:
    proxy_set_header X-Real-IP $remote_addr;

    Without this option, Jellyfin will read the proxy's IP address.  With this option in Nginx, in combination with Known Proxies, Jellyfin will read the address in the header for the proxied client.

    Yes I am using most of the required part in the Nginx proxy managers advanced config except for the security settings since this isn't shared with anyone except family and the tld (.home) is for local network access so cannot generate a publicly trusted SSL cert for it.

    Even after setting the max bitrate allowed for external connections to 3Mbps, I was still able to receive a 6+Mbps remuxed video over mobile data on my phone.

    Log file regarding the incident:

    [INF] User policy for "flame". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 
    [INF] RemoteClientBitrateLimit: 3000000, RemoteIP: "192.168.1.10", IsInLocalNetwork: True

    And as for the known proxies list, as I have already mentioned, 192.168.1.10 is already added as a known proxy.

    I really don't understand why it is still showing up as a local network device Weary-face


    Attached Files Thumbnail(s)
           
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-09-18, 02:11 PM (This post was last modified: 2024-09-18, 02:13 PM by TheDreadPirate. Edited 1 time in total.)
    Have you restarted jellyfin since applying those network config changes? I did some testing and I was only able to replicate this situation by not restarting Jellyfin after make a config change.
    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