Open kymocode opened 4 months ago
Could you share the docker-compose file you're using to start up Watchlistarr?
I have exactly the same issue creating my docker-compose. Here is mine
version: '3.8'
services:
watchlistarr:
image: nylonee/watchlistarr
container_name: watchlistarr
environment:
SONARR_API_KEY: _Key Removed_
RADARR_API_KEY: _Key Removed_
PLEX_TOKEN: _Token Removed_
volumes:
- ./config:/app/config
I can spin the docker, but when I look at the logs, it gives the same errors as OP
root@docker:/docker/watchlistarr# docker-compose logs -f
Attaching to watchlistarr
watchlistarr | 03:26:13.973 [io-compute-1] ERROR configuration.ConfigurationUtils$ - Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused
watchlistarr | java.lang.IllegalArgumentException: Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused
watchlistarr | at configuration.ConfigurationUtils$.throwError(ConfigurationUtils.scala:336)
watchlistarr | at configuration.ConfigurationUtils$.$anonfun$getSonarrConfig$5(ConfigurationUtils.scala:132)
watchlistarr | at apply @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr | at fromFuture @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr | at map @ configuration.ConfigurationUtils$.$anonfun$getSonarrConfig$4(ConfigurationUtils.scala:126)
watchlistarr | at flatMap @ configuration.ConfigurationUtils$.$anonfun$getSonarrConfig$4(ConfigurationUtils.scala:126)
watchlistarr | at apply @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr | at fromFuture @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr exited with code 1
Yet, my docker LXC can ping my Sonarr LXC and I have communication between both of them.
Anyone getting the following with docker compose up
Your config file is located here
/var/snap/docker/common/var-lib-docker/volumes/watchlistarr_config/_data/config.yaml
Can this be automatically created next to the docker-compose.yml file?