-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Unhandled 'error' event after some hours of running #47
Comments
Similar problem here. With basic example: var bot = new TelegramBot(token, { polling: true });
bot.on('message', function (msg) {
console.log(msg)
}); After some hours of running the bot stops receive messages. And i can see a stablished connection to the telegram server IP thats never disconnect. Then hours later get the message:
Restarting the process the bot starts receive old messages again. Its this issue related to polling? Any luck fixing this? |
Have a similar problem here trying to send files over the API.
|
I think sometimes the API have problems, I'm testing with python (eternnoir/pyTelegramBotAPI) and getting error on sending photo and audio files. |
@dtsrwnis: you seem to be using a different node module, this library is named @koalazak: does your problem still persist? |
@GochoMugo let me check again with the latest... |
Issue went too stale... |
sorry, i check that and works now :p |
Works perfect but after some hours in my raspberry i take this error every time!
The text was updated successfully, but these errors were encountered: