Connection error "TransientTransactionError" on windows

yesilcimen shared this problem 3 years ago
Cannot Reproduce

Hi

i downloaded latest version on website but when i was tried connection with url. its throwing an exception.

mongodb://myuser:mypassword@myserver:27017/mydbname


/AMHENKuXY0GVmDjWNQfORKXvPIyKD

Replies (1)

photo
1

Have you tried using mongo shell to connect to the DB server? Will it connect successfully?

photo
1

sure. i used mongodb://myuser:mypassword@myserver:27017/mydbname this url in my config and connecting successfully.

photo
1

Thank you for your feedback.

From the information you provided, I have no way to reproduce the bug locally, and it is difficult to guess how to solve the problem. I would like to know what version of MongoDB server you are using, and what special configuration is there for your server?

And, We just released 5.0 RC1. In v5.x, we upgrade MongoDB NodeJS driver to the latest 3.1. If possible, could you please give 5.0 RC1 a try?

photo
1

i tried RC 5.0 but its not worked.


/fb70cc317a2deabaa32bf93d2c57fc1c

photo
1

Open "Connection Editor"-> Click "Test Connection" Button,

After execution, the first line should look like this

08:41:15.636 *** Starting MongoClient.connect ***

{"options":{"appname":"NoSQLBooster","autoReconnect":true,"keepAlive":60000,"minSize":0,"poolSize":0,"promoteLongs":false,"promoteValues":false,"reconnectTries":172800,"socketTimeoutMS":0,"sslValidate":false,"useNewUrlParser":false},"uri":"mongodb://127.0.0.1:27017"}


Can you confirm that the information in the options is the same as when you connect using the mongo shell?

photo
1

yes, its same...{"options":{"appname":"NoSQLBoosterV5_95921.541","autoReconnect":true,"keepAlive":60000,"minSize":0,"poolSize":0,"promoteLongs":false,"promoteValues":false,"reconnectTries":172800,"socketTimeoutMS":0,"sslValidate":false,"useNewUrlParser":false},"uri":"mongodb://myuser:mypassword@myserver:27017/mydatabase?authSource=mydatabase"}

photo
Leave a Comment
 
Attach a file