Closed PatrickAuld closed 8 years ago
Hi
What version of the package are you using?
I just release a new tag (0.1.0) that changes the way the webhook URL works. Sorry, the documentation on GitHub was for the master branch and the latest changes have yet to be tagged.
Your current version (assuming 0.0.10) should register the hook at:
https://[host]/hubot/telegram/receive
The latest version will work according to the documentation with the token in the URL:
That's my fault, I should have checked the docs for my release and not master. Thanks for pushing 0.1.0! I'll give it a go tonight.
I've having trouble getting the TELEGRAM_WEBHOOK configured on Heroku. Everything I try gets 404's so I'm not sure where at app is actually listening. Here's what I'm seeing:
When TELEGRAM_WEBHOOK is set to
https://<app>.herokuapp.com/
I see requets being made via the Heroku router but to/
and not to/<token>/
. This returns a 404.I've tried appending parts to the path, like
/webhook/
and the webhook to Telegram is set to that still without the token. The Heroku logs are showing be debug statements so I'm missing the log line that prints where hubot is listening. I've also manually set the webhook within Telegram to include the token but without knowing where it is listening I'm not sure what value to set it to. So far I haven't had luck with it.Several seconds after startup a HTTP 504 also appears within the logs. I'm not sure if this is related yet.
This is my first deployment on Heroku so I'm still getting ahold on how things work. The code (which is basically still the Yeoman example) is here.