akloeckner

Results 156 comments of akloeckner

I'll have this run on my system for some time to see, if it actually works...

I would say, the sensor should be `unknown`, when no connections are found. It should be `unavailable` when an error occurs. See for setup errors: https://developers.home-assistant.io/docs/integration_setup_failures#integrations-using-async_setup_entry And we can set...

Thanks for investigating so thoroughly! I tried the bare https://auskunft.kvb.koeln URL in Chrome and it also says the certificate has expired. This seems to also affect the main kvb.koeln site:...

KVB updated their certificates. However, I now get another error (after reloading the configuration entries): ``` requests.exceptions.SSLError: HTTPSConnectionPool(host='auskunft.kvb.koeln', port=443): Max retries exceeded with url: /gate (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]...

Hmm... I am currently out of ideas. It seems to be some mismatch between HA and KVB. I run HA in Docker and I cannot even run ```py import requests...

Update: The same happens even outside `python3` but just inside the Docker container, using `wget`. Even in the baseline `python:3.13-alpine` and `alpine:3.21` images. And it's also in the `alpine:latest` image....

As it appears, the KVB server is not configured correctly, because it does not serve the intermediate certificate, see this checker: https://whatsmychaincert.com/?auskunft.kvb.koeln I'm thinking about how to ignore this in...

I think, I found a workaround. The following command will add the missing intermediate certificate as an additional root CA certificate into python's `certifi` package's certificate store. Not a very...

👍 I updated the description to reflect that hint.

We're not using hafas-client. And the fix is not readily portable, because we use Python (and not JavaScript). But if anybody came up with a fix that doesn't require manual...