Timeout on insert Mongo Atlas with Azure Serverless backend

Hi @Jeffrey_Tummers and welcome to the MongoDB community forum!!

In the Production Notes for Azure, it was recommended to set the TCP timeout setting to 120 sec, down from its default 240 sec. Is it possible for you to try using this value and see if the issue persists?

If the above problem persists, could you help me with a few details of the deployment.

  1. How frequently are you seeing the timeout error in the system.
  2. Does this happen for a specific type of insert in the the Atlas database?
  3. Where are the Atlas and the Azure application regions located?
  4. While seeing the error in the application, can you connect to Atlas outside of the application.
  5. Are you trying to do a specific kind of bulk inserts into the database?

Best Regards
Aasawari