You need to sign in to do that
Don't have an account?
JohnBarnes
Socket Level connection timeout after 1 minute
We are having a strange issue with an integration we are writing around socket level timeouts. This is happening usually within a minute of the application running and doesn't appear to be a session management issue. This is happening while doing a series (sometimes as few as 70) of small SOQL queries (each returns one row) that happens at the beginning of the application.
We are seeing this exception:
java.net.ConnectException: Connection timed out: connect
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection timed out: connect
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
This is using JDK1.5.0_01 and Axis 1.2.1. and going against a trial version account that was upgraded to EE
Has anyone seen this or have any ideas of what may be causing the issue? Since itis an Axis/Java exception we are going to try various combinations of JVM's and Axis levels to see if that resolves it.
Any ideas or thoughts would be appreciated!
Thanks,
John
We are seeing this exception:
java.net.ConnectException: Connection timed out: connect
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection timed out: connect
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
This is using JDK1.5.0_01 and Axis 1.2.1. and going against a trial version account that was upgraded to EE
Has anyone seen this or have any ideas of what may be causing the issue? Since itis an Axis/Java exception we are going to try various combinations of JVM's and Axis levels to see if that resolves it.
Any ideas or thoughts would be appreciated!
Thanks,
John
We are using:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Axis 1.2
Error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.useception
faultSubcode:
faultString: java.net.SocketException: Connection reset
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketExcept
: Connection reset
FWIW, I've heard some reports that Axis 1.3 does a better job with socket resets, but I'm still eager to see if there is something that can be improved on our side.
The code has appropriate exception handling and attempts to work through the problem, but sometimes there are just too many resets to get through it.
-Brian
I'm sorry to hear you are having the same problem. We are going to try Axis 1.3 and Gzip but it sounds like that may not totally resolve the issue. How long have you been seeing the issue?
- John
I've been using axis 1.3 for a few weeks now and it was working well. I hadn't turned on the compression until last night (hoping that the compression would reduce download times lowering probability of timeout).
I'll definitely leave the compression on... it makes some operations 5x faster.
We aren't seeing this issue with any of the updates or inserts. Perhaps we will try Axis 1.3 and turn on the compression to see if that helps out as well, but the latency is probably on the SFDC end in this case and not in the transport.
The query I'm using is SELECT {field_list} from {table}. (Where field_list and table are set based on object descriptions). This code had been running for several weeks without these types of issues.
-Brian
You can contact me directly at Rick.Banister@sesamesoftware.com or visit http://www.sesamesoftware.com to download documentation or request a product demo. This is a very pain-free and automated product which could have you a replication warehouse in minutes with no design work.
here is an how to http://talendexpert.com/talend-salesforce-retry-logic-job/