mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:55 -05:00
[Bug]: oidc fails with callback - ENOTFOUND #3111
Labels
No labels
authentication
awaiting release
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/audiobookshelf-advplyr#3111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cwiggs on GitHub (Nov 23, 2025).
What happened?
Hello,
I am trying to get audiobookshelf setup to with with oidc. The oidc provider I'm using is Authelia and It is working fine with various other apps (ArgoCD, Proxmox, etc). However when I set it up with Audiobookshelf And I click the "Login with OpenId" button it takes me to Authelia to login and then I reports back "Error in callback" When I check the audiobookshelf container logs I see this:
I verified that coredns is setup properly and responds to the dns request properly. I also exec-ed into the audiobookshelf container and checked that the container resolves properly:
I also checked the authelia logs and I see the oidc was successful there.
From what I understand
ENOTFOUNDis a DNS resolution error, but I'm not sure why audiobookshelf cannot resolve the name when the container can.Thanks
What did you expect to happen?
Be able to login with oidc
Steps to reproduce the issue
Audiobookshelf version
2.30.0
How are you running audiobookshelf?
Other (list in "Additional Notes" box)
What OS is your Audiobookshelf server hosted from?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
Firefox
Logs
Additional Notes
I am running audoibookshelf in Kubernetes (k3s)
@cwiggs commented on GitHub (Nov 23, 2025):
Looks like I was able to get this working but updating the DNS record from a CNAME to an A record. Not sure why that was making it fail though.
@davidedpg10 commented on GitHub (Nov 26, 2025):
I'm having this issue but with the
Matchfunctionality that retrieves data from providers such as Audible.comBut if I go into the container, I can reach the internet and even resolve the address.
Also running in Kubernetes (k3s)
@jhaydter commented on GitHub (Dec 9, 2025):
Encountered this as well on v2.31 in docker. I had to fix my DNS to resolve the oidc dns name the error references.
@Strontium commented on GitHub (Dec 23, 2025):
+1 also seeing this error.
My OIDC provider hostname is also resolved via CNAME.
Used workaround by applying static mapping to IP in docker with extra_hosts, eg: