alireza0:refresh online users 警告源于实际运行的 Xray 二进制不支持 GetUsersStats
针对 x-ui 1.12.0 + Docker 下反复出现的「refresh online users failed: unknown method GetUsersStats」警告:说明它表示实际运行的 Xray 二进制不支持 GetUsersStats 调用(尽管日志显示 26.7.28),而 x-ui 1.12.0 需要该调用才能显示在线用户。建议检查容器内 xray 版本输出、是否用挂载卷里的自有 xray 覆盖了内置二进制、镜像是否真的更新过,备份后通过面板重置 xray-core 配置,并从面板的 Xray 版本菜单重装 26.7.28。同时表示会让这条日志更少出现。
作者原文@alireza0Thanks for the report!
This warning means the Xray binary that is actually running doesn't support the
GetUsersStatscall, even though the log says 26.7.28. x-ui 1.12.0 needs it to show online users.Could you check:
- The output of
docker exec <container> /app/bin/xray-linux-amd64 version- Whether you have your own xray binary in a mounted volume (it can override the bundled one)
- That the image was really updated (
docker compose pull && docker compose up -d)- Save a backup and then reset your xray-core configuration using panel. Then test it
Try re-installing Xray 26.7.28 from the panel (Xray version menu) and tell us if the warning is gone. Meanwhile we'll make this log less noisy.