Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App close on replica set connection #196

Closed
pcorderoe opened this issue Feb 10, 2015 · 13 comments
Closed

App close on replica set connection #196

pcorderoe opened this issue Feb 10, 2015 · 13 comments

Comments

@pcorderoe
Copy link

Hi,
when i try to connect using a replica set option the program close. I have a cluster over Google Cloud. I'll try to connect using this mongodb://xxx.xxx.xxx.xxx:27017,xx.xx.xx.xx:27017 but don't work. Please help!

@jeromelebel
Copy link
Owner

Which version do you use? Do you mean there is a crash? Can you give me the full details of the crash?

@tdegrunt
Copy link

I'm able to connect to a replicaset, using the following for the servers field:

db1.ams2.do.dev:27017,db2.ams2.do.dev:27017,db3.ams2.do.dev:27017

If you enter it exactly like this, does it still crash?
Also have you filled in a "Set Name"?

If it still doesn't work, can you show a screenshot of the settings?

@pcorderoe
Copy link
Author

Thanks for your answers. I fill form like this:

Name:Replica Set
Set Name: rs0
Servers: mongodb://xxx.xxx.xxx.xxx:27017,xxx.xxx.xx.x:27017
ReadMode: Primary Preferred

errormongohub.pdf | uploaded via ZenHub

@tdegrunt
Copy link

Can you drop the mongodb:// and try again?

@jeromelebel
Copy link
Owner

jeromelebel commented Feb 12, 2015 via email

@pcorderoe
Copy link
Author

i try (without mongodb://) but show an error message: No aceptable peer could be found

@jeromelebel
Copy link
Owner

do you use ssh tunneling?

@tdegrunt
Copy link

Can you connect to each of the servers from the command line using the following?

mongo --host xxx.xxx.xxx.xxx:27017

If not, what are you using? Also the output of rs.status() on the mongo console might help debug this.

@pcorderoe
Copy link
Author

i am using normal connection, with Server: Standalone, one connection for each server, and work fine

@pcorderoe
Copy link
Author

I'm not using ssh tunneling

@jeromelebel
Copy link
Owner

Should be fixed in 3.1. I let you verify this issue and close it.

@bolerovt
Copy link

same problem here, can not connect replica set, but can connect to each stand alone server

@bolerovt
Copy link

do we need to wait until the mongo 3.1 to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants