[GH-ISSUE #3564] shadowsocks unsupported cipher error when its actually supported? #2419

Closed
opened 2026-10-31 20:25:22 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @hxehex on GitHub (Sep 26, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3564

Describe the bug

idk how to really describe that check "how to repeat the problem?" instead

How to repeat the problem?

  1. open inbounds page
  2. click add inbound
  3. create shadowsocks inbound with an "encryption" set to "CHACHA20_IETF_POLY1305"
  4. configure it or whatever save
  5. now everything will shit itself, checking the logs will lead you to:

[stripped] ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-[stripped] > infra/conf: failed to build inbound handler for protocol shadowsocks > infra/conf: unsupported cipher method:

...and when you go back to this shadowsocks inbound, change the encryption to "XCHACHA20_IETF_POLY1305", save, then open the same shadowsocks inbound settings again, set the encryption back to "CHACHA20_IETF_POLY1305" and it would somehow work. wtf?

Expected action

no such error should appear in the first place if its actually supported

Received action

No response

3x-ui Version

doesnt matter

Xray-core Version

doesnt matter

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @hxehex on GitHub (Sep 26, 2025). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3564 ### Describe the bug idk how to really describe that check "how to repeat the problem?" instead ### How to repeat the problem? 1. open inbounds page 2. click add inbound 3. create shadowsocks inbound with an "encryption" set to "CHACHA20_IETF_POLY1305" 4. configure it or whatever save 5. now everything will shit itself, checking the logs will lead you to: `[stripped] ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-[stripped] > infra/conf: failed to build inbound handler for protocol shadowsocks > infra/conf: unsupported cipher method:` ...and when you go back to this shadowsocks inbound, change the encryption to "XCHACHA20_IETF_POLY1305", save, then open the same shadowsocks inbound settings again, set the encryption back to "CHACHA20_IETF_POLY1305" and it would somehow work. wtf? ### Expected action no such error should appear in the first place if its actually supported ### Received action _No response_ ### 3x-ui Version doesnt matter ### Xray-core Version doesnt matter ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:25:22 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (Sep 26, 2025):

It's Xray core error, not our panel.
So change your cipher.

<!-- gh-comment-id:3337767854 --> @MHSanaei commented on GitHub (Sep 26, 2025): It's Xray core error, not our panel. So change your cipher.
Author
Owner

@hxehex commented on GitHub (Sep 26, 2025):

it happens on every cipher??

also, why then does it happen in the first place, if I switch over to another cipher, then to the same one once again, then it starts working?? maybe you are setting it wrong or something?? also the log shows: "unsupported cipher method:" which tells the cipher is empty, maybe you are fr setting it wrong or smh??

<!-- gh-comment-id:3338369906 --> @hxehex commented on GitHub (Sep 26, 2025): it happens on every cipher?? also, why then does it happen in the first place, if I switch over to another cipher, then to the same one once again, then it starts working?? maybe you are setting it wrong or something?? also the log shows: "unsupported cipher method:" which tells the cipher is empty, maybe you are fr setting it wrong or smh??
Author
Owner

@hxehex commented on GitHub (Sep 26, 2025):

@MHSanaei

<!-- gh-comment-id:3338370837 --> @hxehex commented on GitHub (Sep 26, 2025): @MHSanaei
Author
Owner

@MHSanaei commented on GitHub (Sep 26, 2025):

There is nothing wrong with my settings.
Use the latest version and update your inbound.
We already removed the unsupported ciphers.

<!-- gh-comment-id:3338734416 --> @MHSanaei commented on GitHub (Sep 26, 2025): There is nothing wrong with my settings. Use the latest version and update your inbound. We already removed the unsupported ciphers.
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#2419
No description provided.