[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] ERROR 407: authenticationrequired
From: |
Юрий Фролов |
Subject: |
[Bug-wget] ERROR 407: authenticationrequired |
Date: |
Mon, 20 Jul 2015 14:55:09 +0300 |
Hello! My name is Yury. I'm having trouble using wget. My OS Ubuntu14.10,
wget version "GNU Wget 1.15 built on linux-gnu
+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl
"
In my organization access to Internet implemented through a proxy (ntlm).
I configured files /etc/wgetrc and /<users>/.wgetrc
proxy_user=D123
proxy_password=Rgd,43
http_proxy=http://10.1.1.1:84/
ftp_proxy=http://10.1.1.1:84/
real login and password are hidden
then do, for example, and recive error
wget -dv http://docs.puppetlabs.com/guides/install_puppet/post_install.html
Setting --verbose (verbose) to 1
DEBUG output created by Wget 1.15 on linux-gnu.
URI encoding = ‘UTF-8’
URI encoding = ‘UTF-8’
--2015-06-02 12:15:14--
http://docs.puppetlabs.com/guides/install_puppet/post_install.html
Connecting to 10.1.1.1:84... connected.
Created socket 3.
Releasing 0x0000000001d9f840 (new refcount 0).
Deleting unused 0x0000000001d9f840.
---request begin---
GET http://docs.puppetlabs.com/guides/install_puppet/post_install.html
HTTP/1.1
User-Agent: Wget/1.15 (linux-gnu)
Accept: */*
Host: docs.puppetlabs.com
Connection: Close
Proxy-Connection: Keep-Alive
Proxy-Authorization: Basic QTYwMjMyNjpSZmhmdixmMTIj
---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.1 407 authenticationrequired
Date: Tue, 02 Jun 2015 09:15:28 GMT
Content-Type: text/html
Cache-Control: no-cache
Content-Length: 8458
Proxy-Connection: Keep-Alive
Proxy-Authenticate: Negotiate
Proxy-Authenticate: NTLM
---response end---
407 authenticationrequired
Registered socket 3 for persistent reuse.
Disabling further reuse of socket 3.
Closed fd 3
2015-06-02 12:15:15 ERROR 407: authenticationrequired.
In apt.conf proxy configured and apt successfully works.
After installel cntlm, configured and in conf. files wget (wgetrc) add
lines
http_proxy=http://127.0.0.1:3128/
use_proxy=on
do
wget -dv http://ya.ru
Setting --verbose (verbose) to 1
DEBUG output created by Wget 1.15 on linux-gnu.
URI encoding = ‘UTF-8’
URI encoding = ‘UTF-8’
--2015-07-20 17:06:20-- http://ya.ru/
Connecting to 127.0.0.1:3128... connected.
Created socket 3.
Releasing 0x0000000001406d60 (new refcount 0).
Deleting unused 0x0000000001406d60.
---request begin---
GET http://ya.ru/ HTTP/1.1
User-Agent: Wget/1.15 (linux-gnu)
Accept: */*
Host: ya.ru
Connection: Close
Proxy-Connection: Keep-Alive
---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.1 407 authenticationrequired
Date: Mon, 20 Jul 2015 11:06:22 GMT
Content-Type: text/html
Cache-Control: no-cache
Content-Length: 8352
Proxy-Connection: Keep-Alive
Connection: close
Proxy-Authenticate: Basic realm="Cntlm for parent"
---response end---
407 authenticationrequired
Closed fd 3
2015-07-20 17:06:20 ERROR 407: authenticationrequired.
Error repeated.
1. This feature vget?
2. Vget can not work with ntlm?
3. I do not properly use vget (customizable)?
4. Or something else?
I will be glad to your response.
P.S. Excuse my English, it is still not very good
- [Bug-wget] ERROR 407: authenticationrequired,
Юрий Фролов <=