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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...