-
-
Notifications
You must be signed in to change notification settings - Fork 52.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Telegram webhook mode returns 405 Method Not Allowed when Telegram tries to POST to the webhook endpoint.
Setup
- OpenClaw version: 2026.1.29 (commit 87267fa)
- Tailscale funnel mode enabled
- Webhook URL:
https://<hostname>.ts.net/telegram-webhook
Steps to Reproduce
- Configure Telegram webhook:
{
"gateway": { "tailscale": { "mode": "funnel" } },
"channels": {
"telegram": {
"webhookUrl": "https://<hostname>.ts.net/telegram-webhook"
}
}
}-
Gateway logs show:
webhook listening on https://<hostname>.ts.net/telegram-webhook -
Send a Telegram message to the bot
-
Check webhook status:
curl -s "https://api.telegram.org/bot<token>/getWebhookInfo" | jqExpected Behavior
Telegram webhook should receive POST requests and process messages.
Actual Behavior
Telegram reports:
{
"last_error_message": "Wrong response from the webhook: 405 Method Not Allowed"
}Testing the endpoint manually also returns 405:
curl -X POST -H "Content-Type: application/json" -d '{"test":true}' https://<hostname>.ts.net/telegram-webhook
# Returns: Method Not AllowedWorkaround
Using long-polling mode (no webhookUrl) works correctly with ~7-15 second latency.
Environment
- OS: Linux (WSL2)
- Node: 24.12.0
- Tailscale: funnel mode active and verified working for other endpoints
Notes
The gateway root URL (/) responds correctly, and the webhook endpoint is registered in logs, but POST requests are rejected with 405.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working