webhook not work
okman334 opened this issue · comments
I am trying to run the echobot-webhook-server, but it's seems not work right. I help can get some help, thanks.
"https://wb.szokm888.com" this domain is work in nginx. And the nginx proxy forwards to my machine 8080 port. ( TgWebhookTcpServer webhookServer(8080, bot)).
I cannot receive anything from telegram.
Is my code right?
I call the method getWebhookInfo, return SSL error. But my cert is ok. I don't know what's the problem.
{"ok":true,"result":{"url":"https://wb.szokm888.com","has_custom_certificate":true,"pending_update_count":1,"last_error_date":1669714616,"last_error_message":"SSL error {error:0A000086:SSL routines::certificate verify failed}","max_connections":40,"ip_address":"35.220.203.170"}}
https://core.telegram.org/bots/webhooks#how-do-i-set-a-webhook-for-either-type
need a fullchain certificate.