02-16-2017, 01:31 AM
Hello,
I have a HTTP proxy that requires authentication and I'd like to use it for tracker communications.
I went to Options -> Connection -> Proxy, ticked [x] Enable proxying of tracker communications and put in my proxy address, port, username and password. Then I restarted Vuze.
Unfortunately it does not work. Vuze reports:
I verified the authentication problem with tcpdump and indeed no proxy authentication is sent by Vuze. Here's the request:
There is no Proxy-Authorization header in the request. Compare to a typical request sent by a web browser:
Note the Proxy-Authorization header, which is required to authenticate to the HTTP proxy.
Is this a bug in Vuze or is it just not supported, despite the UI allowing me to enter username and password for the HTTP proxy?
I have a HTTP proxy that requires authentication and I'd like to use it for tracker communications.
I went to Options -> Connection -> Proxy, ticked [x] Enable proxying of tracker communications and put in my proxy address, port, username and password. Then I restarted Vuze.
Unfortunately it does not work. Vuze reports:
Code:
[tracker] Error from scrape interface https://tracker.example.com.invalid/scrape.php : Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required" (class java.io.IOException)
I verified the authentication problem with tcpdump and indeed no proxy authentication is sent by Vuze. Here's the request:
Code:
CONNECT tracker.example.com.invalid:443 HTTP/1.1
User-Agent: Java/1.8.0_121
Host: tracker.example.com.invalid
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Proxy-Connection: keep-alive
There is no Proxy-Authorization header in the request. Compare to a typical request sent by a web browser:
Code:
CONNECT www.example.com.invalid:443 HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Proxy-Connection: keep-alive
Connection: keep-alive
Host: www.example.com.invalid:443
Proxy-Authorization: Basic cMirc3k6a69sbG8=
Note the Proxy-Authorization header, which is required to authenticate to the HTTP proxy.
Is this a bug in Vuze or is it just not supported, despite the UI allowing me to enter username and password for the HTTP proxy?