LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   YUM [Errno 14] HTTP Error 407: Proxy Authentication Required (https://www.linuxquestions.org/questions/linux-newbie-8/yum-%5Berrno-14%5D-http-error-407-proxy-authentication-required-4175521974/)

tamhankarnikhil 10-13-2014 10:14 AM

YUM [Errno 14] HTTP Error 407: Proxy Authentication Required
 
Please help me in this. Here is my scenario:

1) I have a physical windows machine which has a company proxy settings and needs authentication which is my windows username and password.
2) I have a VM with Oracle Linux 5 installed and using http://public-yum.oracle.com/repo/Or.../latest/x86_64 repository for YUM.
3) I have added the below entries in /etc/yum.conf

Quote:

proxy=http://myproxyaddress:8080/
proxy_username=myusername
proxy_password=mypassword
and

Quote:

[root@machine oracle]# export http_proxy=”http://myproxyaddress:8080/”
3) When I try to use YUM I get below Error:

Quote:

[root@machine oracle]# yum update

Loaded plugins: security

http://public-yum.oracle.com/repo/Or...ta/repomd.xml: [Errno 14] HTTP Error 407: Proxy Authentication Required

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_latest. Please verify its path and try again
How to resolve this? Please help.

John VV 10-14-2014 03:19 PM

you are using port 8080
Quote:


proxy=http://myproxyaddress:8080/
but going to port 80
Quote:

[root@machine oracle]# export http_proxy=”http://yourproxyaddress:80/”

tamhankarnikhil 10-15-2014 12:29 AM

Quote:

Originally Posted by John VV (Post 5253774)
you are using port 8080

but going to port 80

Sorry, its a typing mistake. I am using 8080 only. Why is it not working?


All times are GMT -5. The time now is 01:03 PM.