strapi-docker: Error connecting to Mongo with production environment

I’m trying to start the Strapi container passing the NODE_ENV var to production but after everything is created I have got this error and the container continues to restart:

I NETWORK  [conn14] Error receiving request from client: SSLHandshakeFailed: SSLHandshakeFailed. Ending connection from ...

Is there something I’m missing? Everything working normal with NODE_ENV=development.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Unfortunately, the actual Strapi release used for this docker image (3.0.0-alpha.12) doesn’t have the ability to connect to mongodb within SSL. We’ll do our best to build the image with the version 3.0.0-alpha.12.2 asap.