Tracker: Couldn't resolve host name


#1

Hey guys,

I got a new server from Hetzner (2x3TB), did a fresh installation of Ubuntu 16.04 and QuickBox, but now, when I’m adding the torrent files from my old box to the new one, I got the problem, that rTorrent isn’t able to connect to my trackers anymore. It looks like this now:
Unbenanntwdw

Under general, it says: Tracker: [Couldn’t resolve host name]

On my old box, I had like 300 torrents seeding fine. On the new one, I’ve 60, but some hours ago they started looking like on the picture. This morning, all was fine. But when I started to add some old ones, all of a sudden, they all went to red.

I already updated curl, libcurl, did some reboots, changed rtorrent settings, changed the network.max_open_files.set to 8124, but nothings works.

I also read that doing “systemctl start nscd”, but this gives me this error:
Failed to start nscd.service: Unit nscd.service not found.

Executing systemctl status nscd.service says:
● nscd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)

I really don’t know how to fix this problem :frowning:

Can you help me with this?

EDIT:
I just found the solution, sorry for crying so fast (it’s always after writing a post, every time :roll_eyes:): I used a different rtorrent script. I just went back to the original one and now, it works. Maybe, the rtorrent config I used was too aggressive. It’s still weird that it couldn’t resolve the host name tho…


#2

did you try sth like? whats the output?

nslookup google.de

your script maybe tries to import ssl certs, the old one do maybe sth like this:
network.http.ssl_verify_peer.set = 0
in the .rtorrent.rc


#3

Thanks for your suggestion, @benba.

Nslookup shows the IP address of Google, that’s no problem.

However, network.http.ssl_verify_peer.set was the problem. When this is part of the .rtorrent.rc config, I can’t access rTorrent anymore, the SCGI connection is gone. This is, what I figured out by try & error.