Mongo Origin

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

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?

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