[GH-ISSUE #6406] [Bug]: WhatsApp voice and video calls fail over VLESS while browsing and messaging work #4338

Closed
opened 2026-10-31 20:38:56 +07:00 by bsakaguchi · 3 comments
Owner

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

Describe the bug

Hi,

I’m having an issue with WhatsApp voice and video calls when using your X-UI panel.

My VLESS connection works normally for internet browsing and WhatsApp messaging, but WhatsApp voice and video calls do not work at all.

I tested multiple configurations, including:

VLESS + TCP + TLS
VLESS + HTTPUpgrade
Different ports

The server is reachable and the VPN connection works normally, but calls still fail.

I also checked the server:

UFW is inactive.
iptables INPUT/OUTPUT/FORWARD policies are all ACCEPT.
Xray is running normally.
UDP sockets are present on the server.

How to reproduce the problem

  1. Install and configure the X-UI panel on a VPS.
  2. Create a VLESS inbound using TCP + TLS.
  3. Connect to the server using v2rayNG on Android.
  4. Confirm that normal internet browsing and WhatsApp messaging work correctly.
  5. Try to make a WhatsApp voice call or video call.
  6. The call does not connect, even though the VLESS connection itself is working normally.
  7. The same issue occurs with other VLESS transport configurations, including HTTPUpgrade.

The issue appears to be related to UDP traffic handling through the Xray/X-UI configuration.

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.7.0

Xray-core version

No response

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 @BOyrain93 on GitHub (Sep 4, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6406 ### Describe the bug Hi, I’m having an issue with WhatsApp voice and video calls when using your X-UI panel. My VLESS connection works normally for internet browsing and WhatsApp messaging, but WhatsApp voice and video calls do not work at all. I tested multiple configurations, including: VLESS + TCP + TLS VLESS + HTTPUpgrade Different ports The server is reachable and the VPN connection works normally, but calls still fail. I also checked the server: UFW is inactive. iptables INPUT/OUTPUT/FORWARD policies are all ACCEPT. Xray is running normally. UDP sockets are present on the server. ### How to reproduce the problem 1. Install and configure the X-UI panel on a VPS. 2. Create a VLESS inbound using TCP + TLS. 3. Connect to the server using v2rayNG on Android. 4. Confirm that normal internet browsing and WhatsApp messaging work correctly. 5. Try to make a WhatsApp voice call or video call. 6. The call does not connect, even though the VLESS connection itself is working normally. 7. The same issue occurs with other VLESS transport configurations, including HTTPUpgrade. The issue appears to be related to UDP traffic handling through the Xray/X-UI configuration. ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.7.0 ### Xray-core version _No response_ ### 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:38:56 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 4, 2026):

Nothing in the Xray configuration 3x-ui generates blocks UDP, so "UDP traffic handling through the Xray/X-UI configuration" is not the cause on a stock install — the default template contains exactly two block rules, and neither touches UDP. I could not pin down what is failing on your server, because the report carries no logs and no Xray version, so there are three things I need at the bottom.

What the panel actually generates

The default Xray config is internal/web/service/config.json. That is its entire routing section (internal/web/service/config.json:62-86):

"routing": {
  "domainStrategy": "AsIs",
  "rules": [
    { "inboundTag": ["api"], "outboundTag": "api", "type": "field" },
    { "ip": ["geoip:private"], "outboundTag": "blocked", "type": "field" },
    { "outboundTag": "blocked", "protocol": ["bittorrent"], "type": "field" }
  ]
}

and that is the egress outbound (internal/web/service/config.json:31-41):

{
  "protocol": "freedom",
  "settings": {
    "domainStrategy": "AsIs",
    "finalRules": [
      { "action": "block", "ip": ["geoip:private"] },
      { "action": "allow" }
    ]
  },
  "tag": "direct"
}

There is no port filter, no network matcher and no UDP restriction. The two other panel-side settings that can disturb UDP are both inert by default:

  • Sniffing is off on a new inbound — sniffing: SniffingSchema.default({ enabled: false, ... }) (frontend/src/schemas/forms/inbound-form.ts:42-49).
  • A new client is created with no flow — flow: '' (frontend/src/pages/clients/ClientFormModal.tsx:146).

I also grepped the Go side: the only udp switches in the generated config are the panel's own internal loopback SOCKS bridges (internal/web/service/xray.go:500, :593, :636), which never carry client traffic. Nothing in the panel narrows a VLESS inbound to TCP.

One panel-side thing worth ruling out

If you set a flow on the client, check which one. The panel offers two (frontend/src/schemas/primitives/flow.ts:3):

export const FlowSchema = z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443']);

The -udp443 variant exists in Xray-core specifically because plain xtls-rprx-vision treats UDP to port 443 differently. I could not read the xray-core source from this checkout to quote the deciding line, so treat that as an inference rather than a confirmed fact — but it is a one-click test: set the client's Flow to xtls-rprx-vision-udp443, or clear it, and retry the call. It is irrelevant if your clients already have flow empty (the default).

What would settle this

  1. The Xray access log during a failed call. Panel → Xray Settings → Basics → Access log → ./access.log (the only two values are none and ./access.log, frontend/src/pages/xray/basics/constants.ts:3), restart Xray, place one WhatsApp call, then paste the lines. On an install.sh Ubuntu install that file is /usr/local/x-ui/access.log, because the unit sets WorkingDirectory=/usr/local/x-ui/ (x-ui.service.debian:12). This is the single check that decides the whole question: if udp: entries for the call appear, your client is tunnelling UDP and the packets die on egress; if none appear, the client never sent them and the panel is not involved at all.
  2. Your routing rules, if you changed them — paste Xray Settings → Routing, or the raw template. The stock rules above are the baseline; anything you added is the first suspect.
  3. The Xray version (the form field was left empty):
    /usr/local/x-ui/bin/xray-linux-amd64 -version
    
    For reference, the release build bundles Xray v26.7.28 (DockerInit.sh:35).

A useful extra data point while you are on the VPS: dig +notcp @1.1.1.1 example.com proves generic UDP egress works. That is not the same as WhatsApp working — calls use UDP 3478 and a high port range, and hosting providers filter those far more often than UDP/53. Your iptables check covers the local firewall only, not upstream filtering by the provider.

Note that 3x-ui v3.7.0 is the current release (gh release list), so you are on the tip — there is no newer version to try.

Verdict: Insufficient information
Severity: N/A
Confidence: Medium
Root cause: None found on the panel side. The generated Xray config carries no UDP, port or network restriction: routing has only geoip:private → blocked and protocol: ["bittorrent"] → blocked (internal/web/service/config.json:62-86), and the freedom outbound's finalRules block only geoip:private (internal/web/service/config.json:31-41). What breaks the reporter's calls cannot be located without their access log or routing config.
Already fixed: Not applicable — no defect identified.
Duplicate of: Related: #1092 and #1373 (same symptom, both closed, neither with a root cause confirmed in the source). Not duplicates.
Evidence: internal/web/service/config.json:62-86 (the three routing rules, quoted above); internal/web/service/config.json:31-41 (freedom finalRules); frontend/src/schemas/forms/inbound-form.ts:42-49 — sniffing: SniffingSchema.default({ enabled: false, ... }); frontend/src/pages/clients/ClientFormModal.tsx:146 — flow: ''; frontend/src/schemas/primitives/flow.ts:3 — z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443']); frontend/src/pages/xray/basics/constants.ts:3 — export const ACCESS_LOG = ['none', './access.log'];; x-ui.service.debian:12 — WorkingDirectory=/usr/local/x-ui/; DockerInit.sh:35 (bundled Xray v26.7.28).
Not determined: Whether the reporter's client emits UDP through the tunnel at all, and whether their routing config is stock. Item 1 above — the Xray access log during one failed call — settles both. I could not read the xray-core source from this checkout, so the xtls-rprx-vision UDP/443 note is an inference, not a quoted line.

I have added the clarification needed label and left the issue open; post the access log and it will be picked up from there. I also retitled it from "[Bug]: WhatsApp voice and video calls" so the symptom is visible in the issue list — your problem statement is unchanged.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:5538595290 --> @github-actions[bot] commented on GitHub (Sep 4, 2026): **Nothing in the Xray configuration 3x-ui generates blocks UDP**, so "UDP traffic handling through the Xray/X-UI configuration" is not the cause on a stock install — the default template contains exactly two `block` rules, and neither touches UDP. I could not pin down what *is* failing on your server, because the report carries no logs and no Xray version, so there are three things I need at the bottom. ### What the panel actually generates The default Xray config is `internal/web/service/config.json`. That is its entire routing section (`internal/web/service/config.json:62-86`): ```json "routing": { "domainStrategy": "AsIs", "rules": [ { "inboundTag": ["api"], "outboundTag": "api", "type": "field" }, { "ip": ["geoip:private"], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": ["bittorrent"], "type": "field" } ] } ``` and that is the egress outbound (`internal/web/service/config.json:31-41`): ```json { "protocol": "freedom", "settings": { "domainStrategy": "AsIs", "finalRules": [ { "action": "block", "ip": ["geoip:private"] }, { "action": "allow" } ] }, "tag": "direct" } ``` There is no port filter, no `network` matcher and no UDP restriction. The two other panel-side settings that can disturb UDP are both inert by default: - Sniffing is **off** on a new inbound — `sniffing: SniffingSchema.default({ enabled: false, ... })` (`frontend/src/schemas/forms/inbound-form.ts:42-49`). - A new client is created with **no flow** — `flow: ''` (`frontend/src/pages/clients/ClientFormModal.tsx:146`). I also grepped the Go side: the only `udp` switches in the generated config are the panel's own internal loopback SOCKS bridges (`internal/web/service/xray.go:500`, `:593`, `:636`), which never carry client traffic. Nothing in the panel narrows a VLESS inbound to TCP. ### One panel-side thing worth ruling out If you set a flow on the client, check which one. The panel offers two (`frontend/src/schemas/primitives/flow.ts:3`): ```ts export const FlowSchema = z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443']); ``` The `-udp443` variant exists in Xray-core specifically because plain `xtls-rprx-vision` treats UDP to port 443 differently. I could not read the xray-core source from this checkout to quote the deciding line, so treat that as an inference rather than a confirmed fact — but it is a one-click test: set the client's **Flow** to `xtls-rprx-vision-udp443`, or clear it, and retry the call. It is irrelevant if your clients already have flow empty (the default). ### What would settle this 1. **The Xray access log during a failed call.** Panel → Xray Settings → Basics → *Access log* → `./access.log` (the only two values are `none` and `./access.log`, `frontend/src/pages/xray/basics/constants.ts:3`), restart Xray, place one WhatsApp call, then paste the lines. On an `install.sh` Ubuntu install that file is `/usr/local/x-ui/access.log`, because the unit sets `WorkingDirectory=/usr/local/x-ui/` (`x-ui.service.debian:12`). This is the single check that decides the whole question: if `udp:` entries for the call appear, your client *is* tunnelling UDP and the packets die on egress; if none appear, the client never sent them and the panel is not involved at all. 2. **Your routing rules**, if you changed them — paste Xray Settings → Routing, or the raw template. The stock rules above are the baseline; anything you added is the first suspect. 3. **The Xray version** (the form field was left empty): ```bash /usr/local/x-ui/bin/xray-linux-amd64 -version ``` For reference, the release build bundles Xray v26.7.28 (`DockerInit.sh:35`). A useful extra data point while you are on the VPS: `dig +notcp @1.1.1.1 example.com` proves generic UDP egress works. That is not the same as WhatsApp working — calls use UDP 3478 and a high port range, and hosting providers filter those far more often than UDP/53. Your `iptables` check covers the local firewall only, not upstream filtering by the provider. Note that `3x-ui` v3.7.0 is the current release (`gh release list`), so you are on the tip — there is no newer version to try. Verdict: Insufficient information Severity: N/A Confidence: Medium Root cause: None found on the panel side. The generated Xray config carries no UDP, port or network restriction: routing has only `geoip:private` → `blocked` and `protocol: ["bittorrent"]` → `blocked` (`internal/web/service/config.json:62-86`), and the freedom outbound's `finalRules` block only `geoip:private` (`internal/web/service/config.json:31-41`). What breaks the reporter's calls cannot be located without their access log or routing config. Already fixed: Not applicable — no defect identified. Duplicate of: Related: #1092 and #1373 (same symptom, both closed, neither with a root cause confirmed in the source). Not duplicates. Evidence: `internal/web/service/config.json:62-86` (the three routing rules, quoted above); `internal/web/service/config.json:31-41` (freedom `finalRules`); `frontend/src/schemas/forms/inbound-form.ts:42-49` — `sniffing: SniffingSchema.default({ enabled: false, ... })`; `frontend/src/pages/clients/ClientFormModal.tsx:146` — `flow: ''`; `frontend/src/schemas/primitives/flow.ts:3` — `z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443'])`; `frontend/src/pages/xray/basics/constants.ts:3` — `export const ACCESS_LOG = ['none', './access.log'];`; `x-ui.service.debian:12` — `WorkingDirectory=/usr/local/x-ui/`; `DockerInit.sh:35` (bundled Xray v26.7.28). Not determined: Whether the reporter's client emits UDP through the tunnel at all, and whether their routing config is stock. Item 1 above — the Xray access log during one failed call — settles both. I could not read the xray-core source from this checkout, so the `xtls-rprx-vision` UDP/443 note is an inference, not a quoted line. I have added the **clarification needed** label and left the issue open; post the access log and it will be picked up from there. I also retitled it from "[Bug]: WhatsApp voice and video calls" so the symptom is visible in the issue list — your problem statement is unchanged. *This reply was generated automatically; a maintainer may follow up.* <!-- claude-issue:analyst -->
Author
Owner

@BOyrain93 commented on GitHub (Sep 4, 2026):

I did some additional troubleshooting and would like to provide the results.

Environment / client:

Server: VPS
Panel: 3x-ui
Client: v2rayNG on Android
Protocol tested: VLESS

Problem:
Normal internet traffic and WhatsApp messaging work correctly through the VPN, but WhatsApp voice and video calls do not work.

Configurations tested:

VLESS + TCP + TLS
Port: 2063
ALPN: http/1.1
SNI: *****
Fingerprint: Chrome
VLESS + HTTPUpgrade
Port: 80 /443/8080/2063
Security: none

Both configurations establish a working VPN connection, and normal internet traffic/WhatsApp messaging work, but WhatsApp voice and video calls fail.

Server-side tests:

UFW is inactive.
iptables is not blocking traffic:
INPUT: ACCEPT
OUTPUT: ACCEPT
FORWARD: ACCEPT
ss -lunp shows multiple UDP sockets opened by Xray.
The Xray outbound uses freedom.
No routing rule was found that specifically blocks WhatsApp or UDP traffic.
DNS is configured with Google DNS servers (8.8.8.8 / 8.8.4.4).

The issue occurs with both VLESS TCP+TLS and VLESS HTTPUpgrade, so it does not appear to be related to the TLS certificate, SNI, or a specific TLS configuration.

At this point, the main suspicion is UDP handling/forwarding for voice and video calls, either in Xray-core, 3x-ui configuration, or the way v2rayNG sends UDP traffic through the VLESS tunnel.

Could you please advise what additional logs or tests you need, and whether there is any known issue with UDP forwarding for WhatsApp calls in the current 3x-ui/Xray version?

I can provide the full Xray configuration, Xray version, v2rayNG version, or relevant logs if needed.

<!-- gh-comment-id:5538825027 --> @BOyrain93 commented on GitHub (Sep 4, 2026): I did some additional troubleshooting and would like to provide the results. Environment / client: Server: VPS Panel: 3x-ui Client: v2rayNG on Android Protocol tested: VLESS Problem: Normal internet traffic and WhatsApp messaging work correctly through the VPN, but WhatsApp voice and video calls do not work. Configurations tested: VLESS + TCP + TLS Port: 2063 ALPN: http/1.1 SNI: ***** Fingerprint: Chrome VLESS + HTTPUpgrade Port: 80 /443/8080/2063 Security: none Both configurations establish a working VPN connection, and normal internet traffic/WhatsApp messaging work, but WhatsApp voice and video calls fail. Server-side tests: UFW is inactive. iptables is not blocking traffic: INPUT: ACCEPT OUTPUT: ACCEPT FORWARD: ACCEPT ss -lunp shows multiple UDP sockets opened by Xray. The Xray outbound uses freedom. No routing rule was found that specifically blocks WhatsApp or UDP traffic. DNS is configured with Google DNS servers (8.8.8.8 / 8.8.4.4). The issue occurs with both VLESS TCP+TLS and VLESS HTTPUpgrade, so it does not appear to be related to the TLS certificate, SNI, or a specific TLS configuration. At this point, the main suspicion is UDP handling/forwarding for voice and video calls, either in Xray-core, 3x-ui configuration, or the way v2rayNG sends UDP traffic through the VLESS tunnel. Could you please advise what additional logs or tests you need, and whether there is any known issue with UDP forwarding for WhatsApp calls in the current 3x-ui/Xray version? I can provide the full Xray configuration, Xray version, v2rayNG version, or relevant logs if needed.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 4, 2026):

Thanks — nothing in your follow-up changes the panel-side finding (the generated Xray config still imposes no UDP restriction), but the new details do narrow the search, and they rule out the panel a little further rather than pointing at it. I still cannot name a cause, so I have listed below exactly the four things you offered, in the order they decide the question.

What your new details settle

  • Both a TLS and a plaintext transport fail identically. VLESS+TCP+TLS on 2063 and VLESS+HTTPUpgrade with security: none share almost nothing except the freedom outbound and the egress path — so the transport, the certificate and the SNI are out, exactly as you concluded.
  • A freedom outbound with no added rules is the stock shape. That matches the default template verbatim (internal/web/service/config.json:31-41 and :62-86): the only block rules are geoip:private and protocol: ["bittorrent"], and the freedom outbound's finalRules block only geoip:private. No port filter, no network matcher.
  • ss -lunp is the one test I would not lean on. It lists the sockets bound at the moment you ran it; it does not show whether the packets for your call actually left the box. Item 1 below replaces it.

The one thing you have not reported

Your follow-up covers routing, the outbound, DNS and the transports, but not the client Flow value. That is the only panel-side knob that treats UDP differently — the panel offers three values (frontend/src/schemas/primitives/flow.ts:3):

export const FlowSchema = z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443']);

A new client is created with flow: '' (frontend/src/pages/clients/ClientFormModal.tsx:146), which is unaffected. If yours is set to xtls-rprx-vision, switching it to xtls-rprx-vision-udp443 or clearing it is a one-click test. Item 3 below shows me which one you have without you having to look.

What I need, in order of how much each decides

  1. A packet capture on the VPS during one failed call. This is the single test that splits the problem in two:
    sudo tcpdump -ni any 'udp and not port 53' -c 100
    
    Start it, place one WhatsApp call, stop it, paste the output (redact your own IP). If outgoing UDP appears with no replies, the packets leave your server and die upstream — your provider's filtering, not 3x-ui. If nothing appears at all, your client never sent them through the tunnel.
  2. The Xray access log lines for that same call. Panel → Xray Settings → Basics → Access log → ./access.log (the only two values are none and ./access.log, frontend/src/pages/xray/basics/constants.ts:3), then restart Xray. The file lands at /usr/local/x-ui/access.log, because the unit sets WorkingDirectory=/usr/local/x-ui/ (x-ui.service.debian:12) and the Xray child inherits it. Note the default template ships "maskAddress": "", so real addresses are written — redact before pasting. udp: entries here mean your client is tunnelling UDP.
  3. The generated config, since you offered it:
    sudo cat /usr/local/x-ui/bin/config.json
    
    That is the file the panel actually feeds Xray (internal/xray/process.go:41 + :608), and it is rewritten on every restart (internal/xray/process.go:603) — read it, do not edit it. Redact UUIDs, your domain and any passwords. One paste gives me the routing rules, the sniffing block and each client's flow together.
  4. The Xray version (the form field is still empty):
    /usr/local/x-ui/bin/xray-linux-amd64 -version
    

You are on the current release — v3.7.0 is the latest tag (gh release list) — so there is no newer version to try in the meantime.

Verdict: Insufficient information
Severity: N/A
Confidence: Medium
Root cause: Still none identified on the panel side. The generated config carries no UDP, port or network restriction — routing has only geoip:private → blocked and protocol: ["bittorrent"] → blocked (internal/web/service/config.json:62-86), the freedom outbound's finalRules block only geoip:private (internal/web/service/config.json:31-41), sniffing defaults to disabled (frontend/src/schemas/forms/inbound-form.ts:42-49) and a new client to flow: '' (frontend/src/pages/clients/ClientFormModal.tsx:146). The panel also exposes no UDP session-timeout knob: the policy UI writes only connIdle and bufferSize (frontend/src/pages/xray/basics/BasicsTab.tsx:361-386), never uplinkOnly/downlinkOnly.
Already fixed: Not applicable — no defect identified.
Duplicate of: Related: #3283 (same symptom for Telegram calls, closed as completed with no root cause recorded in the thread). Not a duplicate.
Evidence: internal/web/service/config.json:62-86 (three routing rules); internal/web/service/config.json:31-41 (freedom finalRules); frontend/src/schemas/forms/inbound-form.ts:42-49 — sniffing: SniffingSchema.default({ enabled: false, ... }); frontend/src/pages/clients/ClientFormModal.tsx:146 — flow: ''; frontend/src/schemas/primitives/flow.ts:3 — z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443']); frontend/src/pages/xray/basics/constants.ts:3 — export const ACCESS_LOG = ['none', './access.log'];; internal/xray/process.go:41 — return config.GetBinFolderPath() + "/config.json" with the default "bin" (internal/config/config.go:129-136); internal/xray/process.go:608 — exec.CommandContext(..., GetBinaryPath(), "-c", configPath) with no cmd.Dir, so the child inherits WorkingDirectory=/usr/local/x-ui/ (x-ui.service.debian:12); gh release list — v3.7.0 is the latest tag.
Not determined: Whether UDP for the call leaves the VPS at all, and what flow the reporter's clients carry. Items 1 and 3 above settle both. I could not read the xray-core source from this checkout, so the note about xtls-rprx-vision and UDP/443 remains an inference, not a quoted line.

The clarification needed label stays and the issue stays open; post items 1–3 and it will be picked up from there.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:5538882701 --> @github-actions[bot] commented on GitHub (Sep 4, 2026): Thanks — nothing in your follow-up changes the panel-side finding (the generated Xray config still imposes no UDP restriction), but the new details do narrow the search, and they rule out the panel a little further rather than pointing at it. I still cannot name a cause, so I have listed below exactly the four things you offered, in the order they decide the question. ### What your new details settle - **Both a TLS and a plaintext transport fail identically.** VLESS+TCP+TLS on 2063 and VLESS+HTTPUpgrade with `security: none` share almost nothing except the freedom outbound and the egress path — so the transport, the certificate and the SNI are out, exactly as you concluded. - **A freedom outbound with no added rules is the stock shape.** That matches the default template verbatim (`internal/web/service/config.json:31-41` and `:62-86`): the only `block` rules are `geoip:private` and `protocol: ["bittorrent"]`, and the freedom outbound's `finalRules` block only `geoip:private`. No port filter, no `network` matcher. - **`ss -lunp` is the one test I would not lean on.** It lists the sockets bound at the moment you ran it; it does not show whether the packets for *your* call actually left the box. Item 1 below replaces it. ### The one thing you have not reported Your follow-up covers routing, the outbound, DNS and the transports, but not the **client `Flow`** value. That is the only panel-side knob that treats UDP differently — the panel offers three values (`frontend/src/schemas/primitives/flow.ts:3`): ```ts export const FlowSchema = z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443']); ``` A new client is created with `flow: ''` (`frontend/src/pages/clients/ClientFormModal.tsx:146`), which is unaffected. If yours is set to `xtls-rprx-vision`, switching it to `xtls-rprx-vision-udp443` or clearing it is a one-click test. Item 3 below shows me which one you have without you having to look. ### What I need, in order of how much each decides 1. **A packet capture on the VPS during one failed call.** This is the single test that splits the problem in two: ```bash sudo tcpdump -ni any 'udp and not port 53' -c 100 ``` Start it, place one WhatsApp call, stop it, paste the output (redact your own IP). If outgoing UDP appears with no replies, the packets leave your server and die upstream — your provider's filtering, not 3x-ui. If nothing appears at all, your client never sent them through the tunnel. 2. **The Xray access log lines for that same call.** Panel → Xray Settings → Basics → *Access log* → `./access.log` (the only two values are `none` and `./access.log`, `frontend/src/pages/xray/basics/constants.ts:3`), then restart Xray. The file lands at `/usr/local/x-ui/access.log`, because the unit sets `WorkingDirectory=/usr/local/x-ui/` (`x-ui.service.debian:12`) and the Xray child inherits it. Note the default template ships `"maskAddress": ""`, so real addresses are written — redact before pasting. `udp:` entries here mean your client is tunnelling UDP. 3. **The generated config**, since you offered it: ```bash sudo cat /usr/local/x-ui/bin/config.json ``` That is the file the panel actually feeds Xray (`internal/xray/process.go:41` + `:608`), and it is rewritten on every restart (`internal/xray/process.go:603`) — read it, do not edit it. Redact UUIDs, your domain and any passwords. One paste gives me the routing rules, the sniffing block and each client's `flow` together. 4. **The Xray version** (the form field is still empty): ```bash /usr/local/x-ui/bin/xray-linux-amd64 -version ``` You are on the current release — `v3.7.0` is the latest tag (`gh release list`) — so there is no newer version to try in the meantime. Verdict: Insufficient information Severity: N/A Confidence: Medium Root cause: Still none identified on the panel side. The generated config carries no UDP, port or `network` restriction — routing has only `geoip:private` → `blocked` and `protocol: ["bittorrent"]` → `blocked` (`internal/web/service/config.json:62-86`), the freedom outbound's `finalRules` block only `geoip:private` (`internal/web/service/config.json:31-41`), sniffing defaults to disabled (`frontend/src/schemas/forms/inbound-form.ts:42-49`) and a new client to `flow: ''` (`frontend/src/pages/clients/ClientFormModal.tsx:146`). The panel also exposes no UDP session-timeout knob: the policy UI writes only `connIdle` and `bufferSize` (`frontend/src/pages/xray/basics/BasicsTab.tsx:361-386`), never `uplinkOnly`/`downlinkOnly`. Already fixed: Not applicable — no defect identified. Duplicate of: Related: #3283 (same symptom for Telegram calls, closed as completed with no root cause recorded in the thread). Not a duplicate. Evidence: `internal/web/service/config.json:62-86` (three routing rules); `internal/web/service/config.json:31-41` (freedom `finalRules`); `frontend/src/schemas/forms/inbound-form.ts:42-49` — `sniffing: SniffingSchema.default({ enabled: false, ... })`; `frontend/src/pages/clients/ClientFormModal.tsx:146` — `flow: ''`; `frontend/src/schemas/primitives/flow.ts:3` — `z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443'])`; `frontend/src/pages/xray/basics/constants.ts:3` — `export const ACCESS_LOG = ['none', './access.log'];`; `internal/xray/process.go:41` — `return config.GetBinFolderPath() + "/config.json"` with the default `"bin"` (`internal/config/config.go:129-136`); `internal/xray/process.go:608` — `exec.CommandContext(..., GetBinaryPath(), "-c", configPath)` with no `cmd.Dir`, so the child inherits `WorkingDirectory=/usr/local/x-ui/` (`x-ui.service.debian:12`); `gh release list` — `v3.7.0` is the latest tag. Not determined: Whether UDP for the call leaves the VPS at all, and what `flow` the reporter's clients carry. Items 1 and 3 above settle both. I could not read the xray-core source from this checkout, so the note about `xtls-rprx-vision` and UDP/443 remains an inference, not a quoted line. The **clarification needed** label stays and the issue stays open; post items 1–3 and it will be picked up from there. *This reply was generated automatically; a maintainer may follow up.* <!-- claude-issue:analyst -->
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#4338
No description provided.