mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5634] [Bug]: Shadowsocks configs dont work on iphones since 3.4.0 #3925
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#3925
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 @TheAstro9aut on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5634
Describe the bug
when i get the ss config from panel it's exported like ss:2022-blake3-aes-256-gcm:.....
where as in 3.3.1 and previous versions it was all encypted and worked fine.
the new version doesnt work in any iphone clients.
How to reproduce the problem
1.open clients page
2.export a user config attached to the shadowsocks inbound
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
3x-ui version
3.4.4
Xray-core version
26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.0.4
Which parts of the panel are affected?
Xray config generation
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 28, 2026):
The link format for Shadowsocks 2022-blake3 ciphers changed deliberately in v3.4.0. In v3.3.1, the generated link was SIP002 format with base64-encoded userinfo:
In v3.4.0, the format was corrected to SIP022, which explicitly forbids base64 userinfo for 2022-blake3 ciphers (see SIP022 spec and the earlier issue #5432):
This is confirmed in
frontend/src/lib/xray/inbound-link.ts(lines 637–647) andinternal/sub/service.go(lines 815–825). The panel's golden snapshots infrontend/src/test/__snapshots__/inbound-link.test.ts.snapshow the current format:Whether your specific iOS clients fail to parse this is what needs to be diagnosed. Please provide:
Immediate workaround: if your iOS client does not support SIP022, switch the inbound cipher to a non-2022 method such as
aes-256-gcmorchacha20-ietf-poly1305. Those ciphers continue to use SIP002 format (base64 userinfo), which is supported by every Shadowsocks client. The tradeoff is that these older AEAD ciphers do not provide the replay protection that 2022-blake3 does.This reply was generated automatically; a maintainer may follow up.
@mori-1997-mori2276-cmd commented on GitHub (Jun 29, 2026):
Hello,
I have the same issue with the Shadowsocks protocol on iPhone.
This indicates that the server configuration is correct. The only difference is the generated "ss://" link format.
Also:
I believe there should be an option to generate the old Base64 (SIP002) Shadowsocks link for compatibility with existing iOS clients until they fully support the new SIP022 format.
@TheAstro9aut commented on GitHub (Jun 29, 2026):
My thoughts exactly this is an important issue