Installation type: VMware, OVA
OS: CentOS7
Version: 5.7.3
I had this issue as well on my old, CentOS6 OVA installation and was hoping part of the switch to CentOS7 would correct it but it persists. The system is working otherwise just fine, all checks are being made and everything is green.
However, when I go to Admin -> Manage Compnents and then click install I get:
Installation failed, check internet connectivity or proxy settings.
I checked the http error logs and nothing is standing out as being the isssue.
Unable to download components. Proxy connection fail.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Unable to download components. Proxy connection fail.
Hi,
Does the server have access to the internet or are you using a proxy? The server will need to communicate with assets.nagios.com to retrieve any downloads.
Run the following curl command to test the connectivity.
Regards,
Benjamin
Does the server have access to the internet or are you using a proxy? The server will need to communicate with assets.nagios.com to retrieve any downloads.
Run the following curl command to test the connectivity.
Code: Select all
curl -k -L -v https://assets.nagios.com
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to download components. Proxy connection fail.
I ran the command and I can connect to it. The system is directly connected to the Internet.
However I still get the message when updating components or wizards.
Code: Select all
[root@apim-nagiosxi ~]# curl -k -L -v https://assets.nagios.com
* About to connect() to assets.nagios.com port 443 (#0)
* Trying 72.14.181.71...
* Connected to assets.nagios.com (72.14.181.71) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=*.nagios.com
* start date: May 27 00:00:00 2020 GMT
* expire date: Jun 26 23:59:59 2022 GMT
* common name: *.nagios.com
* issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: assets.nagios.com
> Accept: */*-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Unable to download components. Proxy connection fail.
Hi,
Ok, thanks fo running that test. Please try to log out and log back in and try once more, but this time run the following tail command before selecting Install and post the output if it fails.
Next, try to download the component? Does that work? If so can you install using the Upload a Component option on that page?
Thanks,
Benjamin
Ok, thanks fo running that test. Please try to log out and log back in and try once more, but this time run the following tail command before selecting Install and post the output if it fails.
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Thanks,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to download components. Proxy connection fail.
Here is the output, it looks like invalid user and group? The installation was done from the VMware OVA.
Downloading then installing via upload does work.
Code: Select all
PROCESS COMMAND: CMD=1131, DATA=a:1:{i:0;a:2:{s:4:"name";s:15:"bandwidthreport";s:3:"url";s:80:"https://assets.nagios.com/downloads/nagiosxi/components/xi57/bandwidthreport.zip";}}
AUTO UPGRADING COMPONENTSCMD DATA: Array
(
[0] => Array
(
[name] => bandwidthreport
[url] => https://assets.nagios.com/downloads/nagiosxi/components/xi57/bandwidthreport.zip
)
)
TMPNAME: Ih6uj
Archive: bandwidthreport.zip
4102c080144019ab1d4c90bd7838ed11cbbd609f
creating: bandwidthreport/
inflating: bandwidthreport/CHANGES.TXT
inflating: bandwidthreport/bandwidthreport.inc.php
inflating: bandwidthreport/index.php
creating: bandwidthreport/templates/
inflating: bandwidthreport/templates/timeline.inc.php
CMDLINE=. /usr/local/nagiosxi/var/xi-sys.cfg && chmod -R 755 /usr/local/nagiosxi/tmp/Ih6uj/bandwidthreport && chown -R \$nagiosuser:\$nagiosgroup /usr/local/nagiosxi/tmp/Ih6uj/bandwidthreport && cp -rf /usr/local/nagiosxi/tmp/Ih6uj/bandwidthreport /usr/local/nagiosxi/html/includes/components/ && rm -rf /usr/local/nagiosxi/tmp/Ih6uj
chown: invalid user: ‘$nagiosuser:$nagiosgroup’
OUTPUT=
RETURNCODE=1
Last edited by bdobson on Mon Sep 21, 2020 3:30 pm, edited 1 time in total.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Unable to download components. Proxy connection fail.
HI,
Update. We've been able to confirm this issue as a bug. It will be fixed in the next maintenance release.
A couple of workarounds. Update all of the components at the same time by selecting the green button Install Updates or download the individual component and upload it as suggested in the last post.
Thanks for bringing this to our attention.
Benjamin
Update. We've been able to confirm this issue as a bug. It will be fixed in the next maintenance release.
A couple of workarounds. Update all of the components at the same time by selecting the green button Install Updates or download the individual component and upload it as suggested in the last post.
Thanks for bringing this to our attention.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to download components. Proxy connection fail.
Good news! Thank you!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to download components. Proxy connection fail.
This should be resolved in the next release.bdobson wrote:Good news! Thank you!
Locking thread