-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error: MongoError: "Connection failed: Failed to decode base64" #411
Comments
Can you give more backstory? what db cluster is this? Atlas? Do you have non base64 decodable chars in your string? |
Sure! I'm trying to connect to a free tier Atlas cluster and this is what my connection string basically looks like: const DATABASE_URL = "mongodb+srv://admin:123456@cluster/db?authMechanism=SCRAM-SHA-1" Username and password contain only Base64 chars. Connection establishes without any problems when using mongo@v0.32.0 or earlier, but fails when using mongo@v0.33.0. |
I think it's related to #406 |
I have this for 0.33
|
Is still happening on v0.34 |
Has anyone found a fix for this? |
After upgrading to mongo@v0.33.0, the connection consistently fails with the error "Connection failed: Failed to decode base64", occurring both locally and on Deno Deploy. I had to downgrade to mongo@v0.32.0 for now.
The text was updated successfully, but these errors were encountered: