telegram bot 不工作:来自 webhook 的错误响应:302 Found
telegram bot does not work :Wrong response from the webhook: 302 Found
我的电报机器人不工作!我做了 getWebhookInfo,
回复:
{
"ok": true,
"result": {
"url": "**secret**",
"has_custom_certificate": false,
"pending_update_count": 10,
"last_error_date": 1535344752,
"last_error_message": "Wrong response from the webhook: 302 Found",
"max_connections": 40
}
}
您的网络服务器发送 http 状态(以前是 "Moved Temporarily")可能是因为脚本的 url 已更改...
检查 url,也许它已经改变了。
机器人 api 不会遵循任何类型的重定向(主要是出于安全原因)
我的电报机器人不工作!我做了 getWebhookInfo,
回复:
{
"ok": true,
"result": {
"url": "**secret**",
"has_custom_certificate": false,
"pending_update_count": 10,
"last_error_date": 1535344752,
"last_error_message": "Wrong response from the webhook: 302 Found",
"max_connections": 40
}
}
您的网络服务器发送 http 状态(以前是 "Moved Temporarily")可能是因为脚本的 url 已更改... 检查 url,也许它已经改变了。 机器人 api 不会遵循任何类型的重定向(主要是出于安全原因)