Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thousands of error messages from telegram-alert.jar #1

Closed
bjcone opened this issue Feb 23, 2018 · 5 comments
Closed

Thousands of error messages from telegram-alert.jar #1

bjcone opened this issue Feb 23, 2018 · 5 comments
Labels

Comments

@bjcone
Copy link

bjcone commented Feb 23, 2018

We're using this in our logging cluster to send alerts to different channels in Telegram. After about a month of running, the logs on our Graylog instance are filled with:

ERROR: Telegram Bots Api - BOTSESSION org.telegram.telegrambots.exceptions.TelegramApiRequestException: Error getting updates at org.telegram.telegrambots.api.methods.updates.GetUpdates.deserializeResponse(GetUpdates.java:119) ~[telegram-alert.jar:?] at org.telegram.telegrambots.updatesreceivers.DefaultBotSession$ReaderThread.getUpdatesFromServer(DefaultBotSession.java:256) ~[telegram-alert.jar:?] at org.telegram.telegrambots.updatesreceivers.DefaultBotSession$ReaderThread.run(DefaultBotSession.java:187) [telegram-alert.jar:?]

Is this a configuration issue, environment issue, or an issue with the plugin?

@irgendwr irgendwr added the bug label Feb 23, 2018
@irgendwr
Copy link
Owner

Thanks for reporting this, this is definitely an issue with the plugin.
I'll update you once I've fixed it 😃

@nshah14285
Copy link

I am also facing the same issue. Is this issue fixed? If yes, then what I have to do to send notification to telegram bot successfully.

I have restarted the graylog server after that when I send test notification I receive this error

WARN  [TelegramAlert] Error removing old webhook
INFO  [TelegramAlert] Alert was initialized successfully
WARN  [TelegramAlert] Error sending message

Thanks,
Nishit Shah

@nshah14285
Copy link

Awaiting your response.

@mahnunchik
Copy link

Any news? Why this plugin requires webhook?

@irgendwr
Copy link
Owner

Hi,

I fixed the issue with the release v2.0.0.
I also restructured and updated the plugin to be able to make use of the template engine.
As this is a breaking change you'll have to delete the old Telegram Alert notification(s) and create a new one (but this is only a matter of seconds so there's nothing to worry about).

Let me know what you think about the new version, suggestions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants