I am struggling to make openAS2 work with our partner.
Have been through many obstacles and got to the point where things seem to work, but I can't successfully send a message to the partner, and the partner is getting an error sending a message to me (although I get the message just fine, decrypted and with verified signature).
In case of an incoming MDN for a message I send, I'm getting this in my TRACE log:
========BEGIN MIMEBODYPART=========
Date: Wed, 21 Jun 2017 16:19:04 GMT
Content-Type: text/plain
AS2-To: XXXXXXXXXXXX
AS2-From: YYYYYYYYYYYYYY
Transfer-Encoding: chunked
Server: Apache/2.2.17 (Unix) DAV/2
Connection: close
Error 4:libusl.c:mime_header_read_field():: Unallowed char in the value of header : 'date'. Header is corrupted.
========END MIMEBODYPART=========
When the partner sends a message to me, he's getting a very similar complaint:
The "elaborate" date format seems ubiquitous in the internet messaging world, and as far as I understand seems to be allowed in HTTP headers.
What am I missing here?
Regards
Stan
Last edit: Stan Winiecki 2017-06-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I replied, but the message disappeared without any notice about moderation or something.
In short, thanks a lot for pointing me to the right spot - the TRACE level log apparently lied to me, because in the MDN file the date was formatted... in Polish, with a special character.
OpenAS2 uses the Windows system regional settings for constructing headers :( Changed the regional settings and voila, no errors.
Thank you very much again and regards
Stan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am struggling to make openAS2 work with our partner.
Have been through many obstacles and got to the point where things seem to work, but I can't successfully send a message to the partner, and the partner is getting an error sending a message to me (although I get the message just fine, decrypted and with verified signature).
In case of an incoming MDN for a message I send, I'm getting this in my TRACE log:
When the partner sends a message to me, he's getting a very similar complaint:
The "elaborate" date format seems ubiquitous in the internet messaging world, and as far as I understand seems to be allowed in HTTP headers.
What am I missing here?
Regards
Stan
Last edit: Stan Winiecki 2017-06-21
Hi Stan,
Thanks && Regards,
Nick
Hi Nick,
I replied, but the message disappeared without any notice about moderation or something.
In short, thanks a lot for pointing me to the right spot - the TRACE level log apparently lied to me, because in the MDN file the date was formatted... in Polish, with a special character.
OpenAS2 uses the Windows system regional settings for constructing headers :( Changed the regional settings and voila, no errors.
Thank you very much again and regards
Stan