martomi / chiadog

A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
MIT License
457 stars 120 forks source link

Telegram: SSL Certificate verification failure #255

Open waiiting opened 3 years ago

waiiting commented 3 years ago

hello when I run chiang I get the following problem

[ ERROR] --- Failed to send events over telegram: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129) (notify_manager.py:66)

Environment:

martomi commented 3 years ago

Are you running chiadog from within a docker container?

sudo-mk-sandwich commented 2 years ago

Got the same error after upgrading from Windows 7 to Windows 10. Chiadog runs without a docker container.

Chia 1.28 Python 3.10

Edit: I figured it out by my self:

  1. Download certificate from web.telegram.org (HowTo: https://jhooq.com/2-ways-to-fix-ssl-certificate-problem-self-signed-certificate-in-certificate-chain/#firefox-to-get-self-signed-certificate)
  2. Install certificate in windows, run certmgr.msc and import the downloaded certificate in Trusted Root Certification Authority -> Certificates. (HowTo: https://jhooq.com/2-ways-to-fix-ssl-certificate-problem-self-signed-certificate-in-certificate-chain/#getting-windows-10-to-trust-self-signed-ssl-certificates)
  3. done