Hi, I'm trying to solve an issue recently started to happen with Jellyseerr (using docker compose) but the underlying issue comes from OMV hosts.
Currently I have ipv6 disabled on all network interfaces, but there is still entries in /etc/hosts for ipv6:
root@servidor:~# cat /etc/hosts
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
127.0.0.1 localhost.localdomain localhost
192.168.1.88 servidor.local servidor
# The following lines are desirable for IPv6 capable hosts.
::1 localhost ip6-localhost ip6-loopback servidor.local servidor
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Alles anzeigen
When trying to login to the jellyseerr with jellyfin account, it tries connecting to jellyfin but it returns some logs refusing to access with ipv6 host (this when I'm using my server local http://servidor.local:8096, if I use directly the ipv4 ip it works):
jellyseerr | 2024-05-10T10:35:00.031Z [error][Jellyfin API]: Something went wrong while getting library content from the Jellyfin server: connect ECONNREFUSED ::1:8096
jellyseerr | 2024-05-10T10:35:00.031Z [error][Jellyfin Sync]: Sync interrupted {"errorMessage":"Invalid auth token"}
jellyseerr | 2024-05-10T10:36:00.029Z [debug][Jobs]: Starting scheduled job: Download Sync
jellyseerr | 2024-05-10T10:37:00.030Z [debug][Jobs]: Starting scheduled job: Download Sync
jellyseerr | 2024-05-10T10:37:07.628Z [warn][Auth]: Failed login attempt from user with incorrect Jellyfin credentials {"account":{"ip":"::ffff:172.20.0.1","email":"joaoseixas","password":"__REDACTED__"}}
If I comment out all ipv6 entries in /etc/hosts it starts working correctly tho. How should I do it then? Will this break anywhere or what's the correct solution here?
Just an extra comment that this worked before, but due to updates in packages (like node no longer prefering ipv4 entries) this underlying issue popped up. A little context here as well: https://github.com/Fallenbagel/jellyseerr/issues/722