[GH-ISSUE #3885] "Network error" after trying "Restart Xray" or Update geofiles #2628

Closed
opened 2026-10-31 20:26:49 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @i1Master on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3885

Describe the bug

After trying "Restart Xray" or Update geofiles get "Network error".

Trying to update from previous version to 2.8.11 - doesn't help.
Trying update geoip_RU.dat and geosite_RU.dat from github - doesn't help.
Trying kill xray-linux-amd64 and restart container - doesn't help.
Trying reverse back rules to warp - doesn't help.

/app/bin# ./xray-linux-amd64 -test -config config.json
Xray 26.2.6 (Xray, Penetrates Everything.) 12ee51e (go1.25.7 linux/amd64)
A unified platform for anti-censorship.
2026/03/04 20:46:57.366940 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json}
2026/03/04 20:46:58.177693 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:46:58.178101 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:46:58.178608 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:46:58.178685 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:46:58.178781 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
Configuration OK.

yourhostname:/app/bin# cat ./error.log
yourhostname:/app/bin#

yourhostname:/app/bin# ls -la
total 173436
drwxr-xr-x 1 root root 4096 Mar 4 20:42 .
drwxr-xr-x 1 root root 4096 Mar 4 20:03 ..
-rw-r--r-- 1 root root 16725 Jan 1 03:30 LICENSE
-rw-r--r-- 1 root root 10153 Jan 1 03:30 README.md
-rwxr-xr-x 1 root root 25414 Mar 4 20:29 config.json
-rw------- 1 root root 0 Mar 4 20:16 error.log
-rw-r--r-- 1 root root 20088048 Mar 4 01:53 geoip.dat
-rw-r--r-- 1 root root 19495681 Feb 22 09:09 geoip_IR.dat
-rw-r--r-- 1 root root 21353678 Mar 4 20:28 geoip_RU.dat
-rw-r--r-- 1 root root 10261687 Mar 4 01:53 geosite.dat
-rw-r--r-- 1 root root 7732841 Feb 22 09:09 geosite_IR.dat
-rw-r--r-- 1 root root 62880362 Mar 4 20:28 geosite_RU.dat
-rwxr-xr-x 1 root root 35688596 Jan 1 03:30 xray-linux-amd64

yourhostname:/app/bin# ./xray-linux-amd64 run -c config.json
Xray 26.2.6 (Xray, Penetrates Everything.) 12ee51e (go1.25.7 linux/amd64)
A unified platform for anti-censorship.
2026/03/04 20:51:05.056661 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json}
2026/03/04 20:51:05.912371 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:51:05.912492 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:51:05.912881 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:51:05.913098 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.
2026/03/04 20:51:05.913924 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible.

yourhostname:/app/bin# netstat -tuln | grep 62789
tcp 0 0 127.0.0.1:62789 0.0.0.0:* LISTEN

yourhostname:/app# modprobe wireguard
modprobe: can't change directory to '/lib/modules': No such file or directory

yourhostname:/app# lsmod | grep wireguard
wireguard 114688 0
curve25519_x86_64 36864 1 wireguard
libchacha20poly1305 16384 1 wireguard
libcurve25519_generic 49152 2 wireguard,curve25519_x86_64
ip6_udp_tunnel 16384 1 wireguard
udp_tunnel 32768 1 wireguard

yourhostname:/app# ls -la bin/error.log
-rw-r--r-- 1 root root 63 Mar 4 20:51 bin/error.lo

How to repeat the problem?

Update 2 rules from warp to direct.

      {
        "type": "field",
        "ip": [
          "geoip:ru",
          "ext:geoip_RU.dat:ru"
        ],
        "outboundTag": "direct"
      },
      {
        "type": "field",
        "domain": [
          "geosite:category-gov-ru",
          "regexp:.*\\.ru$",
          "ext:geosite_RU.dat:ru-available-only-inside"
        ],
        "outboundTag": "direct"
      },

Expected action

"Restart Xray" or Update geofiles successfully completed.

Received action

No response

3x-ui Version

2.8.11

Xray-core Version

