Netwitness Host shows [Errno 14] PYCURL ERROR 22 - The requested URL returned error: 403 Forbidden
Issue
Attempting to install a package using the linux "yum" utility fails with the following error:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden
Cause
The issue can occur when /etc/yum.conf is configured to use a proxy incorrectly.
Resolution
- SSH to the NetWitness host as root
- If the proxy is not used for the environment, remove the line contains proxy from /etc/yum.conf.
If the proxy is used in the environment but the specific repo (e.x. RSASoftware.repo) requires to bypass the proxy, modify the specific repo file by continuing with the steps below. - Change the directory:
cd /etc/yum.repos.d - vi the affected *.repo file and "
proxy=_none_"to the bottom of the file, so it resembles this example:
# This file was generated by Chef Infra
# Do NOT modify this file by hand.
[nw-rsa-base]
name=RSA NetWitness (Base)
baseurl=https://nw-node-zero/nwrpmrepo/12.5.0.0/RSA
cost=1000
enabled=1
fastestmirror_enabled=0
gpgcheck=1
sslverify=false
module_hotfixes=1
proxy=_none_ - Clean the yum repository:
yum clean all - Attempt to install your package again:
yum install rsa-nw-logcollector-tools
Product Details
NetWitness Product Set: NetWitness Logs & Network
NetWitness Product/Service Type: All Hosts
NetWitness Version/Condition: 11.x /12.X
Platform: CentOS, AlmaLinux
Summary
When executing yum update, the following error is observed: [Errno 14] PYCURL ERROR 22 - The requested URL returned error: 403 Forbidden
Approval Reviewer Queue
Technical approval queue