Mantis - Hessian
Viewing Issue Advanced Details
3430 minor always 04-01-09 08:09 04-01-09 08:09
jmartell7  
 
normal  
new  
open  
none    
none  
0003430: Hessian client fails to connect through proxy when using chunking
My problem seems very similar to 0001149 where there's an issue with connecting through a proxy server. I'm using version 3.2.0 connecting to a squid proxy. If do proxyFactory.setChunkedPost(false), I get no exception. If I leave the default (true), I get


com.caucho.hessian.client.HessianConnectionException: 501:
       java.io.IOException: Server returned HTTP response code: 501 for URL:
       http://SERVERURLHERE [^]
        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:197)
        at $Proxy1.getData(Unknown Source)
    Caused by: java.io.IOException: Server returned HTTP response code: 501
       for URL: http://SERVERURLHERE [^]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor AccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at
       sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.jav
       a:1345)
        at java.security.AccessController.doPrivileged(Native Method)
        at
       sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURL
       Connection.java:1339)
        at
       sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConne
       ction.java:993)
        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:179)


My headers look the same as bug 0001149. Thanks,

Joshua

There are no notes attached to this issue.