/telegram/channel 某些频道不走代理导致的超时
- Dominant language
- TypeScript
- Stars
- 46.2k
- Forks
- 10.2k
- Avg merge
- 8h 48m
- Merged PRs (30d)
- 175
Description
### 路由地址
```routes
/telegram/channel/:username/:routeParams?
```
### 完整路由地址
```fullroutes
/telegram/channel/VisualNovelChannel
```
### 相关文档
https://docs.rsshub.app/routes/popular#channel
### 预期是什么?
特别的频道能够经过PROXY_URI指定的代理获取rss
### 实际发生了什么?
那些没有被风控的频道(即不需要TELEGRAM_SESSION也能访问)能够通过PROXY_URI指定的代理获得rss信息;
```
info: <-- GET /telegram/channel/SweetSub
info: --> GET /telegram/channel/SweetSub 200 49ms
```
但是那些被风控的频道不能够获得并且报告超时错误:
```
info: <-- GET /telegram/channel/R18R18d
[2025-06-27T20:04:48.564] [ERROR] - [WebSocket connection failed attempt: 163]
Error: connect ETIMEDOUT 91.108.56.115:80
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '91.108.56.115',
port: 80
}
[2025-06-27T20:04:51.567] [INFO] - [Connecting to 91.108.56.115:80/TCPFull...]
```
我在开启全局透明代理之后,两类频道都可以成功获取rss资讯。
我翻看了过去的关于此问题的讨论https://github.com/DIYgod/RSSHub/issues/17719 ,但是我不太想另外搭建MTProxy。关于MTProxy中转其它协议的方案,我能力不够无法实现(如果有大佬提供一键式部署方案,不胜感激)。
### 部署
自建
### 部署相关信息
OS:Linux Node : v22.17.0 Docker: v28.2.2
### 额外信息
```shell
info: <-- GET /telegram/channel/SweetSub
info: --> GET /telegram/channel/SweetSub 200 49ms
info: <-- GET /telegram/channel/VisualNovelChannel
[2025-06-27T20:04:48.564] [ERROR] - [WebSocket connection failed attempt: 163]
Error: connect ETIMEDOUT 91.108.56.115:80
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '91.108.56.115',
port: 80
}
[2025-06-27T20:04:51.567] [INFO] - [Connecting to 91.108.56.115:80/TCPFull...]
```
### 这不是重复的 issue
- [x] 我已经搜索了 [现有 issue](https://github.com/DIYgod/RSSHub/issues),以确保该错误尚未被报告。
Contributor guide
Assessment
This issue has not been assessed yet.