Page 1 of 1

Wget connection refused

Posted: Thu Apr 06, 2017 7:07 am
by youngek
I have a clean Linux 7.3 box trying to download and install NagiosXI. When I use wget I get connection refused. However, if I go from my workstation to the site I can download the file. So I know that my company firewall is not blocking it. I have turned off the firewall on the box. Thinking it maybe a port issue but, unsure.

Re: Wget connection refused

Posted: Thu Apr 06, 2017 9:49 am
by dwhitfield
What happens if you use curl -O https://assets.nagios.com/downloads/nag ... 4.3.tar.gz (assuming that's the version you want to download)

For both commands, assuming you get an error with curl, can you please post the full output of the error. Thanks!

Re: Wget connection refused

Posted: Thu Apr 06, 2017 11:51 am
by youngek
[root@NRMNOKVLA04 /]# curl -O https://assets.nagios.com/downloads/nagiosxi-5.4.3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect t o 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable


Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://assets.nagios.com/downloads/nag ... est.tar.gz [following]
--2017-04-06 11:50:42-- https://assets.nagios.com/downloads/nag ... est.tar.gz
Resolving assets.nagios.com (assets.nagios.com)... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com (assets.nagios.com)|72.14.181.71|:443... failed: Connection refused.
Connecting to assets.nagios.com (assets.nagios.com)|2600:3c00::f03c:91ff:fedf:b821|:443... failed: Network is unreachable.

Re: Wget connection refused

Posted: Thu Apr 06, 2017 11:57 am
by dwhitfield
That's the wrong URL, because of truncation. I put in a space this time to avoid that. https://assets.nagios.com/downloads/ nagiosxi/5/xi-5.4.3.tar.gz

However, I don't think that's your only issue, or at least won't be. You'll want to look at https://support.nagios.com/kb/article.php?id=147

Re: Wget connection refused

Posted: Thu Apr 06, 2017 12:09 pm
by youngek
The KB resolved the issue. Thank you for your help.