jellyfin/jellycon

Jellycon triggers fail2ban by calling unavailiable /Users/None/Items URL

Opalinus opened this issue · 2 comments

Describe the bug

  1. Run Jellycon locally on RPi4 with LibreELEC
  2. Connect to Jellyfin (LSIO image) at public URL (TLS enabled) and exposed with by swag which brings fail2ban
  3. Every couple of minutes this call can be found in the access.log of nginx in swag
    111.111.111.42 - - [02/Jan/2025:12:59:19 +0100] "GET /Users/None/Items?Recursive=True&limit=100&SortBy=Random&IncludeItemTypes=Movie%2CSeries&ImageTypeLimit=1&format=json HTTP/1.1" 401 0 "-" "python-requests/2.31.0"
  4. Calling an unavailable URL like this returns Error 401 which bans IP 111.111.111.42 in jail

System (please complete the following information):

  • OS: dockirzed
  • Jellyfin Version: 10.10.3
  • LibreElec Version: 11.0.6
  • Addon Version: 0.8.0+py3

I resolved this issue by switching back to jellyfin for kodi

This is a race condition on first startup that I haven't been able to track down. Once you've gotten logged in and restarted Kodi it no longer makes invalid requests