[GH-ISSUE #4744] [Bug]: Not logs for access users #3285

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

Originally created by @arhnick-netizen on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4744

Describe the bug

On the main panel, in the X-ray table, go to the log - it's empty by users.

PS: The users section has become inconvenient because filtering takes a long time in terms of selecting back and forth.

How to reproduce the problem

  1. Open the first page
  2. In the x-ray section on the main screen, click log
  3. Time is recorded - users-no.

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.2.0

Xray-core version

26.5.9

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @arhnick-netizen on GitHub (Jun 1, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4744 ### Describe the bug On the main panel, in the X-ray table, go to the log - it's empty by users. PS: The users section has become inconvenient because filtering takes a long time in terms of selecting back and forth. ### How to reproduce the problem 1. Open the first page 2. In the x-ray section on the main screen, click log 3. Time is recorded - users-no. ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.0 ### Xray-core version 26.5.9 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:31:21 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 1, 2026):

Thanks for the report!

The User column in the X-ray access log viewer is populated from the email: field in Xray access log entries. This value only appears when a client has an Email (identifier) set in the inbound configuration.

A few things to check:

  1. Do your clients have an Email set?
    In the panel, open the inbound → client list and verify that each client has a non-empty Email/Remark field. Without it, Xray does not write email: to the access log, so the User column stays blank.

  2. Is the access log enabled?
    Go to Settings → Xray Configuration and confirm that the access log path is set (not none or empty). The log viewer reads from that file.

  3. Check a raw log line – if you can share a sanitised sample line from your access log (e.g. /var/log/3x-ui/access.log), it will help confirm whether email: is missing from the log itself or just not being parsed correctly.

If clients do have emails set and the access log is enabled but the User column is still empty, please share:

  • A redacted sample line from the raw access log file
  • The inbound protocol you are using (VLESS, VMess, Trojan, etc.)

That will help narrow down whether this is a configuration gap or a genuine parsing bug.

<!-- gh-comment-id:4590954371 --> @github-actions[bot] commented on GitHub (Jun 1, 2026): Thanks for the report\! The **User** column in the X-ray access log viewer is populated from the `email:` field in Xray access log entries. This value only appears when a client has an **Email** (identifier) set in the inbound configuration. A few things to check: 1. **Do your clients have an Email set?** In the panel, open the inbound → client list and verify that each client has a non-empty Email/Remark field. Without it, Xray does not write `email:` to the access log, so the User column stays blank. 2. **Is the access log enabled?** Go to **Settings → Xray Configuration** and confirm that the access log path is set (not `none` or empty). The log viewer reads from that file. 3. **Check a raw log line** – if you can share a sanitised sample line from your access log (e.g. `/var/log/3x-ui/access.log`), it will help confirm whether `email:` is missing from the log itself or just not being parsed correctly. If clients do have emails set and the access log is enabled but the User column is still empty, please share: - A redacted sample line from the raw access log file - The inbound protocol you are using (VLESS, VMess, Trojan, etc.) That will help narrow down whether this is a configuration gap or a genuine parsing bug.
Author
Owner

@arhnick-netizen commented on GitHub (Jun 1, 2026):

In 3.2.5 too... Clients have an Email set. Is the access log enabled (not empty).
Resaving the connection solved the problem...
But.. 2026/06/01 12:09:58 WARNING - X-UI: remoteWORKonlines fetch failed:POST panel/api/clients/onlines: HTTP 404 + 2026/06/01 12:09:58 WARNING - X-UI: remoteWORKlastOnline fetch failed:POST panel/api/clients/lastOnline: HTTP 404...

<!-- gh-comment-id:4591133241 --> @arhnick-netizen commented on GitHub (Jun 1, 2026): In 3.2.5 too... Clients have an Email set. Is the access log enabled (not empty). Resaving the connection solved the problem... But.. 2026/06/01 12:09:58 WARNING - X-UI: remoteWORKonlines fetch failed:POST panel/api/clients/onlines: HTTP 404 + 2026/06/01 12:09:58 WARNING - X-UI: remoteWORKlastOnline fetch failed:POST panel/api/clients/lastOnline: HTTP 404...
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#3285
No description provided.