Closed RReverser closed 6 years ago
Interesting, when I've built in on my host (Ubuntu 16.04.4), it works just fine and TLS errors don't occur. Perhaps something wrong with dependencies used in Dockerfile? cc @gaul
Ok, after extensive debugging found the reason... indeed it won't work with Docker as-is.
Ideally this would be handled by existing Dockerfile, but for now fixed with passing explicit hostname
parameter to Docker to propagate hostname of the parent machine so that comparison in proxy.go works.
I saw diagnostic endpoint in #22 but can't get it to work.
I keep getting following:
and in logs:
I'm using docker version of compy without any special config.
One weird thing I've noticed is "while serving request: http://localhost:9999/" in logs even though I'm hitting proxy itself as https (because it works in HTTPS proxy mode).