Connecting to connected... 407 authentication required

Asked by gnaveen garg

naveen@naveen-Extensa-4620:~$ wget

--2013-01-09 00:57:05--
Connecting to connected.
Proxy request sent, awaiting response... 407 Proxy Authentication Required
2013-01-09 00:57:05 ERROR 407: Proxy Authentication Required.

AND THIS IS WHAT I GET WHEN I ENTER..... sudo gedit /etc/apt/apt.conf
Acquire::http::proxy "http://username:password@";
Acquire::https::proxy "https://username:password@";
Acquire::ftp::proxy "socks://username:password@";
Acquire::socks::proxy "socks://username:password@";

Question information

English Edit question
Ubuntu wget Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

Use gksudo with GUI apps (like gedit), not sudo.

Can you download the file ok with the web browser?
Do you use a proxy for web access?

Revision history for this message
Best Manfred Hampl (m-hampl) said :

I think the problem is that wget is not using the apt settings for proxy.
For wget when called directly, you have to set the proxy inside .wgetrc or set the http_proxy environment variable

Revision history for this message
gnaveen garg (ngnaven) said :

Thanks Manfred Hampl, that solved my question.