Page 1 of 1

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

Posted: Mon Sep 01, 2025 6:26 pm
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


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

Posted: Mon Sep 01, 2025 6:43 pm
by rogs

Hey @jack258!

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

Cheers!

Roger.


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

Posted: Mon Sep 01, 2025 6:48 pm
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 :) )


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

Posted: Mon Sep 01, 2025 6:53 pm
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.


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

Posted: Mon Sep 01, 2025 7:15 pm
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)


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

Posted: Mon Sep 01, 2025 7:28 pm
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.


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

Posted: Mon Sep 01, 2025 7:30 pm
by jack258

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


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

Posted: Mon Sep 01, 2025 7:31 pm
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


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

Posted: Mon Sep 01, 2025 8:00 pm
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


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

Posted: Mon Sep 01, 2025 8:17 pm
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.