What is the name of the domain?
What is the error number?
N/A
What is the error message?
Server selection timed out after 30000 ms There was a problem connecting to
What is the issue you’re encountering
We are experiencing connection timeouts when users attempt to connect to our MongoDB Atlas cluster through Compass, and we suspect the issue relates to our integration of Cloudflare Zero Trust and Warp with AWS VPC Peering.
What steps have you taken to resolve the issue?
Looking for:
Best Practices: Recommendations for configuring Cloudflare Zero Trust and Warp to work seamlessly with MongoDB Atlas and AWS VPC Peering.
Traffic Handling: Insights on managing user IP addresses and traffic routing through the Zero Trust Tunnel to MongoDB Atlas.
Diagnostic Tools: Suggestions for troubleshooting tools or techniques to identify the root cause of these connection issues.
What are the steps to reproduce the issue?
VPC Peering: We’ve set up a VPC Peering connection between MongoDB Atlas and AWS using Terraform. The connection is confirmed to be healthy.
Cloudflare Integration: Our VPC includes an EC2 instance running the Cloudflare daemon as part of our Zero Trust Tunnel. All end-users have the Cloudflare Warp client installed.
Issue: Despite the healthy VPC peering, users are experiencing connection timeouts when accessing the MongoDB Atlas cluster via Compass. We suspect the issue involves IP routing or traffic management through Cloudflare Zero Trust.