Question

What is the URL format MongoDB Reader needs for MongoDB Atlas?


Hi everyone,

I'm using FME 2017.1.1.1 (20171014 - Build 17652 - WIN32) and I can't figure out the URL format I need to put in the MongoDB Reader for MongoDB Atlas. My co-worker tried with FME 2018 Build 18220, and he had the same issue.

For my local MongoDB, the "localhost" works fine.

But if I try to connect to MongoDB Atlas, I can't able to connect.

I tried:

  • mongodb+srv://gettingstarted-46yzp.mongodb.net/test?retryWrites=true

     

    • Error is: Cannot connect: More than one ':' detected. If this is an ipv6 address, it needs to be surrounded by '[' and ']'
  • mongodb://gettingstarted-46yzp.mongodb.net/test?retryWrites=true
    • Removed: +srv

       

    • Error still same: Cannot connect: More than one ':' detected. If this is an ipv6 address, it needs to be surrounded by '[' and ']'
  • gettingstarted-46yzp.mongodb.net/test?retryWrites=true
    • Removed: mongodb

       

    • Error is: Cannot connect: no unix socket support on windows
  • gettingstarted-46yzp.mongodb.net/test
    • Removed: ?retryWrites=true

       

    • Error still same: Cannot connect: no unix socket support on windows
  • gettingstarted-46yzp.mongodb.net
    • Removed: /test
    • Error is: Cannot connect: couldn't initialize connection to host gettingstarted-46yzp.mongodb.net, address is invalid

Does FME support connection to MongoDB Atlas?

Thank you,

Jean


0 replies

Be the first to reply!

Reply