Closed cippaciong closed 1 year ago
Did anybody find any solution for this? retry
is not working for me, and my bot keeps crashing
Same problem here. Started to happen a few hours ago. My Bot crashed right after starting with
Exception: Telegram::Bot::Exceptions::ResponseError: Telegram API has returned the error. (ok: "false", error_code: "403", description: "Forbidden: Bot was blocked by the user")
Additional info: As mentioned in #29, rescuing the error and retry seems to work for me, for now...
Even i have same problem, for few user my bot is responding with this error "Unexpected error org.telegram.telegrambots.exceptions.TelegramApiRequestException: Error sending message: [403] Forbidden: bot was blocked by the user at org.telegram.telegrambots.api.methods.send.SendMessage"
Someone blocked the my bot and now does work anymore. I add the rescue statement for the error but now it takes ages to respond to the command. Before that the bot would respond within 15s. Now it takes almost a minute.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Hello, I've got a problem with my bot described by this scenario:
I reported the error to the BotSupport channel and they told to increase the offset by 1 to solve the issue but looking at the gem code it seems that the offset variable is not exposed by any method (am I wrong?)
How can I solve this problem? Is there a way to handle the exception with a
retry
increasing the offset at the same time?(might be related to #29 )