Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7735

MongoDB Connection Issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 1.11.4
    • None
    • Extensions
    • Windows 10

    Description

      Hi,
       
      I've set NiFi on my local machine for my learning purposes. I'm trying to do a small poc pipeline which loads the data from my local system to MongoDB, which is hosted on cloud. 
       
      But, when giving the mongodb connection string as, 'mongodb+srv://', it didn't work. I tried removing the srv and gave it as 'mongodb://', I'm getting a connection timed out error "Timed out after 30000 ms while waiting for a server"
       
      Is it a mongo db driver related? I'm using NiFi version 1.11.4. I want to know the version of mongo db driver and how we can to mitigate this issue.
       
      I'm able to connect to the database using MongoDB Compass.
       
      Thanks,
      Venkatesh Raman

      Attachments

        Activity

          People

            Unassigned Unassigned
            Venkatesh Raman Venkatesh Raman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified