mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3727] Bug report #2508
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#2508
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 @Kisoul on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3727
Describe the bug
version 2.8.9
xray-core version in 26.1.31
outbounds error said (TLS allowInsecure “true”)
“Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build outbound config with tag TUR-epeius > infra/conf: failed to build stream settings for outbound detour > infra/conf: Failed to build TLS config. > common/errors: The feature "allowInsecure" has been removed and migrated to "pinnedPeerCertSha256". Please update your config(s) according to release note and documentation.”
How to repeat the problem?
version 2.8.9
xray-core version in 26.1.31
outbounds error said (TLS allowInsecure “true”)
“Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build outbound config with tag TUR-epeius > infra/conf: failed to build stream settings for outbound detour > infra/conf: Failed to build TLS config. > common/errors: The feature "allowInsecure" has been removed and migrated to "pinnedPeerCertSha256". Please update your config(s) according to release note and documentation.”
Expected action
No response
Received action
No response
3x-ui Version
2.8.9
Xray-core Version
26.1.31
Checklist
@LoST202 commented on GitHub (Feb 1, 2026):
Same problem. What is wrong?
@MHSanaei commented on GitHub (Feb 1, 2026):
update your panel again
and remove allowInsecure from your config
@undefinedv commented on GitHub (Apr 28, 2026):
New version of xray do not support "allowInsecure" any more. To support outbounds with old xray server using self-signed certificate, we could using
echo | openssl s_client -connect vps:port -servername self-signed-domain.com 2>/dev/null \ | openssl x509 -outform der \ | openssl dgst -sha256 \ | awk '{print $2}'So we can generate a hex-encoded string and fill it to "pinned Peer Cert Sha256". It works for me.
@arimakomi commented on GitHub (May 31, 2026):
i have same problem in 3.1.0 panel
@undefinedv commented on GitHub (May 31, 2026):
got it . I'll get back to you later.
@raiden1974db-netizen commented on GitHub (Jun 3, 2026):
and now what to do with happ and so on?