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

Unable to connect to Sonar or generate config file. #181

Open
Redryan243 opened this issue Aug 26, 2024 · 1 comment
Open

Unable to connect to Sonar or generate config file. #181

Redryan243 opened this issue Aug 26, 2024 · 1 comment

Comments

@Redryan243
Copy link

Redryan243 commented Aug 26, 2024

I have tried with a few different configs, however I am consistently getting this error

[+] Running 1/0
✔ Container jarvis-watchlistarr-1 R... 0.0s
Attaching to watchlistarr-1
watchlistarr-1 | 04:36:43.465 [io-compute-3] INFO configuration.ConfigurationUtils$ - Successfully connected to Sonarr
watchlistarr-1 | 04:36:43.738 [io-compute-3] ERROR configuration.ConfigurationUtils$ - Unable to connect to Radarr at host.docker.internal:7878, with error java.net.ConnectException: Connection refused
watchlistarr-1 | java.lang.IllegalArgumentException: Unable to connect to Radarr at host.docker.internal:7878, with error java.net.ConnectException: Connection refused
watchlistarr-1 | at configuration.ConfigurationUtils$.throwError(ConfigurationUtils.scala:336)
watchlistarr-1 | at configuration.ConfigurationUtils$.$anonfun$getRadarrConfig$5(ConfigurationUtils.scala:176)
watchlistarr-1 | at apply @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr-1 | at fromFuture @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr-1 | at map @ configuration.ConfigurationUtils$.$anonfun$getRadarrConfig$4(ConfigurationUtils.scala:170)
watchlistarr-1 | at flatMap @ configuration.ConfigurationUtils$.$anonfun$getRadarrConfig$4(ConfigurationUtils.scala:170)
watchlistarr-1 | at apply @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr-1 | at fromFuture @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr-1 exited with code 1

This is my current compose setup (Sorry it is spaced out properly here, but I can't seem to get it to display properly spaced when my comment saves. I am saving it as a quote to try and save some of the format)

services:
watchlistarr:
image: nylonee/watchlistarr
environment:
SONARR_BASE_URL: http://192.168.1.231:8989
RADARR_BASE_URL: http://192.168.1.231:7878
SONARR_API_KEY: removed
RADARR_API_KEY: removed
PLEX_TOKEN: removed
volumes:
- ./watchlistarr/:/config
restart: unless-stopped

If I run it without an existing directory in ./watchlistarr then I also get an added log that the config.yaml was created, however it only seems to make the directory and no config.yaml

@Redryan243
Copy link
Author

Redryan243 commented Aug 27, 2024

I pulled the config manually and changed my base urls to http://radarr:7878 and http://sonarr:8989 and everything worked. It seems the issue is with the defaults not working and the config.yaml not pulling to the volume.

Edit: further testing seems to show that the configs aren't all being used by the container. My baseurl definitely worked, but others like tags, profile, and interval do not seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@Redryan243 and others