You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found the problem. Ackee passes the URL to mongoose.connect so it theoretically supports this type of URL, but there's a stripUrlAuth function that removes the username and password from the URL before logging it to the console and this function can't deal with multiple URLs. See https://github.com/electerious/Ackee/blob/master/src/index.js#L19
A PR is welcome!
electerious
changed the title
invalid mongodb URL
Error when using MongoDB URL with replicas
Jan 15, 2022
🐞 Describe the bug
i'm using my default connection to my replicated instance of mongo db. The url is:
with MONGO1_URL, MONGO2_URL, MONGO3_URL fql names of the mongodb servers (that is currently used from many apps as mongodb uri),
but when the container start, it crash with:
and the error shows the desidered uri
it seems a valid url, accepted from mongodb spec, what is wrong? it seems an issue
the mongodb spec is:
The text was updated successfully, but these errors were encountered: