mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5437] [Bug]: SHADOWSocks NOT Export The Connection Parameter #3801
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3801
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jessiegarrawaysur48 on GitHub (Jun 19, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5437
Describe the bug
hi
web import the shadowsocks in v2rayn the parameter of
[Transport Protocol ]
And if with WS protocol not [HOST ADDRESS & PATH ] integrated to connection
How to reproduce the problem
completly out of automation can be done with handy parameter setup and get the correct result
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.3.1
Xray-core version
26.6.1
How did you install 3x-ui?
Other (please describe in the bug body)
Operating system
ubuntu 24.04
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
@github-actions[bot] commented on GitHub (Jun 19, 2026):
The current v3.3.1 source includes WebSocket transport parameters in the Shadowsocks export. Checking the two code paths that generate a Shadowsocks share link:
Subscription link (
internal/sub/service.go,genShadowsocksLink): setsparams["type"] = streamNetwork(line 695), then callsapplyShareNetworkParams(line 697) which, for thewsbranch (line 991), callsapplyPathAndHostParams(ws, params)— this writes bothpathandhostinto the query string. The resulting URL takes the formss://BASE64@address:port?type=ws&path=...&host=...#remark.Copy-link button (
frontend/src/lib/xray/inbound-link.ts,genShadowsocksLink/writeNetworkParams): thewsbranch (line 450) setsparams.set('path', ws.path)andparams.set('host', ...)explicitly.Both code paths look correct for v3.3.1. To diagnose why the parameters are absent in your case, the following is needed:
type=wsat all?hostandpathin the WebSocket transport configuration?ss://URLs if they are not familiar with the Xray-extended format.A related closed issue describing the same symptom in v3.2.0 is #4734. If the link you copy does contain
type=ws&path=...&host=...but v2rayN does not apply those settings after import, this would be a v2rayN parsing issue rather than a 3x-ui export bug, and the workaround is to use the WS settings tab in v2rayN to enter the host/path manually after import.This reply was generated automatically; a maintainer may follow up.