rikai / Showbot

🤖 An omnipresent multi-platform bot who's goal in life is become Skynet 🤖
MIT License
40 stars 18 forks source link

New suggestions are not pushed in production environment #54

Closed eriknelson closed 8 years ago

eriknelson commented 8 years ago

New titles were not being pushed to the client in the production environment -- title view.

Needs reproduction.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

eriknelson commented 8 years ago

Was able to reproduce this on my new workstation. The host config was not setup correctly, resulting in new title triggers getting sent to nonexistent hosts. Relevant:

config: https://github.com/rikai/Showbot/blob/devel/cinchize.yml.example#L8 trigger: https://github.com/rikai/Showbot/blob/devel/lib/cinch/plugins/suggestions.rb#L42

eriknelson commented 8 years ago

Should check for trailing slash to prevent double slash at beginning of request path: https://github.com/eriknelson/Showbot/blob/devel/lib/cinch/plugins/suggestions.rb#L42

Confirmed it's actually hitting the trigger, endpoint is returning a 500 on an unhandled exception. Traceback: https://gist.github.com/rikai/3efcae933023b8643c8bf25af4851d9c