Yoctol/bottender

Failed to set Viber webhook on Heroku

alphonso06 opened this issue · 0 comments

Describe the bug
Heroku build fails because of the following error message:

✖ Failed to set Viber webhook
✖ status: 200
✖ data: {
  "status": 1,
  "chat_hostname": "SN-CHAT-03_"
}

To Reproduce
Steps to reproduce the behavior:

  1. Have all the prerequisites for Viber, then set it up for Heroku
  2. Follow these instructions (specifically the Procfile one)
  3. Deployment throws error

Expected behavior
Not exactly sure but I assume it's supposed to be the bot running on the Heroku dyno. It's my first time trying out the framework.

Additional context
I'm also curious on how to properly run this on an Ubuntu VPS. That webhook part is confusing me. 🤔