Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Opalinus opened this issue Jan 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Opalinus
Copy link

Opalinus commented Jan 2, 2025

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

@Opalinus Opalinus added the bug Something isn't working label Jan 2, 2025
@mcarlton00
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants