为什么电报设置webhook后不发送更新?

我可以通过Telegram getUpdates API获取更新,而在使用有效的SSL证书或自签名证书设置webhook后,它会显示:

{"ok":true,"result":true,"description":"Webhook was set"} 

但它不会发送任何更新到我的webhook链接(我检查了Nginx和node.js访问日志文件),我尝试了很多curl命令为setWebhook API与没有证书,但仍然没有结果:

 curl -s -X POST https://api.telegram.org/bot<TOKEN>/setWebhook -d url='https://www.example.tech/<TOKEN>/webhook' jq . curl -F "url=https://www.example.tech/<TOKEN>/webhook" -F "certificate=@./www_example_tech.crt" https://api.telegram.org/bot<TOKEN>/setWebhook 

也许问题在你的证书。 你能检查你的证书在任何SSL在线检查? 可以吗?

例如在这个https://www.sslshopper.com/ssl-checker.html&#x4E2D;

你也看到access.log中的请求,如果直接调用webhookurl?