IBM Support

MASUSERYNC issue: 504 Gateway Time-out

Troubleshooting


Problem

When trying to synchronize a large amount of users, MASUSERYNC throws an error in cron log pod: BMXLM0504E - HTTP Response Code 504: 504 Gateway Time-out.

Symptom

With Gateway Time-out error, the users cannot be synchronized from Manage to MAS.

Diagnosing The Problem

After running MASUSERSYNC cron task, check cron pod log:
[ERROR] [MaximoCRON] [CID-CRON-194] BMXLM0504E - HTTP Response Code 504: <html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>
By default, the batch size for users synchronization is 200:
int batchSize = 200;
String batchSizeString = MicUtil.getProperty("mxe.maxuserbatchsize");

Resolving The Problem

To resolve this issue, you need to decrease batch size, so issues related to synchronization can be checked in pod files:
1. Go to System Properties application;
2. Click New Row:
image-20240611100443-1
3. Add mxe.maxuserbatchsize in property name, a description for the property, and 100 as global value:
image-20240611101356-2
4. Click Save Property, and then Live Refresh, in Common Actions.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m50000000CbHdAAK","label":"System Administration-\u003EUsers"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
11 June 2024

UID

ibm17157043