You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
At the last step of creating the MongoDB service, I am getting the following error.
Environment: Macbook running BOSH v2 and CF CLI with BOSH and CF setup on VirtualBox. MongoDB running as standalone on Macbook on NAT network.
It seems that CF is not able to reach the mongodb server running on my macbook. I provided the correct MongoDB auth details and the ip address in the Manifest file.
~/workspace/cloudfoundry-service-broker> cf cs mongodb default mymongodb
Creating service instance mymongodb in org atg / space test-space as admin...
FAILED
Server error, status code: 502, error code: 10001, message: Service broker error: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=192.168.50.1:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=192.168.50.1:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]
Your help will be really appreciated.
Thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
At the last step of creating the MongoDB service, I am getting the following error.
Environment: Macbook running BOSH v2 and CF CLI with BOSH and CF setup on VirtualBox. MongoDB running as standalone on Macbook on NAT network.
It seems that CF is not able to reach the mongodb server running on my macbook. I provided the correct MongoDB auth details and the ip address in the Manifest file.
~/workspace/cloudfoundry-service-broker> cf cs mongodb default mymongodb
Creating service instance mymongodb in org atg / space test-space as admin...
FAILED
Server error, status code: 502, error code: 10001, message: Service broker error: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=192.168.50.1:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=192.168.50.1:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]
Your help will be really appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: