CentOS7 YUM Proxy Authentification failed

The name of the pictureThe name of the pictureThe name of the pictureClash 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







share|improve this question



















  • 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 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














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







share|improve this question



















  • 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 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












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







share|improve this question











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









share|improve this question










share|improve this question




share|improve this question









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 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
















  • 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 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















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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)