Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Message blocked error occurs after migrating to AMP 5.7.21

SA-42025

Summary



Message blocked error occurs after migrating to AMP 5.7.21 Server (Business Gateway). This behavior is observed only in the AMP 5 Server compatibility mode with AMP 4 client.


Error Messages


com.vaultus.basiccommon.foundation.sync.SyncException: (ERR=0x0002000c=0:512:12) General error: (ERR=0x000100cd=0:256:205) Message blocked
at com.vaultus.basiccommon.foundation.sync.SyncException.convertToSyncException(SyncException.java:103)
.
.
. com.vaultus.vmsserver.core.sync.ServerPeerConnection.sendMessage(ServerPeerConnection.java:75)
... 17 more



Steps to Reproduce

  1. Upgrade from AMP 4.3.x Server (Business Gateway) to AMP 5.7.21 Server (Business Gateway)
  2. Log in to the AMP 5 server with AMP 4 client.
  3. Start a sync with amount of messages that exceed the configured or the default window size.
  4. Turn the device network connection off.

Root Cause

The Message Blocked error was a result of exceeding the window size (the number of Sent and Not Acknowledged messages) while sending messages to an AMP 4.3 client.


Resolution

Configuring the Message Send and Receive window size in the compatibility mode was added in the AMP 5.7.22. In the compatibility mode, the number of messages that AMP Business Gateway retains in the queue to be sent to the device without receiving ACKs, can be controlled. Configuring these parameters prevents messages from being blocked due to temporary network issues.

Both the Message Send and Receive window size can be configured in the COMM section within the
cluster.config configuration file:
[COMM]
TCP_SEND_WINDOW_SIZE = 50
TCP_RECEIVE_WINDOW_SIZE = 120


Published November 8, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us