I am having problems and am getting: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host" error.
running release 7.7.1908; can ping out with both IP and FQDN; have checked /etc/resolv.conf and it has a valid DNS.
Any suggestions?
thanks
[Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Try with curl.
Do you use proxy ? If yes, configure yum.conf properly
Do you use proxy ? If yes, configure yum.conf properly
Re: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
sorry, just a noob trying to troubleshoot my first webserver.
no, not using a proxy.
returns the website code without any errors.
so both DNS and curl are working fine?
ran:
yum update returns:
my webserver seems to be running fine (80/443) but when I try to update the wordpress WAF rule set in the WP control panel, it returns
my firewall log is showing
no, not using a proxy.
Code: Select all
curl example.com
so both DNS and curl are working fine?
ran:
Code: Select all
sudo yum clean all
sudo rm -r /var/cache/yum
sudo yum update
Code: Select all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 18 kB 00:00:00
* base: mirror2.evolution-host.com
* epel: mirror.dst.ca
* extras: mirror2.evolution-host.com
* updates: mirror2.evolution-host.com
base | 3.6 kB 00:00:00
copr:copr.fedorainfracloud.org:copart:restic | 3.3 kB 00:00:00
extras | 2.9 kB 00:00:00
ius | 1.3 kB 00:00:00
litespeed | 3.6 kB 00:00:00
litespeed-update | 3.6 kB 00:00:00
lux | 2.9 kB 00:00:00
mariadb | 2.9 kB 00:00:00
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; Operation now in progress"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Trying other mirror.
One of the configured repositories failed (PowerDNS repository for PowerDNS Authoritative Server - version 4.2.X),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=powerdns-auth-42 ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable powerdns-auth-42
or
subscription-manager repos --disable=powerdns-auth-42
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=powerdns-auth-42.skip_if_unavailable=true
failure: repodata/repomd.xml from powerdns-auth-42: [Errno 256] No more mirrors to try.
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; Operation now in progress"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
http://repo.powerdns.com/centos/x86_64/7/auth-42/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
Code: Select all
Error: Unable to connect to the remote server (cURL error 7: Failed connect to updates.nintechnet.com:443; Operation now in progress)
Code: Select all
Feb 22 16:06:31 new lfd[78468]: Unable to retrieve blocklist BFB - Unable to download: Can't connect to danger.rulez.sk:80 (timeout)
Feb 22 16:10:38 new lfd[78468]: Unable to retrieve blocklist TOR - Unable to download: Can't connect to check.torproject.org:443
Feb 22 16:14:41 new lfd[78972]: Unable to retrieve blocklist BDE - Unable to download: Can't connect to api.blocklist.de:443
Feb 22 16:16:14 new lfd[78972]: Unable to retrieve blocklist BFB - Unable to download: Can't connect to danger.rulez.sk:80 (timeout)
Feb 22 16:16:17 new lfd[79322]: Child : *Lock Error* [BLOCKLISTS] still active - section skipped
Feb 22 16:20:21 new lfd[78972]: Unable to retrieve blocklist TOR - Unable to download: Can't connect to check.torproject.org:443
Feb 22 16:25:02 new lfd[79592]: Unable to retrieve blocklist BDE - Unable to download: Can't connect to api.blocklist.de:443
Re: [Errno 14] curl#7 - "Failed connect to repo.powerdns.com:80; No route to host"
You got an ICMP denied message there. Usually a firewall of some sort, or possibly routing."Failed connect to repo.powerdns.com:80; No route to host" error.
You got no message there, anybody's guess. Some firewalls respond, some don't (most routers do).Unable to retrieve blocklist BFB - Unable to download: Can't connect to danger.rulez.sk:80 (timeout)
curl's error 7 is "Failed to connect to host."
I think your DNS was (at that time)/is working - otherwise you'd have different error messages, but TCP is not getting there (note: ping is not TCP it's ICMP by default).
You can use telnet (or any line based TCP client) to validate as in:
telnet danger.rulez.sk 80
Trying 188.40.39.38...
Connected to danger.rulez.sk.
Escape character is '^]'.
^]
telnet> cl
Connection closed.
Strongly suspect firewall(s) - either yours (fairly high probability) or somebody else's along the network path.
Edited because I'm often dumb ....