Error sending messages after upgrade to version 4.1.0 #417
-
Hi, I have upgraded from OpenAS2 v2.14 to v4.1.0, managed to migrate all configurations and partnership configurations without much problems and it is working without any issues communicating with four partners but I still couldn't manage to make it work for two of them, this is where I need some help. For those two partners, when trying to send a message using v4.1.0, I'm getting two different errors:
The partnership configurations:
With the same configurations it works in OpenAS2 v2.14 but not with version 4.1.0, does anyone have a hint on what could be the issue? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
For both issues the logging is fairly cryptic and it would be best if you enabled TRACE level logging and uploadededthat with more of the preceding and succeeding log entries as there may be clues in there. For partner 1 it seems odd that there are cookie errors since cookies are not used in AS2 but that entry is just a WARN level log so is not the problem. The MDN your partner sent back reports some sort of arithmetic overflow which may mean it cannot do CHUNKED encoding transfers. For partner2 the MDN respoinse is more cryptic but possibly caused by the same underl;ying issue. The most likely solution is to prevent chunking for those parterns. |
Beta Was this translation helpful? Give feedback.
-
Hi @uhurusurfa, Thanks for the fast reply. For partner 1, it uses the config no_chunked_max_size=15728640, I've tested adding also prevent_chunking=true but with no success. Note that with the same configurations shared above for partner 1 and 2 it works for OpenAS2 v2.14 but not for v4.1.0, I'm still trying to do some debug, it seems that it could be related with something in the MDN validation. I going to enable TRACE for logging and will share it here. Thanks |
Beta Was this translation helpful? Give feedback.
-
The main change in 4.x was to use CHUNKED mode by default for sending. |
Beta Was this translation helpful? Give feedback.
-
I think it might have been some mistake on my side 😅 I've add back the prevent_chunking=true to that particular partnership and prevent_chunking=false to all others, rebuild the image and it worked, it is now sending the messages with success. Thank you again for helping and pointing to the right direction. |
Beta Was this translation helpful? Give feedback.
For both issues the logging is fairly cryptic and it would be best if you enabled TRACE level logging and uploadededthat with more of the preceding and succeeding log entries as there may be clues in there.
For partner 1 it seems odd that there are cookie errors since cookies are not used in AS2 but that entry is just a WARN level log so is not the problem. The MDN your partner sent back reports some sort of arithmetic overflow which may mean it cannot do CHUNKED encoding transfers.
For partner2 the MDN respoinse is more cryptic but possibly caused by the same underl;ying issue.
The most likely solution is to prevent chunking for those parterns.
See the section "Content Length Versus Chun…