feat(wiki): complete final batch 86 remaining raw files ingestion
This commit is contained in:
34
wiki/sources/n8n-telegram-trigger配置.md
Normal file
34
wiki/sources/n8n-telegram-trigger配置.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
title: "n8n configure telegram trigger"
|
||||
type: source
|
||||
tags: [n8n, telegram, webhook]
|
||||
date: 2025-03-06
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[raw/Agent/n8n configure telegram trigger.md]]
|
||||
|
||||
## Summary
|
||||
- 核心主题:n8n Telegram Trigger 配置问题的解决方案
|
||||
- 问题域:Telegram Trigger 报错 "Bad Request: bad webhook: An HTTPS URL must be provided for webhook"
|
||||
- 方法/机制:确保 n8n 实例可通过 HTTPS 访问,配置环境变量 N8N_PROTOCOL 和 WEBHOOK_URL
|
||||
- 结论/价值:n8n 的 Telegram 集成需要正确的 HTTPS 配置才能建立 webhook
|
||||
|
||||
## Key Claims
|
||||
- Telegram 要求 webhook 必须是 HTTPS URL,本地或无 HTTPS 配置会导致 webhook 设置失败
|
||||
- 解决方案包括:配置 N8N_PROTOCOL=https、N8N_HOST、WEBHOOK_URL 环境变量
|
||||
- 使用反向代理(如 Caddy/Nginx)处理 HTTPS,然后在代理层转发到 n8n 的 HTTP 端口
|
||||
|
||||
## Key Concepts
|
||||
- [[n8n]]:开源工作流自动化平台
|
||||
- [[Telegram Trigger]]:n8n 中触发工作流的 Telegram 组件
|
||||
- [[Webhook HTTPS]]:Telegram 要求 webhook 必须使用 HTTPS 协议
|
||||
|
||||
## Key Entities
|
||||
|
||||
## Connections
|
||||
- [[n8n]] ← 平台 ← Telegram Trigger
|
||||
- [[Webhook HTTPS]] ← 协议要求 ← Telegram Trigger
|
||||
|
||||
## Contradictions
|
||||
- 无明显冲突
|
||||
Reference in New Issue
Block a user