feat(wiki): deep ingest batch 2 (11 source pages)

This commit is contained in:
2026-04-14 21:51:17 +08:00
parent 8620765530
commit 483d6fcae2
11 changed files with 346 additions and 105 deletions

View File

@@ -1,33 +1,39 @@
---
title: "n8n configure telegram trigger"
title: "n8n Telegram Trigger 配置HTTPS Webhook 错误修复"
type: source
tags: ['n8n', 'Docker']
date: 2026-04-14
tags: ['n8n', 'Telegram', 'Webhook', '配置', 'Docker', '故障排除']
date: 2025-03-01
source:
author: shenwei
---
## Source File
- [[Agent/n8n configure telegram trigger.md]]
- [[raw/Agent/n8n configure telegram trigger.md]]
## Summary
- 核心主题:author: shenwei description: tags: [n8n, telegram]
- 问题域:见原文。
- 方法/机制:见原文。
- 结论/价值:见原文。
- 核心主题:n8n Telegram Trigger 配置时遇到"Telegram Trigger: Bad Request: bad webhook: An HTTPS URL must be provided for webhook"错误的解决方案
- 问题域:n8n 本地部署时 Telegram Trigger 无法设置 Webhook需 HTTPS URL
- 方法/机制:在 Docker 环境中设置 `WEBHOOK_URL` 环境变量为 HTTPS 地址(如 `https://n8n.cpolar.top`
- 结论/价值:Telegram Webhook 强制要求 HTTPSn8n 本地/内网部署需通过反向代理cpolar/frp/ngrok暴露为 HTTPS URL
## Key Claims
- (见原文)
## Key Quotes
> (见原文)
- Telegram Webhook 必须使用 HTTPS URL不支持 HTTP
- n8n 本地部署时,默认生成的 Webhook URL 可能不是 HTTPS
- 解决方案:在 Docker 启动参数中添加环境变量 `WEBHOOK_URL=https://your-domain.com/`
- 配合 cpolar 等内网穿透工具,将本地 n8n 暴露为 HTTPS 外部可访问地址
## Key Concepts
- (见原文)
- [[Telegram Webhook]]Telegram Bot 推送消息的 HTTP 回调机制,强制要求 HTTPS
- [[n8n Trigger]]n8n 的事件触发节点Telegram Trigger 用于接收 Telegram Bot 消息
- [[WEBHOOK_URL环境变量]]n8n 运行时环境变量,控制生成 Webhook URL 的协议和域名
## Key Entities
- (见原文)
- [[n8n]]:开源工作流自动化平台
- [[Telegram Bot]]:通过 Webhook 接收消息的 Telegram Bot
## Connections
- (见原文)
- [[n8n]] ← receives ← [[Telegram Webhook]]
- [[WEBHOOK_URL环境变量]] ← configures ← [[n8n Trigger]]
## Contradictions
- 见原文
- 无已知冲突