26.2.6

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @i1Master on GitHub (Mar 4, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3885 ### Describe the bug After trying "Restart Xray" or Update geofiles get "Network error". Trying to update from previous version to 2.8.11 - doesn't help. Trying update geoip_RU.dat and geosite_RU.dat from github - doesn't help. Trying kill xray-linux-amd64 and restart container - doesn't help. Trying reverse back rules to warp - doesn't help. **/app/bin# ./xray-linux-amd64 -test -config config.json** Xray 26.2.6 (Xray, Penetrates Everything.) 12ee51e (go1.25.7 linux/amd64) A unified platform for anti-censorship. 2026/03/04 20:46:57.366940 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json} 2026/03/04 20:46:58.177693 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:46:58.178101 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:46:58.178608 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:46:58.178685 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:46:58.178781 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. Configuration OK. **yourhostname:/app/bin# cat ./error.log** yourhostname:/app/bin# **yourhostname:/app/bin# ls -la** total 173436 drwxr-xr-x 1 root root 4096 Mar 4 20:42 . drwxr-xr-x 1 root root 4096 Mar 4 20:03 .. -rw-r--r-- 1 root root 16725 Jan 1 03:30 LICENSE -rw-r--r-- 1 root root 10153 Jan 1 03:30 README.md -rwxr-xr-x 1 root root 25414 Mar 4 20:29 config.json -rw------- 1 root root 0 Mar 4 20:16 error.log -rw-r--r-- 1 root root 20088048 Mar 4 01:53 geoip.dat -rw-r--r-- 1 root root 19495681 Feb 22 09:09 geoip_IR.dat -rw-r--r-- 1 root root 21353678 Mar 4 20:28 geoip_RU.dat -rw-r--r-- 1 root root 10261687 Mar 4 01:53 geosite.dat -rw-r--r-- 1 root root 7732841 Feb 22 09:09 geosite_IR.dat -rw-r--r-- 1 root root 62880362 Mar 4 20:28 geosite_RU.dat -rwxr-xr-x 1 root root 35688596 Jan 1 03:30 xray-linux-amd64 **yourhostname:/app/bin# ./xray-linux-amd64 run -c config.json** Xray 26.2.6 (Xray, Penetrates Everything.) 12ee51e (go1.25.7 linux/amd64) A unified platform for anti-censorship. 2026/03/04 20:51:05.056661 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json} 2026/03/04 20:51:05.912371 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:51:05.912492 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:51:05.912881 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:51:05.913098 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. 2026/03/04 20:51:05.913924 [Warning] common/errors: The feature VLESS (with no Flow, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS with Flow & Seed as soon as possible. **yourhostname:/app/bin# netstat -tuln | grep 62789** tcp 0 0 127.0.0.1:62789 0.0.0.0:* LISTEN **yourhostname:/app# modprobe wireguard** modprobe: can't change directory to '/lib/modules': No such file or directory **yourhostname:/app# lsmod | grep wireguard** wireguard 114688 0 curve25519_x86_64 36864 1 wireguard libchacha20poly1305 16384 1 wireguard libcurve25519_generic 49152 2 wireguard,curve25519_x86_64 ip6_udp_tunnel 16384 1 wireguard udp_tunnel 32768 1 wireguard **yourhostname:/app# ls -la bin/error.log** -rw-r--r-- 1 root root 63 Mar 4 20:51 bin/error.lo ### How to repeat the problem? Update 2 rules from warp to direct. ``` { "type": "field", "ip": [ "geoip:ru", "ext:geoip_RU.dat:ru" ], "outboundTag": "direct" }, { "type": "field", "domain": [ "geosite:category-gov-ru", "regexp:.*\\.ru$", "ext:geosite_RU.dat:ru-available-only-inside" ], "outboundTag": "direct" }, ``` ### Expected action "Restart Xray" or Update geofiles successfully completed. ### Received action _No response_ ### 3x-ui Version 2.8.11 ### Xray-core Version 26.2.6 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:26:49 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@spot94 commented on GitHub (Apr 13, 2026):

Same issue. Temporary resolution:

  1. Copy /app/bin to some folder
docker cp 3x-ui:/app/bin/. /some/folder/bin/
  1. Update Xray core and geo-files manually
cd /some/folder/bin/
#Getting Xray
wget -O Xray.zip https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip
unzip -o Xray.zip
rm Xray.zip
chmod +x xray
mv xray xray-linux-amd64
#Getting GEO
wget -O geosite.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
wget -O geoip.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
wget -O geosite_RU.dat https://github.com/Nidelon/ru-block-v2ray-rules/raw/release/geosite.dat
wget -O geoip_RU.dat https://github.com/Nidelon/ru-block-v2ray-rules/raw/release/geoip.dat
  1. Mount /app/bin to your docker container
services:
  3x-ui:
    image: ghcr.io/mhsanaei/3x-ui:latest
    container_name: 3x-ui
    volumes:
      - ...:/etc/x-ui/
      - ...:/root/cert/
      - ...:/app/access.log
      - /some/folder/bin:/app/bin # <---- Add this
<!-- gh-comment-id:4238794498 --> @spot94 commented on GitHub (Apr 13, 2026): Same issue. Temporary resolution: 1. Copy `/app/bin` to some folder ```bash docker cp 3x-ui:/app/bin/. /some/folder/bin/ ``` 2. Update Xray core and geo-files manually ```bash cd /some/folder/bin/ #Getting Xray wget -O Xray.zip https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip unzip -o Xray.zip rm Xray.zip chmod +x xray mv xray xray-linux-amd64 #Getting GEO wget -O geosite.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat wget -O geoip.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat wget -O geosite_RU.dat https://github.com/Nidelon/ru-block-v2ray-rules/raw/release/geosite.dat wget -O geoip_RU.dat https://github.com/Nidelon/ru-block-v2ray-rules/raw/release/geoip.dat ``` 3. Mount `/app/bin` to your docker container ```yaml services: 3x-ui: image: ghcr.io/mhsanaei/3x-ui:latest container_name: 3x-ui volumes: - ...:/etc/x-ui/ - ...:/root/cert/ - ...:/app/access.log - /some/folder/bin:/app/bin # <---- Add this ```
Author
Owner

@spot94 commented on GitHub (Apr 13, 2026):

Also "Network error" can be ignored in the following case:
Internet -> Xray-core:443 -> Fallback to Reverse Proxy -> Access to 3X-UI Panel
When Xray is restarting, the web panel will be inaccessible for a short period of time.

<!-- gh-comment-id:4238925705 --> @spot94 commented on GitHub (Apr 13, 2026): Also "Network error" can be ignored in the following case: `Internet -> Xray-core:443 -> Fallback to Reverse Proxy -> Access to 3X-UI Panel` When Xray is restarting, the web panel will be inaccessible for a short period of time.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2628
No description provided.