Client sent an HTTP request to an HTTPS server
It seems network problem. I faced smiler problem to connect with MongoDB because of Proxy. Everything may occur this problem.
By default, each container run by Docker has its own network namespace.
Offering Some Solution Methods:
traceroute <cluster-ip>
perform this command and check whether arrive to cluster inside of container attach container and perform the commanddocker exec -it container /bin/bash
.- Check Proxy.
export
check environment variables related with proxy. curl www.google.com
- Try to connect another things in the cluster. For example MySQL, etc. (Once time a machine write me blacklist automatically I tried to solve connection problem 2 day)
- Try to use python-slim image. slim image is based from ubuntu.
It is very good document to understand and solve docker connection problem.