Hi, > java.io.IOException: Unable to tunnel through proxy. Proxy returns > "HTTP/1.0 400 Bad Request"
Hm. This sounds to me like the wrong http method is used. >From the Squid-FAQ: 1.12 Does Squid support SSL/HTTPS/TLS? As of version 2.5, Squid can terminate SSL connections. This is perhaps only useful in a surrogate (http accelerator) configuration. You must run configure with --enable-ssl. See https_port in squid.conf for more information. Squid also supports these encrypted protocols by ``tunelling'' traffic between clients and servers. In this case, Squid can relay the encrypted bits between a client and a server. Normally, when your browser comes across an https URL, it does one of two things: The browser opens an SSL connection directly to the origin server. The browser tunnels the request through Squid with the CONNECT request method. The CONNECT method is a way to tunnel any kind of connection through an HTTP proxy. The proxy doesn't understand or interpret the contents. It just passes bytes back and forth between the client and server. For the gory details on tunnelling and the CONNECT method, please see RFC 2817 and Tunneling TCP based protocols through Web proxy servers (expired). (http://www.squid-cache.org/Doc/FAQ/FAQ-1.html#ss1.12) Probably the xml-rpc routines need to differentiate the methods depending whether ssl and proxy is used or not?
