Home Gitesh Portfolio Blog About Me Gallery Contact

XM Cloud - The Operation has timed out

Error: The Operation has timed out
Error is happenning when you are in experience editor and happens randomly 1 to 2 times out of 10 times. Issue is not happening in XM Cloud env but happens in local env only.



Solution:
This could happen if your CM is very slow to respond.  You can give more power in your machine to CM env by modifying your docker-compose-override.yml file. Find your cm container definition and add the following lines:
​**** ADD THESE LINES **** 
deploy: 
   resources: 
     limits: 
      cpus: 1.0 <--- gives it a dedicated core 
      memory: 6GB <--- set this to a reasonable limit based on your machine specs. 
**** ADD THESE LINES ****

Second solution is to just wait and refresh your page. You can also increase the timeout value for CM in docker-compose.yml file.

Posted: 19/02/2023 1:16:20 p.m. by Gitesh Shah | with 0 comments