mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5668] Regression: Shadowsocks 2022 works on iOS in v3.3.1 but not in v3.4.x #3947
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#3947
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 @mori-1997-mori2276-cmd on GitHub (Jun 29, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5668
Originally posted by @mehrabparmar1376-cmd in #5667
@TheAstro9aut commented on GitHub (Jun 29, 2026):
i have exactly the same issue. and issued a bug but to no avail
please revert ss configs to SIP002 base 64
this is the lone reason keeping me on 3.3.1
@github-actions[bot] commented on GitHub (Jun 29, 2026):
This is a duplicate of #5634, which covers the same Shadowsocks 2022 / SIP022 link compatibility regression on iOS since v3.4.0. Your detailed breakdown (V2Box failing to import entirely, Shadowrocket/Streisand/NPV Tunnel importing but not connecting, v2rayNG re-exporting to SIP002 format that then works) is useful context and has been added to that thread.
The underlying situation, confirmed in frontend/src/lib/xray/inbound-link.ts (lines 643-658) and internal/sub/service.go (lines 827-834): starting in v3.4.0, links for 2022-blake3-* ciphers are generated in SIP022 format (percent-encoded method and keys, literal : separators in userinfo) instead of the SIP002 base64-encoded userinfo format used in v3.3.1. SIP022 is the correct format per the cipher specification, but a number of iOS clients do not yet implement it fully.
Immediate workaround while client support catches up: switch the inbound cipher to a non-2022 method (aes-256-gcm or chacha20-ietf-poly1305). Those ciphers continue to use SIP002 links, which every tested iOS client accepts. The tradeoff is loss of the replay-protection guarantees that 2022-blake3 provides.
The feature request for a per-inbound option to emit SIP002-format links for compatibility can be followed and discussed in #5634.
This reply was generated automatically; a maintainer may follow up.