2016-12-16 26 views
1

centos 6.8でwgetのプロキシを使用してWebサイトに接続しようとしたときに、次のエラーメッセージが表示されます。centos6.8 wgetエラー:プロキシ認証が必要

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 

私は、このコマンドが実行されている確認

を確認しました。

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

〜/ .wgetrc

これはこれは、wget

のバージョンであるwgetのバージョン

〜/ .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 proxy authentication errorも読んでいますが、変更はありません。

どこで確認すればよいですか?間違いはどこですか?

答えて

1

私はこの問題を解決できました。私はproxy_userproxy_passwdの値を変更しました。

、BEFORE

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" 

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 

後、私はproxy_userproxy_passwd

ため '"' 必要はありません
関連する問題