'php mongodb no suitable servers found ( serverselectiontryonce set)
This is connection string mongodb://$connection/?tls=true&tlsCAFile=rds-combined-ca-bundle.pem&replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false&w=majority
It is working via API call. but import into php packages i'm getting below error..
No suitable servers found (serverSelectionTryOnce set): [connection error calling hello on 'hostname:27017']
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
