eworm-de / routeros-scripts

a collection of scripts for MikroTik RouterOS
GNU General Public License v3.0
1.27k stars 286 forks source link

Telegram notifications failure #80

Closed sergiobaiao closed 1 week ago

sergiobaiao commented 2 weeks ago

Hi there,

After working flawless for several weeks, my telegram notification script is failing now with this:

Download from api.telegram.org FAILED: 401 should contain www-authenticate header

what should i do?

eworm-de commented 2 weeks ago

Hmm, very interesting... I have not seen something like that with Telegram API and I can not reproduce.

Just wondering is there a proxy between your Mikrotik device and the Telegram servers that requires authentication?

eworm-de commented 2 weeks ago

Oh, and please check that variables (TelegramTokenId and TelegramChatId) are properly set and populated. An internal process crashing could clear these.

eworm-de commented 1 week ago

No answer, so closing for now.