mun icon indicating copy to clipboard operation
mun copied to clipboard

Local development with ngrok

Open webtweakers opened this issue 6 years ago • 0 comments

Hi, I've read your interesting article (https://kholinlabs.com/telegram-push-notifications) about this repository, where you mention local development with ngrok. While building my Telegram bot, I was trying this, but when I set the webhook and then use Telegram's getWebhookInfo method, I don't get the nice "ok": true response. Instead I get an error message about wrong certificate version.

Telegram does mention that it should be a "non-wildcard" certificate and ngrok uses a wildcard certificate. I'm guessing that's the reason for the error, but I could find absolutely zero info on this.

So I was wondering how you got ngrok in local development working. Care to shed any light on this issue?

webtweakers avatar Nov 09 '19 17:11 webtweakers