Grpc timeout exception #5739
-
Issue with TLS Configuration in Docker NetworkingDescriptionI am experiencing issues with TLS configuration for inter-container communication in Docker Compose. The issue arises when one container attempts to communicate with another using HTTPS, and both configurations I’ve tried have not resolved the problem. Docker Environment VariablesFor
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @wisamidris7, so I’ve been looking into the TLS issue with Docker Compose, and here’s what’s going on and how we can fix it. The Problem:
Possible Fixes:1. Use a Wildcard or SAN Certificate:
So we’d update the cert, mount it in the container, and change the Compose setup to point to the updated cert. 2. Skip SSL Validation for Internal Requests:
3. Set Up DNS for Internal Services:
4. Use an Nginx Reverse Proxy:
Here’s how that might look:
This keeps everything secure and avoids those annoying SSL validation issues. TL;DR:We have a few options:
Let me know which direction you think makes sense for our setup! |
Beta Was this translation helpful? Give feedback.
Hey @wisamidris7, so I’ve been looking into the TLS issue with Docker Compose, and here’s what’s going on and how we can fix it.
The Problem:
External URL Configuration (
example.com
):example.com
), it times out because Docker containers are trying to talk to each other over the external network, which isn’t the best way to do it.Internal Network URL Configuration (
common-api
):common-api
) to connect, we hit SSL certificate issues. That’s because the SS…