代理访问外网:https://api.weixin.qq.com/ 返回403--新手问题
13:14:08.029 [http-8080-10] DEBUG o.a.c.h.params.DefaultHttpParams - Set parameter http.authentication.preemptive = true
13:14:08.029 [http-8080-10] DEBUG o.a.c.h.params.DefaultHttpParams - Set parameter http.protocol.content-charset = UTF-8
13:14:08.029 [http-8080-10] DEBUG o.a.c.httpclient.HttpMethodDirector - Preemptively sending default basic credentials
13:14:08.029 [http-8080-10] DEBUG o.a.c.httpclient.HttpMethodDirector - Authenticating with BASIC <any realm>@api.weixin.qq.com:443
13:14:08.030 [http-8080-10] WARN o.a.c.httpclient.HttpMethodDirector - Required credentials not available for BASIC <any realm>@api.weixin.qq.com:443
13:14:08.030 [http-8080-10] WARN o.a.c.httpclient.HttpMethodDirector - Preemptive authentication requested but no default credentials available
13:14:08.030 [http-8080-10] DEBUG o.a.c.httpclient.HttpConnection - Open connection to 10.106.13.9:8085
13:14:08.031 [http-8080-10] DEBUG o.a.c.httpclient.HttpMethodDirector - Preemptively sending default basic credentials
13:14:08.031 [http-8080-10] DEBUG o.a.c.httpclient.HttpMethodDirector - Authenticating with BASIC <any realm>@10.106.13.9:8085
13:14:08.031 [http-8080-10] DEBUG o.a.c.h.params.HttpMethodParams - Credential charset not configured, using HTTP element charset
13:14:08.031 [http-8080-10] DEBUG httpclient.wire.header - >> "CONNECT api.weixin.qq.com:443 HTTP/1.1"
13:14:08.031 [http-8080-10] DEBUG o.a.c.httpclient.HttpMethodBase - Adding Host request header
13:14:08.031 [http-8080-10] DEBUG httpclient.wire.header - >> "Proxy-Authorization: Basic eGlhbmwtYXBwLWpxc2RBcHA6MTIzNDU2[\r][\n]"
13:14:08.032 [http-8080-10] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
13:14:08.032 [http-8080-10] DEBUG httpclient.wire.header - >> "Host: api.weixin.qq.com[\r][\n]"
13:14:08.032 [http-8080-10] DEBUG httpclient.wire.header - >> "Proxy-Connection: Keep-Alive[\r][\n]"
13:14:08.032 [http-8080-10] DEBUG httpclient.wire.header - >> "[\r][\n]"
13:14:08.033 [http-8080-10] DEBUG httpclient.wire.header - << "HTTP/1.1 403 Forbidden[\r][\n]"
13:14:08.033 [http-8080-10] DEBUG httpclient.wire.header - << "HTTP/1.1 403 Forbidden[\r][\n]"
13:14:08.033 [http-8080-10] DEBUG httpclient.wire.header - << "Server: Sun-Java-System-Web-Proxy-Server/4.0[\r][\n]"
13:14:08.033 [http-8080-10] DEBUG httpclient.wire.header - << "Date: Fri, 28 Oct 2016 05:17:56 GMT[\r][\n]"
13:14:08.033 [http-8080-10] DEBUG httpclient.wire.header - << "Content-length: 1052[\r][\n]"
13:14:08.033 [http-8080-10] DEBUG httpclient.wire.header - << "Content-type: text/html[\r][\n]"
13:14:08.033 [http-8080-10] DEBUG httpclient.wire.header - << "[\r][\n]"
13:14:08.034 [http-8080-10] DEBUG o.a.commons.httpclient.ConnectMethod - CONNECT status code 403
13:14:08.034 [http-8080-10] DEBUG o.a.c.httpclient.HttpMethodDirector - CONNECT failed, fake the response for the original method
13:14:08.034 [http-8080-10] DEBUG o.a.c.httpclient.HttpMethodBase - Buffering response body
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:162)
at java.io.BufferedInputStream.read(BufferedInputStream.java:325)
at org.apache.commons.httpclient.WireLogInputStream.read(WireLogInputStream.java:69)
at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)