Docker Community Forums

Share and learn in the Docker community.

Can't access a containerized app

I am experiencing some difficulties with accessing my app in a container.
The setup looks like this: two separate containers (one is build from a downloaded image and the other one is based on my Dockerfile). The first is for db and the second one is for the app itself (and nginx working as a reverse proxy). The latter one has two exposed ports (8080, 5000) to accept connections, the second port is used to handle secure calls.
So when I try to access my app via curl, I get an error like this:

curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL

I don’t really understand why it happens.
Does anyone have an idea of what is the possible cause for this?

1 Like