• 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 Development Server Development SchedulesDirect: JF 10.10.5 ignoring response when requesting images

     
    • 0 Vote(s) - 0 Average

    SchedulesDirect: JF 10.10.5 ignoring response when requesting images

    JF not using response code to stop making image requests.
    rkulagow
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Dec
    Reputation: 3
    Country:United States
    #1
    2025-01-31, 11:06 PM
    [I'm the developer that manages the JSON service on SchedulesDirect.]

    A trial user may download 10 images in a day.

    A subscriber may download 5000 images in a day.

    There are two codes that we provide when a client makes a request that would indicate that they have maxed out the number of images that can be downloaded.

    code 5002: "Maximum image downloads reached. Counter resets every 24h. Post message to http://forums.schedulesdirect.org/viewforum.php?f=6"
    code 5003: "Maximum image downloads for trial user reached. Counter resets every 24h. Post message to http://forums.schedulesdirect.org/viewforum.php?f=6"

    JF 10.10.5 is ignoring the response codes and continues making the same requests for images over and over again, at a rate of 200-400 requests per second per user.

    If a developer can contact me, I can coordinate with you to have your requests go to a debug server for testing of any code fixes.
    Shadowghost
    Offline

    Linter Overlord

    Posts: 23
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #2
    2025-02-01, 03:16 PM
    Hey, thank you for raising the issue!
    When I implemented the initial "fix" it seems like I did a wrong assumption on how the pre-fetch works which is now causing these excessive amouts of requests (this should only happen once at the beginning and after that only fetch new entries).
    Since I do not have any LiveTV setup myself I was and am flying somewhat blind in testing changes properly. I've pulled up https://github.com/jellyfin/jellyfin/pull/13469 which should a) lessen the amount of requests siginificantly by only fetching for updated and new EPG entries b) recognizing updated and new entries more reliably. I have some people on the team at hand which can test it, but it depends on their availability.

    Implementing handling of custom response codes will require more changes which are out of scope for that PR (see the initial fix for what we'd need to change to properly fix these kind of limitations).
    rkulagow
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Dec
    Reputation: 3
    Country:United States
    #3
    2025-02-01, 03:43 PM
    (2025-02-01, 03:16 PM)Shadowghost Wrote: Hey, thank you for raising the issue!
    When I implemented the initial "fix" it seems like I did a wrong assumption on how the pre-fetch works which is now causing these excessive amouts of requests (this should only happen once at the beginning and after that only fetch new entries).
    Since I do not have any LiveTV setup myself I was and am flying somewhat blind in testing changes properly. I've pulled up https://github.com/jellyfin/jellyfin/pull/13469 which should a) lessen the amount of requests siginificantly by only fetching for updated and new EPG entries b) recognizing updated and new entries more reliably. I have some people on the team at hand which can test it, but it depends on their availability.

    Implementing handling of custom response codes will require more changes which are out of scope for that PR (see the initial fix for what we'd need to change to properly fix these kind of limitations).

    Please send me a private message, and we can coordinate on any testing you want to perform. Our debug servers have more logging and relaxed restrictions.
    Shadowghost
    Offline

    Linter Overlord

    Posts: 23
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #4
    2025-02-19, 10:16 AM
    @rkulagow sorry, currently a bit busy. We released a new version with the aforementioned PR merged, is the load decreasing? If not I actually need to find some time to create a proper LiveTV setup.
    rkulagow
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Dec
    Reputation: 3
    Country:United States
    #5
    2025-02-21, 06:01 PM
    Users that are on 10.10.6 are still getting blocked; we're sending back code 5002 / 5003 and JF is ignoring the "stop" message and keeps making download requests.
    1
    myrddin
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #6
    2025-04-05, 03:27 PM
    This is impacting me. I find myself with some time on my hands. Happy to take a look if somebody can point me in the right direction (the schedules direct code in Jellyfin).
    myrddin
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #7
    2025-04-05, 04:13 PM
    @rkulagow why not use response code 429 with retry-after set to however long clients should back off for?
    mdastous
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Canada
    #8
    2025-04-23, 02:16 PM
    This is still an ongoing issue...

    Is there an official GitHub issue to track it?
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,024
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #9
    2025-04-23, 04:23 PM
    https://github.com/jellyfin/jellyfin/issues/13147
    « 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