1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
As you may know already, MongoDB atlas requires an additional "+srv" thing in the connection URL, could you please check if you have included "+srv" in the URL.
MongoDB Atlas URL need to be provided in the format: mongodb+srv://mongoHost:mongoPort/mongoDBname.
You can also go through below AWS documentation to verify if you are missing any steps or configuration.
[1] MongoDB connections - https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect-mongodb-home.html
[2] Testing an AWS Glue connection - https://docs.aws.amazon.com/glue/latest/dg/console-test-connections.html
You can also refer below documentations to understand different deployment options.
https://aws-ia.github.io/cfn-ps-mongodb-atlas/#_deployment_options
Yes, my url is mongodb+srv://my-company.some-code.mongodb.net/db-name Where i get the url in this format? mongodb+srv://mongoHost:mongoPort/mongoDBname
Relevant content
- asked a month ago
- asked 8 months ago
- Accepted Answerasked 2 years ago
- asked 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
I am getting an identical error ("InvalidInputException: Unable to resolve any valid connection") when I try to test a glue connector to my mongoDB atlas database. The connection string, user and password work fine on another client.