revoltchat / autumn

Pluggable file server micro-service.
GNU Affero General Public License v3.0
54 stars 38 forks source link

issue: "cannot assign requested address and namespace" with MongoDB and credentials #33

Closed toastxc closed 2 months ago

toastxc commented 11 months ago

What do you want to see?

My current understand is that Autumn does not currently support using a password or username in production.

I used the following redacted URI for Mongo, I believe this should work but recieved an error AUTUMN_MONGO_URI="mongodb://username:password@localhost:27017/database" cannot assign requested address and namespace (error 99)

While database authentication is certainly not needed, I'd appreciate its implementation

4kh00 commented 9 months ago

seconding

insertish commented 8 months ago

It certainly does support it because we use both authentication and TLS in production, this seems to be an unrelated bug.

insertish commented 2 months ago

This issue is stale, if a reproduction of the issue does show up, please post and re-open. We are using username:password connection strings in production with no issue.