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

AddqBittorrentTrackers.sh curl errors #12

Closed
ceticdev opened this issue Sep 22, 2022 · 5 comments
Closed

AddqBittorrentTrackers.sh curl errors #12

ceticdev opened this issue Sep 22, 2022 · 5 comments

Comments

@ceticdev
Copy link

ceticdev commented Sep 22, 2022

Manually trying to test this script before using it in Radarr.

Running it using the IP docker provides the container and passing the -a flag leads to a curl error.

Output shows:

ubuntu@main:/data$ ./trackers.sh -a
curl: (22) The requested URL returned error: 401
curl: (22) The requested URL returned error: 403
No torrents found, exiting

Running it with the -l flag makes me believe it's a qBittorrent issue.

ubuntu@main:/data$ ./trackers.sh -l
curl: (22) The requested URL returned error: 401

Current torrents:
movie1.mkv
ubuntu@main:/data$

I'm using the original tracker links provided in the script and manually changed the backup trackers but nothing other than that. chown and chmod have both been run appropriately, thanks.

@Jorman
Copy link
Owner

Jorman commented Sep 22, 2022

Hi,

docker configuration are "particular" for example in my case, my NAS run over 10.0.0.100 but the docker ip is something like 172.x.x.x
In my case, I have to communicate with qBittorrent with 10.0.0.100 and not with docker ip, otherwise I can't reach docker.
But error 401 is Unauthorized, maybe you have to set qBittorrent to accept connection? Username and password is ok?

If you give me some extra information, we can try to solve this

@ceticdev
Copy link
Author

It seems like the docker IP works as using the list flag does return the current movies. Both the credentials are correct and all connections are allowed from localhost and the docker subnet so it shouldn't be that. Not sure what other information I can give you, just confused on why I can list the torrents and still get a 401.

@Jorman
Copy link
Owner

Jorman commented Sep 23, 2022

We can try to catch the problem, but I need to see and have more information about

Can you please post here the configuration of the script and all relevant details about docker machine and the qBittorrent configuration too?
So we can plan to make some test

J

@ceticdev
Copy link
Author

ceticdev commented Nov 8, 2022

Sorry for the long wait, forgot I opened this issue. Redid my docker setup with Radarr, qBittorrent, etc and still had the same issue. The way I have my setup configured is through a docker compose stack which has a private network and all containers have their own IP assigned to it. Instead of using that private network IP I changed it to my server IP and it seems to work. I'm just a dummy ;)

@ceticdev ceticdev closed this as completed Nov 8, 2022
@Jorman
Copy link
Owner

Jorman commented Nov 8, 2022

Hi, no problem!
Exactly, you've to use the server IP and not the docker one, like I commented here
#12 (comment)

But glad you figure it out!

This issue was closed.
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