arunthampi / relax

Bots-as-a-Service for Slack
Mozilla Public License 2.0
169 stars 23 forks source link

"unexpected end of JSON input" error, no automatic restart #25

Open jmanian opened 8 years ago

jmanian commented 8 years ago

I received this error yesterday when a new team added my bot and my app tried to start the bot for the first time: level=error msg="starting client" error="unexpected end of JSON input" team=TXXXXYYYY

The troubling thing was that relax didn't automatically try to restart the bot the way it does for other errors. So I tried restarting the bot manually (with Relax::Bot.start!(uid, token)) and I got the same error. So then I restarted Relax which seemed to set things right.

arunthampi commented 8 years ago

@jmanian thanks for reporting this, will check this out