CentOS7 YUM Proxy Authentification failed

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I've stumbled across a little problem with my CentOs7 server. It's a virtual server behind a proxy and it can connect to the internet, but it can't use yum. Whenever I try I get the Error:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?
release=7&arch=x86_64&repo=os&infra=stock error was
14: HTTP Error 407 - Proxy Authentication Required
Even though I have the proxy configured in /etc/environment:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
and in /etc/yum.conf:
proxy=http://url:8088/
proxy_username=user_name
proxy_password=password
I even declared it in /root/.bash_profile:
export http_proxy="http://url:8088/"
and in /etc/wgetrc:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
I really don't get how it's still missing the authentifcation, has anyone an idea on how to solve this? Thanks in advance
centos yum proxy
add a comment |Â
up vote
1
down vote
favorite
I've stumbled across a little problem with my CentOs7 server. It's a virtual server behind a proxy and it can connect to the internet, but it can't use yum. Whenever I try I get the Error:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?
release=7&arch=x86_64&repo=os&infra=stock error was
14: HTTP Error 407 - Proxy Authentication Required
Even though I have the proxy configured in /etc/environment:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
and in /etc/yum.conf:
proxy=http://url:8088/
proxy_username=user_name
proxy_password=password
I even declared it in /root/.bash_profile:
export http_proxy="http://url:8088/"
and in /etc/wgetrc:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
I really don't get how it's still missing the authentifcation, has anyone an idea on how to solve this? Thanks in advance
centos yum proxy
Can you get out onto the www via the proxy using any other services i.e. with curl?
â Raman Sailopal
May 30 at 13:44
I can curl google, but not mirrorlist.centos.org. So I guess I have a failing repository active, I'll try and comment if it solve the problem. Thanks a lot for the hint, didn't think of it:)
â origins523
May 31 at 6:51
I just have the base repo enabled, so still having the problem.
â origins523
Jun 1 at 8:00
@origins523: Can you provide some more specific information regarding your company proxy? Maybe thecurlyou have used? How applications authenticate there in general? Is it a NTLMv2 proxy (e.g. iscurloption--proxy-ntlmused)? etc. ...
â U880D
Jun 8 at 9:47
they changed some network configuration in our company environment, now we have to add the domain like this COM in front of the proxyuser in our yum.config. thanks anyway a lot for the help:)
â origins523
Jun 12 at 6:13
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I've stumbled across a little problem with my CentOs7 server. It's a virtual server behind a proxy and it can connect to the internet, but it can't use yum. Whenever I try I get the Error:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?
release=7&arch=x86_64&repo=os&infra=stock error was
14: HTTP Error 407 - Proxy Authentication Required
Even though I have the proxy configured in /etc/environment:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
and in /etc/yum.conf:
proxy=http://url:8088/
proxy_username=user_name
proxy_password=password
I even declared it in /root/.bash_profile:
export http_proxy="http://url:8088/"
and in /etc/wgetrc:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
I really don't get how it's still missing the authentifcation, has anyone an idea on how to solve this? Thanks in advance
centos yum proxy
I've stumbled across a little problem with my CentOs7 server. It's a virtual server behind a proxy and it can connect to the internet, but it can't use yum. Whenever I try I get the Error:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?
release=7&arch=x86_64&repo=os&infra=stock error was
14: HTTP Error 407 - Proxy Authentication Required
Even though I have the proxy configured in /etc/environment:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
and in /etc/yum.conf:
proxy=http://url:8088/
proxy_username=user_name
proxy_password=password
I even declared it in /root/.bash_profile:
export http_proxy="http://url:8088/"
and in /etc/wgetrc:
http_proxy='http://user:password@url:8088/'
HTTP_PROXY='http://user:password@url:8088/'
https_proxy='http://user:password@url:8088/'
HTTPS_PROXY='http://user:password@url:8088/'
ftp_proxy='http://user:password@url:8088/'
FTP_PROXY='http://user:password@url:8088/'
no_proxy='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
NO_PROXY='localhost,127.0.0.1,localaddress,*.localdomain.com,*.bl.ch,10.*'
I really don't get how it's still missing the authentifcation, has anyone an idea on how to solve this? Thanks in advance
centos yum proxy
asked May 30 at 12:30
origins523
62
62
Can you get out onto the www via the proxy using any other services i.e. with curl?
â Raman Sailopal
May 30 at 13:44
I can curl google, but not mirrorlist.centos.org. So I guess I have a failing repository active, I'll try and comment if it solve the problem. Thanks a lot for the hint, didn't think of it:)
â origins523
May 31 at 6:51
I just have the base repo enabled, so still having the problem.
â origins523
Jun 1 at 8:00
@origins523: Can you provide some more specific information regarding your company proxy? Maybe thecurlyou have used? How applications authenticate there in general? Is it a NTLMv2 proxy (e.g. iscurloption--proxy-ntlmused)? etc. ...
â U880D
Jun 8 at 9:47
they changed some network configuration in our company environment, now we have to add the domain like this COM in front of the proxyuser in our yum.config. thanks anyway a lot for the help:)
â origins523
Jun 12 at 6:13
add a comment |Â
Can you get out onto the www via the proxy using any other services i.e. with curl?
â Raman Sailopal
May 30 at 13:44
I can curl google, but not mirrorlist.centos.org. So I guess I have a failing repository active, I'll try and comment if it solve the problem. Thanks a lot for the hint, didn't think of it:)
â origins523
May 31 at 6:51
I just have the base repo enabled, so still having the problem.
â origins523
Jun 1 at 8:00
@origins523: Can you provide some more specific information regarding your company proxy? Maybe thecurlyou have used? How applications authenticate there in general? Is it a NTLMv2 proxy (e.g. iscurloption--proxy-ntlmused)? etc. ...
â U880D
Jun 8 at 9:47
they changed some network configuration in our company environment, now we have to add the domain like this COM in front of the proxyuser in our yum.config. thanks anyway a lot for the help:)
â origins523
Jun 12 at 6:13
Can you get out onto the www via the proxy using any other services i.e. with curl?
â Raman Sailopal
May 30 at 13:44
Can you get out onto the www via the proxy using any other services i.e. with curl?
â Raman Sailopal
May 30 at 13:44
I can curl google, but not mirrorlist.centos.org. So I guess I have a failing repository active, I'll try and comment if it solve the problem. Thanks a lot for the hint, didn't think of it:)
â origins523
May 31 at 6:51
I can curl google, but not mirrorlist.centos.org. So I guess I have a failing repository active, I'll try and comment if it solve the problem. Thanks a lot for the hint, didn't think of it:)
â origins523
May 31 at 6:51
I just have the base repo enabled, so still having the problem.
â origins523
Jun 1 at 8:00
I just have the base repo enabled, so still having the problem.
â origins523
Jun 1 at 8:00
@origins523: Can you provide some more specific information regarding your company proxy? Maybe the
curl you have used? How applications authenticate there in general? Is it a NTLMv2 proxy (e.g. is curl option --proxy-ntlm used)? etc. ...â U880D
Jun 8 at 9:47
@origins523: Can you provide some more specific information regarding your company proxy? Maybe the
curl you have used? How applications authenticate there in general? Is it a NTLMv2 proxy (e.g. is curl option --proxy-ntlm used)? etc. ...â U880D
Jun 8 at 9:47
they changed some network configuration in our company environment, now we have to add the domain like this COM in front of the proxyuser in our yum.config. thanks anyway a lot for the help:)
â origins523
Jun 12 at 6:13
they changed some network configuration in our company environment, now we have to add the domain like this COM in front of the proxyuser in our yum.config. thanks anyway a lot for the help:)
â origins523
Jun 12 at 6:13
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446897%2fcentos7-yum-proxy-authentification-failed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you get out onto the www via the proxy using any other services i.e. with curl?
â Raman Sailopal
May 30 at 13:44
I can curl google, but not mirrorlist.centos.org. So I guess I have a failing repository active, I'll try and comment if it solve the problem. Thanks a lot for the hint, didn't think of it:)
â origins523
May 31 at 6:51
I just have the base repo enabled, so still having the problem.
â origins523
Jun 1 at 8:00
@origins523: Can you provide some more specific information regarding your company proxy? Maybe the
curlyou have used? How applications authenticate there in general? Is it a NTLMv2 proxy (e.g. iscurloption--proxy-ntlmused)? etc. ...â U880D
Jun 8 at 9:47
they changed some network configuration in our company environment, now we have to add the domain like this COM in front of the proxyuser in our yum.config. thanks anyway a lot for the help:)
â origins523
Jun 12 at 6:13