Audiobookshelf
Hello, I'm a bit new at this but I got everything setup except Audiobookshelf. For some reason the ping is giving ECONNREFUSED, is there a something I missed in the settings for Audiobookshelf?
Log: https://pastebin.com/m2LZjU2m
edit: It might be a websocket issue? I'm not really sure what I'm doing.
Pastebin
ERROR Unexpected response: connect ECONNREFUSED 172.18.0.12:13378...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
![No description](https://cdn.answeroverflow.com/1186791464596934656/image.png)
18 Replies
Hi, the error means that Homarr is unable to connect to it or the connection is dropped. Can you post your docker run / compose? Do you run Audioshelf on a different server? Is it behind a VPN / firewall?
Hello, I run audiobookshelf on the same server but different container.
Here's the docker compose file for the ABS
And Here's the compose file for homarr
Can you open the container terminal of Homarr and try to reach the Audioshelf container? (eg. curl, wget, ping, tracert, ...)
This is the result I get when trying
Ok, so your network setup is to blame
Homarr cannot do anything when the container itself cannot reach Audiobookshelf
Can you also try IP? Sometimes DNS resolve doesn't work properly
Ah, yeah so ip works. I guess I should use that for now. Do you have any tips for having the DNS work properly? It noticed it only has an issue with Audiobookshelf and Mylar.
I went through the same container setup for all of the apps so I'm not too sure what type of issue it might be.
Even the containers routing through glueten is fine.
You should ensure that your hostmachine has the correct DNS resolver IP
Is audiobookshelf just the container name?
yeah
Ah...
Is Homarr in the same network?
Yes.
Really? I don't mean the actual LAN, but rather the virtual docker network
For this, Homarr also would have to be behind Gluetun
Yeah, I made a custom network called medianetwork for that.
the gluetun is on the same network. the torrent and other downloading stuff is behind gluetun
everything else is on the same network not behind gluetun
But is Homarr also "behind" Gluetun?
So, everything should be sitting on the same "MediaNetwork" network.
Ah, no.
If not, using the container name won't work
Container name is only a valid hostname within the same virtual network (eg. the one you're using for Gluetun).