Jump to content
  • 0

Mongodb Connect Error


Nilava Chowdhury
 Share

Question

### Short description
Cant connect to mongodb replica set on cloud atlas

### Environment

* Ubuntu 18.04 & Latest Enterprise Edition

### Logs
__Place logs on [pastebin](http://pastebin.com/) or elsewhere and put links here__

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcat.cluster' defined in class path resource [jee-container.xml]: Cannot create inner bean 'io.antmedia.enterprise.cluster.ClusterStore#6cf0e0ba' of type [io.antmedia.enterprise.cluster.ClusterStore] while setting bean property 'clusterStore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'io.antmedia.enterprise.cluster.ClusterStore#6cf0e0ba' defined in class path resource [jee-container.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.antmedia.enterprise.cluster.ClusterStore]: Constructor threw exception; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=ant-media.1dy4f.azure.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: ant-media.1dy4f.azure.mongodb.net: No address associated with hostname}, caused by {java.net.UnknownHostException: ant-media.1dy4f.azure.mongodb.net: No address associated with hostname}}]

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

 Share


×
×
  • Create New...