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

Failed to get history from Radarr #12

Closed
besendorf opened this issue Jan 29, 2025 · 3 comments
Closed

Failed to get history from Radarr #12

besendorf opened this issue Jan 29, 2025 · 3 comments

Comments

@besendorf
Copy link
Contributor

I have lots of this in the logs

premiumizearr-1  | time="2025-01-29T17:54:35Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:35Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:35Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:35Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:35Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:35Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:54:50Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
premiumizearr-1  | time="2025-01-29T17:55:05Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"

happens every 20s (interval when Radarr is checked). Despite the test for Radarr settings working.

@ensingerphilipp
Copy link
Owner

I see its connecting to [::1]:7878 -> Thats an ipv6 which isnt supported.

Try disabling ipv6 for docker:

sudo nano /etc/docker/daemon.json
Put in: { "ipv6": false }
sudo systemctl restart docker


Or if you created a network for the container be sure to specify:

docker network create \
  --ipv6=false \
  mynetwork

@besendorf
Copy link
Contributor Author

That is in fact ipv6. In the config I set it to "http://192.168.1.101:7878" though. so I don't know why it would use ipv6.

After disabling ipv6 and restarting the docker daemon (and so also the container) The settings for Radarr were reset to the default values. I set it to "http://192.168.1.101:7878" again and entered my api key. Now i get
premiumizearr-1 | time="2025-01-29T18:35:57Z" level=error msg="Radarr [Radarr]: Failed to get history: api.Get(v3history): httpClient.Do(req): Get \"http://localhost:7878/api/v3history?page=1&pageSize=1000&sortDirection=ascending&sortKey=date\": dial tcp [::1]:7878: connect: connection refused"
~~ so the default value of localhost. ~~
I think the setting is somehow not stored correctly

sorry I did not save the settings. I didn't see that you need to press the save button on the right. I tought that was only for the premiumize.me settings.

But if ipv6 is not supported then you should probably change the default values from localhost to 127.0.0.1

@ensingerphilipp
Copy link
Owner

Yep seems reasonable. Btw you can use your docker containername as hostname if they are on the same docker network.

E.g. if your radarr container is called radarr-container you can enter https://radarr-container:7878

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

2 participants