Naltox / telegram-node-bot

Node module for creating Telegram bots.
MIT License
721 stars 143 forks source link

bot stops after "Api error: Body: { ok: false, error_code: 500, description: 'Internal server error: restart' } #93

Closed dutu closed 8 years ago

dutu commented 8 years ago

After below error occurs the bot stops and normal functionality is possible only after the application is manually restarted

Api error: Body: { ok: false, 
  error_code: 500, 
  description: 'Internal server error: restart' } 
Naltox commented 8 years ago

@dutu Just updated module, hope that will fix this problem

dutu commented 8 years ago

That's understood, but the expectation is that the error is handled without having the bot stopped.

Having the bot stopped should definitively be avoided.


From: Narek Abovyan Sent: Fri Jul 29 15:27:18 GMT+02:00 2016 To: Naltox/telegram-node-bot Cc: Adrian Clinciu , Mention Subject: Re: [Naltox/telegram-node-bot] bot stops after "Api error: Body: { ok: false, error_code: 500, description: 'Internal server error: restart' } (#93)

@dutuhttps://github.com/dutu Just updated module, hope that will fix this problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Naltox/telegram-node-bot/issues/93#issuecomment-236179836, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF8TDlxK_yS5Rnuh_LvtOeuLkdxoqVHFks5qaf-2gaJpZM4JWi4o.

Orel2888 commented 8 years ago

This error just in process working

Naltox commented 8 years ago

@dutu

That's right, this error is handled by retrying the request and the bot doesn't stop.