Recurrent error with Atlas Serverless MongoDB connection - Error: "unable to write wire message to network: write tcp"

Hello @Tomas_Gomez and @Felipe_Garcia ,

Welcome to The MongoDB Community Forums! :wave:

To understand your use case better, I would like to know a few details such as:

  • Which Official MongoDB Driver are you using?
  • Driver version
  • Have you enabled retryable read/write?
  • Any specific operations that you see are being done when you get this error?

You can take a look at below thread as a similar error has been discussed there

Lastly, I would recommend you go through below documentation to understand more about retryable read/write operations and how MongoDB can you help you build resilient applications that can withstand network outages and failover events.

Regards,
Tarun