shurillu / CTBot

A simple (and easy to use) Arduino Telegram BOT Library for ESP8266/ESP32
MIT License
147 stars 34 forks source link

Telegram not responding #114

Closed mjtrini closed 1 year ago

mjtrini commented 1 year ago

Hello my friend,

I hope all is well with you. The ctbot library is currently unresponsive. Perhaps the telegram site updated their certificate?

Much thanks, Michael.

GusevNikita commented 1 year ago

Hello friends, I figured out what's going on. You need to update the Fingerprint, in the file CTBotSecureConnection.h at Arduino\libraries\CTBot\src

Replace

uint8_t m_fingerprint[20]{ 0x07, 0x36, 0x89, 0x3D, 0x0F, 0xCC, 0x8C, 0xF7, 0xD0, 0x19, 0xB7, 0x83, 0x39, 0xC4, 0xD5, 0x15, 0x70, 0x9A, 0xC6, 0x5D };

to the new one relevant for api.telegram.org

uint8_t m_fingerprint[20]{ 0x8A, 0x10, 0xB5, 0xB9, 0xB1, 0x57, 0xAB, 0xDA, 0x19, 0x74, 0x5B, 0xAB, 0x62, 0x1F, 0x38, 0x03, 0x72, 0xFE, 0x8E, 0x47 };

Good luck =)