Fix test-aws-lambda-deployed cluster connection timeout

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Go Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      The "test-aws-lambda-deployed" task always fails with an error like

       MongoServerSelectionError: Server selection timed out after 30000 ms. It looks like this is a MongoDB Atlas cluster. Please ensure that your Network Access List allows connections from your IP.
      

      Link to task:

      https://spruce.mongodb.com/task/mongo_go_driver_faas_test__version~7.0_os_faas_80~rhel87_large_test_aws_lambda_deployed_a709a1ddad0d2ec2b1276383d42eab6bc5bd73e3_25_08_07_13_35_35/logs?execution=0

      Context of when and why the failure occurred:

      The failure occurs consistently. Temporarily setting an "allow all traffic" rule to the "go" Atlas project network config allows the task to pass, suggesting it's related to the Atlas firewall config.

      Stack trace:

       Checking every 15 seconds for deployment to be created...
       {"advancedConfiguration":{"customOpensslCipherConfigTls12":[],"minimumEnabledTlsProtocol":"TLS1_2","tlsCipherConfigMode":"DEFAULT"},...
       Waiting for Deployment dbx-go-lambda-9a87d9764ee6e304 in Group 5e3875b7f2a30b07ca1ebae1... done.
       ...
       MongoServerSelectionError: Server selection timed out after 30000 ms. It looks like this is a MongoDB Atlas cluster. Please ensure that your Network Access List allows connections from your IP.
       Command 'subprocess.exec' (step 3 of 3) in block 'setup_group' failed: process encountered problem: exit code 1.
      

              Assignee:
              Matt Dale
              Reporter:
              Matt Dale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: