Unhealthy container - SSL issue
Hi,
I used your image, but extended it using this, as per your documentation: https://github.com/christf/docker-radicale-birthday/blob/main/Dockerfile
It all works fine, but after enabling Radicale's SSL via the config file, Docker flags the running container as unhealthy. It is not a big deal, as the container runs fine and I can use Radicale, but it is a bit annoying as I have UptimeKuma moaning about the container being unhealthy all the time.
After looking at the logs, this seems to be the issue:
```
...
[2025-12-27 21:32:49 +0000] [1/Thread-1 (process_request_thread)] [ERROR] An exception occurred during request: SSL handshake failed: [SSL: HTTP_REQUEST] http request (_ssl.c:1010) client 127.0.0.1
...
```
I might be wrong, but I think this may have to do with this line in your DockerFile:
https://github.com/tomsquest/docker-radicale/blob/master/Dockerfile#L52
```
HEALTHCHECK --interval=30s --retries=3 CMD curl --fail http://localhost:5232 || exit 1
```
I think that curl is complaining cause of self-signed certificate and returns error.
Any way around it you can think of?
Thanks!
3 条评论