Gianbacchio / ESP8266-TelegramBot

Telegram Bot Library for ESP8266 on Arduino IDE
GNU General Public License v2.0
187 stars 71 forks source link

GET Update Messages - Failed to update #27

Open ManuBeze opened 4 years ago

ManuBeze commented 4 years ago

Hi guys, I'm getting this "failed to update" error in my serial monitor as soon as the ESP is connected to my WiFi.

Does anyone know how to solve this? is this a code related problem or a TelegramBot related problem?

Thanks in advance!!!

fedrux commented 4 years ago

Some time ago I found the problem was that now we have to use Https connection with a SSL fingerprint. I edited the code to use the fingerprint and solve the issue. You can try to go on my github page and find the fork of this project https://github.com/fedrux/ESP8266-TelegramBot

In https://github.com/fedrux/ESP8266-TelegramBot/blob/master/src/ESP8266TelegramBOT.cpp If not work On line 53 you should update the SHA fingerprint with the one you get connecting to telegram api from your browser. Hope it’s helpful Give me a update

DimaBroi commented 4 years ago

Hi @fedrux , how did U manage to get your SHA fingerprint ? can U point in the correct direction?