EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Get 100354 error connecting to vendors AS2 server

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 12/11/2013 10:50:03
by John Wallwork (Basic support level)
Joined: 12/03/2013
Posts: 5

I keep getting a 100354- Communication failed for unidentified reason during sending request or retrieving response, when trying to send an AS2 message to a vendors AS2 server.

I get the message with my code and with the sample AS2 sender program provided by Eldos. When the send is issued, it takes about 15 to 20 seconds and then returns the 100354 error. The Vendors AS2 server is supposed be listening on port 4080.
When I telnet to the port, I do get a response from their server, so it appears to be listening. Is there any way to log what is happening during the send command?

The following URI is what I am calling, per their AS2 profile they sent.


To test the vendor's server further, I downloaded a demo version of an AS2 server product that is able to establish a connection and get a receipt from it.
Posted: 12/12/2013 01:28:30
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Error code 100354 stands for SB_HTTP_ERROR_REQUEST_NOT_COMPLETED. This error happens when server doesn't send any response to client request or its response it not full.

Is there any way to log what is happening during the send command?

Yes you can handle next TElAS2Client events: OnData, OnDocumentBegin, OnDocumentEnd, OnPreparedHeaders, OnReceivingHeaders. These event handlers will let you know what happens on both send and receive stages.
Posted: 12/13/2013 08:27:44
by John Wallwork (Basic support level)
Joined: 12/03/2013
Posts: 5

I added logging to the event handlers you listed and executed my code. The only event handler that fired off was the OnPreparedHeaders. After it executed I got the "100354" error. The Prepared headers listed are the following:

Host: bpsedi.basspro.com:4080
Content-Length: 1198
AS2-From: "Waste Disposal Solutions"
AS2-To: "Bass Pro Shops"
AS2-Version: 1.0
Date: Fri, 13 Dec 2013 09:24:02 GMT
Message-ID: <201312130924020058@07017189>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----=_NextPart_319_5834_4162103916904861"
Connection lost (error code is 100354)

Could it be a handshake or a protocol negotiating issue? Clients admin says they do not see the attempted connection.
Posted: 12/13/2013 08:50:17
by Vsevolod Ievgiienko (EldoS Corp.)

I recommend you to use Wireshark to dump the data exchange. Currently it looks like TElAS2Client sends the request and server doesn't respond for some reason.
Posted: 12/13/2013 14:02:54
by John Wallwork (Basic support level)
Joined: 12/03/2013
Posts: 5

Here is wireshark showed:

78   6.544131000   TCP   66   62176 > lorica-in [SYN] Seq=0 Win=8192 Len=0 MSS=1260 WS=256 SACK_PERM=1

79   6.606994000   TCP   66   lorica-in > 62176 [SYN, ACK] Seq=0 Ack=1 Win=16384 Len=0 MSS=1300 WS=1 SACK_PERM=1

80   6.607087000   TCP   54   62176 > lorica-in [ACK] Seq=1 Ack=1 Win=66560 Len=0

81   6.609265000   TCP   1314   62176 > lorica-in [ACK] Seq=1 Ack=1 Win=66560 Len=1260

82   6.609288000   TCP   1314   62176 > lorica-in [ACK] Seq=1261 Ack=1 Win=66560 Len=1260

83   6.655666000   TCP   60   lorica-in > 62176 [ACK] Seq=1 Ack=2521 Win=65535 Len=0

84   6.655723000   TCP   576   62176 > lorica-in [PSH, ACK] Seq=2521 Ack=1 Win=66560 Len=522

87   6.840025000   TCP   60   lorica-in > 62176 [ACK] Seq=1 Ack=3043 Win=65013 Len=0

4905   39.353835000   TCP   60   lorica-in > 62176 [RST, ACK] Seq=1 Ack=3043 Win=0 Len=0

Posted: 12/16/2013 01:45:03
by Vsevolod Ievgiienko (EldoS Corp.)

Could you attach the full log here or post it via Helpdesk. Attached log doesn't give much information.
Posted: 12/19/2013 12:48:19
by John Wallwork (Basic support level)
Joined: 12/03/2013
Posts: 5

That is the full log of the transmissions between the servers.
Posted: 12/20/2013 01:35:20
by Vsevolod Ievgiienko (EldoS Corp.)

OK could you attach a log exported from Wireshark to a file.
Posted: 12/20/2013 01:57:01
by Vsevolod Ievgiienko (EldoS Corp.)

I've moved this topic to Helpdesk. You'll receive notification by e-mail. Please attach the file there.
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.



Topic viewed 2228 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!