Mongo Origin

asked 2019-10-18 10:36:28 -0500

bebemaz gravatar image

I am getting an error where my mongo origin is in windows. the connection string is as follows

mongodb://173.16.8.5:27017/test

where test is the default database that came with it. I have tried numerous configurations but cannot get streamsets to connect as a source.

CONTAINER_0800 - Can't start pipeline due 1 validation error(s). First one: CONTAINER_0701 - Stage 'MongoDB_01' initialization error: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector {readPreference=ReadPreference{name=secondaryPreferred}}. Client view of cluster state is {type=UNKNOWN, servers=[{address=173.16.8.5:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.SocketTimeoutException: connect timed out}}] at com.streamsets.datacollector.execution.runner.common.ProductionPipeline.run(ProductionPipeline.java:138)

edit retag flag offensive close merge delete

Comments

Are you able to test the connection from outside of SDC on the same machine where you have SDC installed?

iamontheinet gravatar imageiamontheinet ( 2019-10-21 11:10:15 -0500 )edit

I am also facing the same issue. Any suggestions would be appreciated.

Prabhudas8703 gravatar imagePrabhudas8703 ( 2020-09-25 04:31:00 -0500 )edit