Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to MongoDB with TLS #358

Open
mzch opened this issue May 3, 2023 · 0 comments
Open

Unable to connect to MongoDB with TLS #358

mzch opened this issue May 3, 2023 · 0 comments
Labels

Comments

@mzch
Copy link

mzch commented May 3, 2023

🐞 Describe the bug
Using TLS connection with MongoDB, Ackee doesn't start.

📚 To Reproduce

  1. set ACKEE_MONGODB=mongodb+srv://ackee:[email protected]/ackee or ACKEE_MONGODB=mongodb://ackee:[email protected]/ackee?tls=true
  2. start Ackee

💡 Expected behavior

Ackee starts successfully.

⚙️ Environment

  • Installation: Manually
  • Ackee version: [e.g. v2.1.0]

📋 Log

 5月 03 12:15:37 ls.leafia.net yarn[186333]: > [email protected] build
 5月 03 12:15:37 ls.leafia.net yarn[186333]: > node build.js
 5月 03 12:15:37 ls.leafia.net yarn[186345]: [Ackee] › …  awaiting  Building and writing 'dist/index.html'
 5月 03 12:15:37 ls.leafia.net yarn[186345]: [Ackee] › ✔  success   Finished building 'dist/index.html'
 5月 03 12:15:38 ls.leafia.net yarn[186356]: > [email protected] server
 5月 03 12:15:38 ls.leafia.net yarn[186356]: > node src/index.js
 5月 03 12:15:40 ls.leafia.net yarn[186368]: Persisted queries are enabled and are using an unbounded cache. Your server is vulnerable to denial of service attacks via memory exhaustion. Set `c>
 5月 03 12:15:40 ls.leafia.net yarn[186368]: [Ackee] › …  awaiting  Connecting to http://mongodb+srv/ackee:[email protected]/ackee
 5月 03 12:15:40 ls.leafia.net yarn[186368]: (node:186368) [MONGOOSE] DeprecationWarning: Mongoose: the `strictQuery` option will be switched back to `false` by default in Mongoose 7. Use `mong>
 5月 03 12:15:40 ls.leafia.net yarn[186368]: (Use `node --trace-deprecation ...` to show where the warning was created)
@mzch mzch added the bug label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant