Open mefisto22 opened 1 year ago
maybe just a timeout. check how long curl takes to get a response
time_total: 0.049673s
then try on your container host with including the files in the image instead. if it then works, it is surely a matter of the volume/driver/bind
Moved to a separate issue.
@c-huetter clearly this is a completely different topic, so don't misuse an existing issue for such. anyway: you missed the environment settings of the container that influence this
Makes sense, I'll open a new issue including the environment setting.
then try on your container host with including the files in the image instead. if it then works, it is surely a matter of the volume/driver/bind
when i download the files manually, container works
I still can't reproduce it. please check with the latest john30/ebusd:devel tag
Description
Container crash after start. I readed github issueses tried all off solutions, but non working. IPv6 disabled on host's sysctl.conf file. This will not the same issue like #751
Actual behavior
container crash
Expected behavior
download config and start pushing mqtt messages to mqtt broker
ebusd version
current source from git
ebusd arguments
-e 'EBUSD_LOG=all:debug'
Operating system
Debian 12 (Bookworm) / Ubuntu 22-23 / Raspberry Pi OS 12 (including lite)
CPU architecture
x64
Dockerized
latest
Hardware interface
adapter 3.0 WiFi
Related integration
MQTT generic
Logs
sudo docker run --name=ebusd -v /etc/localtime:/etc/localtime:ro -p 8888 -e 'EBUSD_LOG=all:debug' john30/ebusd --scanconfig -d ens:192.168.11.2:9999 --mqttport=1883 --mqtthost=192.168.11.32 2023-09-24 19:30:01.435 [network debug] SSL state 0=before SSL initialization: type 0x10=start, val 1=? 2023-09-24 19:30:01.435 [network debug] SSL state 0=before SSL initialization: type 0x1001=loop,connect, val 1=? 2023-09-24 19:30:01.435 [network debug] SSL BIO state 2 res -1 2023-09-24 19:30:09.489 [network debug] SSL BIO state 3 res 1 2023-09-24 19:30:09.489 [network debug] SSL BIO state 4 res 3 2023-09-24 19:30:09.489 [network debug] SSL BIO state 6 res 0 2023-09-24 19:30:09.489 [network debug] SSL state 12=SSLv3/TLS write client hello: type 0x1002=exit,connect, val -1=? 2023-09-24 19:30:09.489 [network error] HTTP connect: timed out after 2 sec 2023-09-24 19:30:09.489 [network error] HTTP new_ssl_conn: 336462231=shutdown while in init 2023-09-24 19:30:09.489 [main error] invalid configPath URL (connect)
curl -vvv https://cfg.ebusd.eu
openssl s_client -connect cfg.ebusd.eu:443 CONNECTED(00000003) depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1 verify return:1 depth=1 C = US, O = Let's Encrypt, CN = R3 verify return:1 depth=0 CN = cfg.ebusd.eu verify return:1