Денис Цыганков
Apr 26 17:47:55 swden2.com /usr/local/x-ui/x-ui[841]: WARNING - XRAY: proxy/wireguard: Using gVisor TUN. WG inbound doesn't support kernel TUN yet.
Apr 26 17:47:55 swden2.com /usr/local/x-ui/x-ui[841]: WARNING - XRAY: proxy/wireguard: Using gVisor TUN. WG inbound doesn't support kernel TUN yet.
Apr 26 17:47:55 swden2.com /usr/local/x-ui/x-ui[841]: WARNING - XRAY: core: Xray 26.4.25 started
Apr 26 17:47:58 swden2.com x-ui[841]: [Sun Apr 26 17:47:58 UTC 2026] ERROR Execution error setMyCommands: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:47:58 swden2.com /usr/local/x-ui/x-ui[841]: WARNING - Failed to set bot commands: telego: setMyCommands: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:47:58 swden2.com /usr/local/x-ui/x-ui[841]: INFO - Telegram bot receiver started
Apr 26 17:47:58 swden2.com /usr/local/x-ui/x-ui[841]: INFO - Sub server running HTTPS on [::]:2096
Apr 26 17:48:01 swden2.com x-ui[841]: [Sun Apr 26 17:48:01 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:01 swden2.com x-ui[841]: [Sun Apr 26 17:48:01 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:01 swden2.com x-ui[841]: [Sun Apr 26 17:48:01 UTC 2026] ERROR Retrying getting updates in 8s...
Apr 26 17:48:12 swden2.com x-ui[841]: [Sun Apr 26 17:48:12 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:12 swden2.com x-ui[841]: [Sun Apr 26 17:48:12 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:12 swden2.com x-ui[841]: [Sun Apr 26 17:48:12 UTC 2026] ERROR Retrying getting updates in 8s...
Apr 26 17:48:23 swden2.com x-ui[841]: [Sun Apr 26 17:48:23 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:23 swden2.com x-ui[841]: [Sun Apr 26 17:48:23 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:23 swden2.com x-ui[841]: [Sun Apr 26 17:48:23 UTC 2026] ERROR Retrying getting updates in 8s...
Apr 26 17:48:34 swden2.com x-ui[841]: [Sun Apr 26 17:48:34 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:34 swden2.com x-ui[841]: [Sun Apr 26 17:48:34 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:34 swden2.com x-ui[841]: [Sun Apr 26 17:48:34 UTC 2026] ERROR Retrying getting updates in 8s...
Apr 26 17:48:45 swden2.com x-ui[841]: [Sun Apr 26 17:48:45 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:45 swden2.com x-ui[841]: [Sun Apr 26 17:48:45 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:48:45 swden2.com x-ui[841]: [Sun Apr 26 17:48:45 UTC 2026] ERROR Retrying getting updates in 8s...
🐶 Тут причина уже видна в логе: **бот не достучался до Telegram**.
`dialing 149.154.166.110:443 timed out` = с сервера нет нормального выхода к Telegram API, поэтому `/start` молчит и команды не ставятся.
Проверь на сервере:
```bash
curl -I https://api.telegram.org
```
Если не отвечает, значит надо чинить **маршрут/фаервол/DNS** или выводить Telegram **мимо каскада/WARP**.
Сам `x-ui` запустился нормально, проблема именно в доступе к Telegram.
да, это каскад, как вывести Telegram мимо каскада?
[tool_call:memory_search]
[tool_call:memory_search]
🐶 Да. Самый простой вариант, если Telegram надо **мимо каскада**:
1) В **Routing** на RU‑сервере добавь правило **выше каскада**:
- `domain/geosite = telegram`
- или руками домены: `t.me`, `telegram.org`, `api.telegram.org`, `telegram.me`, `*.telegram-cdn.org`
- `outboundTag = direct`
2) Ниже оставь своё каскадное правило.
Если `geosite:telegram` у тебя не сработает, просто впиши домены руками.
Для бота это как раз надо, потому что сейчас Telegram API у тебя пытается идти через каскад и отваливается.
все равно
Apr 26 17:56:40 swden2.com /usr/local/x-ui/x-ui[841]: WARNING - XRAY: proxy/wireguard: Using gVisor TUN. WG inbound doesn't support kernel TUN yet.
Apr 26 17:56:40 swden2.com /usr/local/x-ui/x-ui[841]: WARNING - XRAY: proxy/wireguard: Using gVisor TUN. WG inbound doesn't support kernel TUN yet.
Apr 26 17:56:40 swden2.com /usr/local/x-ui/x-ui[841]: WARNING - XRAY: core: Xray 26.4.25 started
Apr 26 17:56:49 swden2.com x-ui[841]: [Sun Apr 26 17:56:49 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:56:49 swden2.com x-ui[841]: [Sun Apr 26 17:56:49 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:56:49 swden2.com x-ui[841]: [Sun Apr 26 17:56:49 UTC 2026] ERROR Retrying getting updates in 8s...
Apr 26 17:57:00 swden2.com x-ui[841]: [Sun Apr 26 17:57:00 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:57:00 swden2.com x-ui[841]: [Sun Apr 26 17:57:00 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:57:00 swden2.com x-ui[841]: [Sun Apr 26 17:57:00 UTC 2026] ERROR Retrying getting updates in 8s...
Apr 26 17:57:11 swden2.com x-ui[841]: [Sun Apr 26 17:57:11 UTC 2026] ERROR Execution error getUpdates: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:57:11 swden2.com x-ui[841]: [Sun Apr 26 17:57:11 UTC 2026] ERROR Getting updates: telego: getUpdates: internal execution: request call: fasthttp do request: error when dialing 149.154.166.110:443: dialing to the given TCP address timed out
Apr 26 17:57:11 swden2.com x-ui[841]: [Sun Apr 26 17:57:11 UTC 2026] ERROR Retrying getting updates in 8s...
🐶 Это уже **не правило в 3X‑UI**.
Лог говорит, что **сам сервис x-ui** не может достучаться до Telegram API: `149.154.166.110:443 timed out`.
Что делать:
1) На самом VPS проверь:
```bash
curl -I --max-time 10 https://api.telegram.org
```
2) Если таймаут, значит телега **не пускается на уровне сети сервера**. Тогда:
- выключи/обойди каскад или WARP **для самого VPS**,
- или сделай system‑route напрямую для `149.154.0.0/16`,
- потом `systemctl restart x-ui`.
`geosite:telegram` внутри Xray тут может вообще не влиять, потому что бот x-ui ходит как обычный процесс ОС.
Если хочешь, я могу дать точную команду, как проверить и временно пустить Telegram напрямую.
да, дай команду как пстить напрямую
🐶 Да, вот временно пустить Telegram **напрямую** с VPS:
```bash
GW=$(ip route show default | awk '/default/ {print $3; exit}')
DEV=$(ip route show default | awk '/default/ {print $5; exit}')
sudo ip route replace 149.154.0.0/16 via "$GW" dev "$DEV"
```
Проверка:
```bash
curl -I --max-time 10 https://api.telegram.org
```
Если после этого всё ожило, значит Telegram раньше уходил не туда. Если хочешь, следующим сообщением дам **постоянное** правило, чтобы после ребута не слетало.
все равно
root@swden2:~# GW=$(ip route show default | awk '/default/ {print $3; exit}')
DEV=$(ip route show default | awk '/default/ {print $5; exit}')
sudo ip route replace 149.154.0.0/16 via "$GW" dev "$DEV"
root@swden2:~# curl -I --max-time 10 https://api.telegram.org
curl: (28) Connection timed out after 10002 milliseconds
Тогда это уже **не просто маршрут**, а, скорее всего, **policy routing** или блокировка Telegram у хостера.
Проверь, куда реально идёт трафик:
```bash
ip rule show
ip route get 149.154.166.110
```
Если там не `main/eth0`, тогда нужен отдельный rule на Telegram, а если уже `eth0` и всё равно timeout, значит **Telegram режется провайдером**. В таком случае бот x-ui надо пускать через другой выход, а не “в лоб”.
@AntenkaAI_bot подскажи где можно почитать про - как создать подписку из разных серверов в телеграмм боте
[tool_call:memory_search]
@AntenkaAI_bot подскажи где можно почитать про - как создать подписку из разных серверов в телеграмм боте
The previous assistant turn recorded reasoning but did not produce a user-visible answer. Continue from that partial turn and produce the visible answer now. Do not restate the reasoning or restart from scratch.
@AntenkaAI_bot подскажи где можно почитать про - как создать подписку из разных серверов в телеграмм боте
The previous assistant turn recorded reasoning but did not produce a user-visible answer. Continue from that partial turn and produce the visible answer now. Do not restate the reasoning or restart from scratch.