Monday, February 7, 2011 Read channel closed

I am involved in an integration project for billing system, and my side provides APIs for authentication and provisioning, they work pretty well in my JMeter test script. However, caller side complain their code gets " Read channel closed" error.

Here is the stack trace:
com.sun.jersey.api.client.ClientHandlerException: Read channel closed
 at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(
 at com.sun.jersey.api.client.Client.handle(
 at com.sun.jersey.api.client.WebResource.handle(
 at com.sun.jersey.api.client.WebResource.access$300(
 at com.sun.jersey.api.client.WebResource$

 Basically, it is a connection related issue. After they change to http from https for REST/SOAP call endpoint, the issue was gone.

For the error, it is possible the SSL is not enabled, or the hostname of the cert does not match the
hostname of the server. (Weblogic has an option to ignore hostname verification, not sure what is the option in tomcat)

No comments:

Post a Comment