jenkinsci / telegram-notifications-plugin

This plugin allows you to send messages from Jenkins jobs to Telegram chat.
https://plugins.jenkins.io/telegram-notifications/
MIT License
72 stars 62 forks source link

Error removing old webhook #34

Open kksudo opened 6 years ago

kksudo commented 6 years ago

Error in last 1.3.0 version What is this error about?


org.telegram.telegrambots.exceptions.TelegramApiRequestException: Error removing old webhook: [404] Not Found
    at org.telegram.telegrambots.bots.TelegramLongPollingBot.clearWebhook(TelegramLongPollingBot.java:49)
    at org.telegram.telegrambots.TelegramBotsApi.registerBot(TelegramBotsApi.java:120)
    at jenkinsci.plugins.telegrambot.telegram.TelegramBotRunner.createBotSession(TelegramBotRunner.java:66)
    at jenkinsci.plugins.telegrambot.telegram.TelegramBotRunner.lambda$new$0(TelegramBotRunner.java:61)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
kksudo commented 6 years ago

Settings for bot ( token and name) was cleared. I filled it again, but no response in tg not . /start and /help not interactive

vikulin commented 4 years ago

It seems your Telegram token is incorrect

amezin commented 4 years ago

I've been getting 404 errors too. I've updated TelegramBots library in https://github.com/jenkinsci/telegram-notifications-plugin/pull/51 but, unfortunately, there is still no release of the plugin with these changes. I'm currently using my own build of the plugin from master branch, and it is working fine. You could ask @nikitabelonogov to do a release

amezin commented 4 years ago

Oh, this is an ancient issue (but I somehow received a notification about it), so likely it's unrelated. A new release would still be a good idea though.