Repository navigation
Closed
Description
Integrity requirements
- I have read all the comments in the issue template and ensured that this issue meet the requirements.
- I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
- I searched issues and did not find any similar issues.
- The problem can be successfully reproduced in the latest Release
Description
There is no way to pass sessionId+seqStr from xhttp (packet-up) client to the server via the browser dialer. It appears that sessionId+seqStr should be handled the same way as xPadding in the BrowserDialerClient.OpenStream and BrowserDialerClient.PostPacket methods.
Reproduction Method
- Start Browser Dialer in any browser
- Create vless tls(for dialer) + xhttp + packet-up client with ANY valid combination of the "sessionPlacement", "sessionKey", "seqPlacement", "seqKey" parameters
- You can see (in server logs or browser inspect mode) that browser dialer hasn't been received (and send) any session\seq parameters in any way
Client config
"streamSettings": {
"network": "xhttp",
"security": "tls",
"tlsSettings": {
"allowInsecure": false,
"serverName": "example.com",
"alpn": [
"h2"
],
"fingerprint": "chrome"
},
"xhttpSettings": {
"path": "/api/example/",
"host": "example.com",
"mode": "packet-up",
"extra": {
"headers": {
"Authorization": "Bearer 111111-1111-1111-1111-111111111111"
},
"noGRPCHeader": true,
"XPaddingMethod": "repeat-x",
"XPaddingHeader": "X-Padding",
"XPaddingPlacement": "queryInHeader",
"XPaddingKey": "x_padding",
"xPaddingObfsMode": false,
"sessionPlacement": "header",
"sessionKey": "Hsession",
"seqPlacement": "header",
"seqKey": "Hseq",
"xmux": {
"maxConcurrency": "10-20",
"cMaxReuseTimes": "100-200",
"hMaxRequestTimes": "400-800",
"hMaxReusableSecs": "900-1800",
"hKeepAlivePeriod": 0
}
}
}
}
Server config
"streamSettings": {
"network": "xhttp",
"security": "tls",
"tlsSettings": {
"serverName": "example.com",
"certificates": [
{
"certificateFile": "/etc/letsencrypt/live/example.com/fullchain.pem",
"keyFile": "/etc/letsencrypt/live/example.com/privkey.pem"
}
],
"minVersion": "1.2",
"maxVersion": "1.3",
"alpn": ["h2"],
"allowInsecure": false
},
"xhttpSettings": {
"mode": "packet-up",
"host": "example.com",
"path": "/api/example/",
"extra": {
"XPaddingMethod":"repeat-x",
"XPaddingHeader":"X-Padding",
"XPaddingPlacement":"queryInHeader",
"XPaddingKey": "x_padding",
"xPaddingObfsMode": false,
"sessionPlacement": "header",
"sessionKey": "Hsession",
"seqPlacement": "header",
"seqKey": "Hseq",
"headers": {
"Authorization": "Bearer 111111-1111-1111-1111-111111111111"
},
"noSSEHeader": true,
"scMaxEachPostBytes": "60000-90000",
"scMaxBufferedPosts": 20
}
}
}
Client log
No log needed
Server log
No log needed
Metadata
Metadata
Assignees
Labels
No labels
Activity
Fangliding commentedon Feb 28, 2026
try #5720 ?
w35th commentedon Feb 28, 2026
Thank you, the code looks correct: sessionId and seqStr are not ignored for BlowserDialer. I have no oppotunity to test it right now, but I'm sure this pull request will fix my problem.