[Solved] "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Having any issues installing YAMS? This is the place to ask!
Post Reply
jack258
Posts: 5
Joined: Mon Sep 01, 2025 6:15 pm
Italy

[Solved] "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by jack258 »

Hi all,
massive noob here, eternally thankful for YAMS to allow me to set up something that would be much harder for me otherwise.

As (sort of) easy as the whole installation process is - and I seem to have done most everything right - I'm getting the "Failed to get qBittorrent IP from any endpoint" error when checking the VPN.
I'm using ProtonVPN as suggested in the guide, with a free account, and I used the OpenVPN/IKEv2 credentials, so that shouldn't be the issue.
I got that using a free account I should set the env var FREE_ONLY to on, being a noob I just hope I did right (I added FREE_ONLY to docker-compose.yaml under "environment" in gluetun, is that right or should I have done it somewhere else?).

Other than that the apps seem to work, but when trying to add qBittorrent to Sonarr/Radarr I'm getting a "Unable to connect to qBittorrent" error even though host, port and credentials should be right. I can use them to access to qBittorrent itself, so they should be right, but I'm getting that error on the *arrs.

I don't know if the VPN issue and the *arrs one are connected, but I thought it might be the case.

Either way, any help to fix those two issues would be greatly appreciated!
TIA

User avatar
rogs
Site Admin
Posts: 416
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by rogs »

Hey @jack258!

Can you share your docker-compose in a Pastebin? I see you made changes (added FREE_ONLY).

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
jack258
Posts: 5
Joined: Mon Sep 01, 2025 6:15 pm
Italy

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by jack258 »

Hey, thanks for the quick reply!

Sure, here it is https://pastebin.com/zPmbUQzE
I haven't really changed anything other than FREE_USER (which, again, I hope I've added in the right place :) )

User avatar
rogs
Site Admin
Posts: 416
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by rogs »

For now, I see one error: the env var is FREE_ONLY, and you added FREE_USER.

Check the documentation here: https://github.com/qdm12/gluetun-wiki/b ... otonvpn.md

Stop YAMS, change the env var and restart YAMS.

After you do that, check the logs for Gluetun and see if there are any errors. I'm almost sure that PORT_FORWARD_ONLY is only for paid users too, but I'm not too sure.

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
jack258
Posts: 5
Joined: Mon Sep 01, 2025 6:15 pm
Italy

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by jack258 »

Oh damn, I don't know why I wrote FREE_USER :mrgreen:
I fixed that but still got the error, I also tried changing PORT_FORWARD_ONLY to off but, again, same error.
I've checked the Gluetun logs and I'm getting some "Your credentials might be wrong 🤨" messages but I've triple checked and the credentials should be right (unless I had to use something other than OpenVPN/IKEv2)

User avatar
rogs
Site Admin
Posts: 416
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by rogs »

One question, are you using +pmp in your username?

If your error is "authentication", there's nothing much to do other than recheck the auth credentials or maybe even contact Proton in case there's a problem.

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
jack258
Posts: 5
Joined: Mon Sep 01, 2025 6:15 pm
Italy

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by jack258 »

Yep, the +pmp was automatically added during the setup and is still there.

User avatar
rogs
Site Admin
Posts: 416
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by rogs »

The +pmp is for port forwarding only. Try removing it and removing all the env vars related to port forwarding and try again

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
jack258
Posts: 5
Joined: Mon Sep 01, 2025 6:15 pm
Italy

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by jack258 »

I did both things and it works, thanks a lot!

However I still can't seem to make work connecting qBittorrent to Sonarr/Radarr I'm getting the "Unable to connect to qBittorrent" error in the Host field, it doesn't seem to like what I put in there, even tho it's the same address that works in the browser to let me access to the qBittorrent interface.

EDIT: I've changed the host from my IP to "gluetun" and it seems to be okay with it, but now I'm getting an "Authentication Failure" for my username... which is the one I've set in the qBittorrent settings

EDIT2: I restarted Yams and now it seems to be working alright :D

User avatar
rogs
Site Admin
Posts: 416
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: "Failed to get qBittorrent IP from any endpoint" + can't add qBittorrent to Sonarr/Radarr

Post by rogs »

Cool that everything is working now! I'm glad you were able to fix it.

If you like YAMS and want to support the development, take a look around the Donations page: https://yams.media/donate/

I'll mark this issue as fixed.

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Post Reply