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

error="no reachable servers" #405

Open
danchengash opened this issue Jan 13, 2023 · 2 comments
Open

error="no reachable servers" #405

danchengash opened this issue Jan 13, 2023 · 2 comments

Comments

@danchengash
Copy link

session, err := mgo.Dial("mongodb://user:login@localhost:27017")

the err returned sis no reachable server on go 1.19.2

any solution

@Sata51
Copy link

Sata51 commented Jan 27, 2023

The GO version does not seems to affect mgo, but the mongodb version 6 does not seems to be supported

@theggs
Copy link

theggs commented Aug 30, 2024

It may be related to go version. I tried fine on go 1.15, but get no reachable server on go 1.22.

@danchengash have tried on lower go version?

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

No branches or pull requests

3 participants