java - SocketTimedOut when connecting to https Url through CXF -


i facing problem cxf framework trying connect https backend service. since service out side of network using proxy connect. getting sockettimedoutexception when set readtimeout value 60000 default. when set timeout 0(infinite) gives connectionresetexception after while. wrote program on own used httpsurlconnection connect same service proxy , able work it. under feeling connection not happening later came know that have thrown connectexception rather socketexception. gave me relief , want know how can deal socketexception, both timeout , connection reset.

please explain me whoever knows this.

thanks, sachin

you should blame on network or proxy, not codes. sockettimedoutexception , connectiontimedoutexception thrown when network blocked or weak. so, solution both exceptions smoothening network.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -