leam-tech/frappe_telegram

How to setup production?

Opened this issue · 3 comments

Hi, how to setup production?

I tried to run
bench telegram supervisor-add --webhook MyBot

then run
bench telegram nginx-add MyBot

and on telegram bot menu I set NGINX Path to /telebot

and it still not working.

I check bot error log and I found
telegram.error.BadRequest: Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443

did I miss something?

@dev-iot-jogja did you find the sollution ?

Telegram webhooks have changed in the last year and therefore we had some trouble to. if you still have trouble let me know and i'le reproduce my steps here as a manual.

@RJPvT We haven't been able to use this app with recent frappe versions. While you were testing, how healthy did you find this to be?
Also, thank you for the PRs you had sent with clear explanations!

@fahimalizain no problem!

We're on v14 now andhave nog had much trouble with it. Even have a whole chatbot running for information query's by staff members.

What were your issues ? Perhaps some of those were caught by our ons additions and i can help with rectifying them.