To resolve this we need to increase the timeout value for the Keycloak operation we need to do the following:
- Find IMS service settings file in Tomcat webapps folder. By default, it looks like:
C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ard#ims\WEB-INF\classes\application.properties
Open that file and go to line 36. You should see "ims.keycloak.timeout.read=35000"
Change value 90 seconds (ims.keycloak.timeout.read=90000)
- To apply changes restart IMS application in Tomcat
- Run "Sync users" from Hub Web UI
Note: If increased timeout does not help the operation to succeed, you will need to check how long the operation is taking, and adjust the ims.keycloak.timeout.read value to a greater amount of time. Such as, 3 to 5 minutes (180000 - 300000).