Skip to content

Local development with ngrok #2

@webtweakers

Description

@webtweakers

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions