NwHost Update failing due to proxy settings
Issue
NwHost /var/lib/netwitness/config-management/cache/chef-stacktrace.out shows some packages failing to download from NwServer as below.
https://nw-node-zero/nwrpmrepo/11.5.0.0/OS/python-singledispatch-3.4.0.3-16.el7.noarch.rpm: [Errno 14] curl#22 - "
The requested URL returned error: 407"
Trying other mirror.
https://nw-node-zero/nwrpmrepo/11.5.0.0/RSA/salt-3000.3-1.el7.noarch.rpm: [Errno 14] curl#22 - "The requested URL returned error: 407"
Trying other mirror.
https://nw-node-zero/nwrpmrepo/11.5.0.0/OS/python-backports_abc-0.5-11.el7.noarch.rpm: [Errno 14] curl#22 - "The requested URL returned error: 407"
Trying other mirror.
https://nw-node-zero/nwrpmrepo/11.5.0.0/RSA/salt-minion-3000.3-1.el7.noarch.rpm: [Errno 14] curl#22 - "The requested URL returned error: 407"
Trying other mirror.
https://nw-node-zero/nwrpmrepo/11.5.0.0/RSA/salt-3000.3-1.el7.noarch.rpm: [Errno 14] curl#22 - "The requested URL returned error: 407"
Trying other mirror.
https://nw-node-zero/nwrpmrepo/11.5.0.0/OS/python-backports_abc-0.5-11.el7.noarch.rpm: [Errno 14] curl#22 - "The requested URL returned error: 407"
Trying other mirror.
https://nw-node-zero/nwrpmrepo/11.5.0.0/RSA/salt-minion-3000.3-1.el7.noarch.rpm: [Errno 14] curl#22 - "The requested URL returned error: 407"
Cause
These errors indicating that proxy is not allowing to download packages. Running below commands can reveal proxy details.wget https://nw-node-zero/nwrpmrepo/11.5.0.0/OS/python-singledispatch-3.4.0.3-16.el7.noarch.rpm --no-check-certificate
Error in proxy URL http://X.X.X.X:80 : Must be HTTP
The below command shows the list of environment variables set with proxy details.
#env
Resolution
Please follow the below steps to disable proxy during the update.- Login to NwHost and run the below commands.
unset http_proxy
unset https_proxy
unset https_proxy
- Initiate update which will be successful and reconfigure proxy details which was removed above.
export http_proxy=http://my.proxy:
export https_proxy=https://my.proxy:
export https_proxy=https://my.proxy:
Product Details
RSA Product Set: RSA NetWitness PlatformRSA Product/Service Type: NwHost
RSA Version/Condition: 11.5.1.0
Platform: CentOS
O/S Version: 7
Summary
This document outlines the procedure to remove proxy settings during update.
Approval Reviewer Queue
RSA NetWitness Suite Approval Queue