2016-12-16 3 views
1

Ich habe folgende Fehlermeldung erhalten, wenn ich versuchte, eine Verbindung zur Website über Proxy mit wget auf Centos 6.8.centos6.8 wget Fehler: Proxy-Authentifizierung erforderlich

ERROR

wget http://www.yahoo.co.jp 
--2016-12-16 14:47:04 http://www.yahoo.co.jp 
Connecting to 172.30.10.124:8080... connected. 
Proxy request sent, awaiting response... 407 Proxy Authentication Required 
2016-12-16 14:47:04 ERROR 407: Proxy Authentication Required 

KARIERTE

Ich bestätige diesen Befehl ausgeführt wird.

export http_proxy='http://guest:[email protected]:8080' 
wget http://www.yahoo.co.jp 

~/.wgetrc

Dies ist Inhalt von ~/.wgetrc

http_proxy = 172.30.10.124:8080 
https_proxy = 172.30.10.124:8080 
ftp_proxy = 172.30.10.124:8080 
proxy_user = "guest" 
proxy_passwd = "gstPass" 
(I do not edit /etc/wgetrc) 

wget Version

Dies ist die Version von wget

GNU Wget 1.12 built on linux-gnu 

Ich lese auch wget proxy authentication error aber keine Änderung.

Wo soll ich nachsehen? Wo sind die Fehler?

Antwort

1

Ich könnte dieses Problem lösen. Ich habe den Wert von proxy_user und proxy_passwd geändert.

VOR

http_proxy = 172.30.10.124:8080 
https_proxy = 172.30.10.124:8080 
ftp_proxy = 172.30.10.124:8080 
proxy_user = "guest" 
proxy_passwd = "gstPass" 

NACH

http_proxy = 172.30.10.124:8080 
https_proxy = 172.30.10.124:8080 
ftp_proxy = 172.30.10.124:8080 
proxy_user = guest 
proxy_passwd = gstPass 

brauche ich nicht '"' für proxy_user und proxy_passwd