Premature end of Content-Length delimited message body

Hi all,

We have instaled Mendelson OpenSource AS2 1.1 build 43, on Windows 7 32bits SP1.

Last week on start having this problem with some of our partnaires, not all of them.

I have tried with a fresh instalation of versions 43 and 49, and both versions have the same problem, i have tried to sent to mendelson test server too and its the same.

Error message:
MessageHTTPUploader.performUpload: [ConnectionClosedException]: Premature end of Content-Length delimited message body (expected: 3015; received: 3014

Log example:

[Jun 28, 2016 9:40:35 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: Outgoing message signed with the algorithm SHA-1,using keystore alias "Key1".
[Jun 28, 2016 9:40:35 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: Outgoing message encrypted with the algorithm 3DES, using keystore alias "Key1".
[Jun 28, 2016 9:40:35 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: Outbound AS2 message created from "test_AS2.txt" for the receiver "dell" in 32ms, raw message size: 2.76 KB
[Jun 28, 2016 9:40:35 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: Sending AS2 message to http://10.10.7.145:8080/as2/HttpReceiver, sync MDN requested.
[Jun 28, 2016 9:40:35 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: Connection problem, failed to transmit data.
[Jun 28, 2016 9:40:35 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: Will retry to send transmission after 30s, retry 1/10.
[Jun 28, 2016 9:40:35 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: MessageHTTPUploader.performUpload: [ConnectionClosedException]: Premature end of Content-Length delimited message body (expected: 3015; received: 3014
[Jun 28, 2016 9:41:06 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: Sending AS2 message to http://10.10.7.145:8080/as2/HttpReceiver, sync MDN requested.
[Jun 28, 2016 9:41:06 AM] mendelson_opensource_AS2-1467099635177-3@ten43_dell: MessageHTTPUploader.performUpload: [ConnectionClosedException]: Premature end of Content-Length delimited message body (expected: 3307; received: 3306

Thanks in advance for your help.

Nuno Teigao

Forum
AS2

Comments

Permalink

Hi,

We have found the solution, it's our antvirus http protection that have made an automatic update to some ports.

Thanks.

Permalink

Hi,

Thanks for your answer.
I understand that, my problem is from last week half of our partners have this problem.
I have instaled two new computers with mendelson V1.1b43 and i have the same problem with only one of them, next i have instaled mendelson V1.1b49 and the same problem, this two computers are directely connected, there is no switch between them. I supose it's a SO problem, i'm searching on it.

Thanks.

Profile picture for user service
Permalink

ten,

the content-length header describes the expected number of bytes in the HTTP respose. Looks as if your partner does send 1 less byte than he set in the content-type header.

Regards

In reply to by service

Permalink

What is the resolution for this issue, I installed the app on my computer and get this message with each sending of a file?

Thanks,

Kefer722

Profile picture for user service
Permalink

I found this:

Hi,

We have found the solution, it's our antvirus http protection that have made an automatic update to some ports.

Thanks.