Skip to main content
Question

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

  • May 16, 2018
  • 0 replies
  • 24 views

jeand
Contributor
Forum|alt.badge.img+5

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.