ERROR: in NoSqlBooster trying to connect to MongoDB Server - mongodb

I have this error trying to connect MongoDB server in NoSqlBooster with the connection string
Error: "options 3t.alwaysshowauthdb, 3t.alwaysshowdbfromuserrole, 3t.connection.name, 3t.databases, 3t.ssltlsversion, 3t.uriversion are not supported"
enter image description here

Related

ORA-12170: TNS:Connect timeout occurred IBM Cloud Pak

I was trying to connect DataStage on IBM Cloud Pak to my Oracle database using 'Oracle (optimize) connection' and kept having the error said:
"The test was not successful.
The assets request failed: Connection failed: {"failure_message":"[The connector could not establish connection to the specified Oracle server. Method: OCIServerAttach, Error code: 12170, Error message ORA-12170: TNS:Connect timeout occurred.]","status":"failure"}". What is the possible reason, and what should I do?

Mongodb server selection error: connection monitor closed

MongoServerSelectionError: connection to ******* closed.
The day I installed mongodb
I added IP address, database user, connection type: mongodb shell, mongosh, run using cmd. It was working fine, but since then this is the error I'm getting:
MongoServerSelectionError: connection <monitor> to ******* closed. whenever I try to connect.I run connection string, type my password and then this error: MongoServerSelectionError. How to resolve?

Error establishing direct connection to mongo node at [ip:port]. Error output: no reachable servers and SASl

I am using MongoDB with a replica set. When I am trying to create a metricbeat MongoDB module am not sure How to give a URL. I don't understand how to solve it. when uncommenting the ssl.verification_mode: 'none' then getting "no reachable servers error". if you comment the ssl.verification_mode: 'none' then getting saslcontinue.mechanism error.
metricbeat version: 7.11.1
MongoDB: 5.0
#ssl.verification_mode: 'none' mongodb/mongodb.go:98 Error establishing direct connection to mongo node at [ip:27017]. Error
output: server returned error on SASL authentication step: BSON field
'saslContinue.mechanism' is an unknown field. module/wrapper.go:259
Error fetching data for metric set mongodb.status: error creating new
Session: server returned error on SASL authentication step: BSON field
'saslContinue.mechanism' is an unknown field.
ssl.verification_mode: 'none':
"error": { "message": "error creating new Session: no reachable
servers"

using mongdb in docker with Go

i tried to run MongoDB in docker-compose and connect my Go server with MongoDB in docker seem not to work for me, thought i already use mongodb:MyContanerName:27017
when i run my go server and then i tired to request on my client, the error something like this
2019/09/08 14:10:37 Unexpected error: rpc error: code = Internal desc = internal error: server selection error: server selection timeout
current topology: Type: Unknown
Servers:
Addr: mongo:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection(mongo:27017[-125]) connection is closed
i already did docker-compose up -d for my docker, and it was running on my docker ,
the full code is trigger here golang and mongodb

How can I write a query to connect mongodb?

I have installed mongodb in different server. I have modified my old code
db: 'mongodb://localhost/dev',
to new code
my username : proUseAdd
password : mongodb#23
ip : 169.213.64.127
I modified like this
db: 'mongodb://proUseAdd:mongodb#23#169.213.64.127:27017/dav',
I am getting this error
Could not connect to MongoDB!
Error: failed to connect to
[23#169.213.64.127:27017]
UPDATE
i have tried changed my password:mongodb23
query strin:
db: 'mongodb://proUseAdd:mongodb23#169.213.64.127:27017/dav',
still i'm getting error
Could not connect to MongoDB!
Error: failed to connect to
[169.213.64.127:27017]
Change your password to something which doesn't contain #.
While parsing your connection string, MongoDB driver looks for the # character to separate your credentials and the host name. Since your password has an # in it, it recognizes your credentials as proUseAdd:mongodb and your host name as 23#169.213.64.127:27017.