Closed eigenein closed 4 years ago
It works fine if built on a developer machine with make docker/build/arm-unknown-linux-gnueabihf but crashes if built on GitHub:
make docker/build/arm-unknown-linux-gnueabihf
Feb 03 00:21:49 raspberrypi my-iot[5048]: 2020-02-03 00:21:49,257 ERROR [my_iot::core::supervisor] Thread my-iot::telegram::telegram::producer crashed: Error(Hyper(Error(Connect, Custom { kind: Other, error: Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 337047686, library: "SSL routines", function: "tls_process_server_certificate", reason: "certificate verify failed", file: "ssl/statem/statem_clnt.c", line: 1915 }]))) }, X509VerifyResult { code: 19, error: "self signed certificate in certificate chain" }) })), "https://api.telegram.org/botxxx/getUpdates") Feb 03 00:21:49 raspberrypi my-iot[5048]: 2020-02-03 00:21:49,280 ERROR [my_iot::core::supervisor] Thread my-iot::buienradar::buienradar crashed: Error(Hyper(Error(Connect, Custom { kind: Other, error: Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 337047686, library: "SSL routines", function: "tls_process_server_certificate", reason: "certificate verify failed", file: "ssl/statem/statem_clnt.c", line: 1915 }]))) }, X509VerifyResult { code: 20, error: "unable to get local issuer certificate" }) })), "https://json.buienradar.nl/")
It works fine if built on a developer machine with
make docker/build/arm-unknown-linux-gnueabihf
but crashes if built on GitHub: