[GH-ISSUE #3727] Bug report #2508

Closed
opened 2026-10-31 20:26:00 +07:00 by bsakaguchi · 6 comments
Owner

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

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
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 - [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:26:00 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@LoST202 commented on GitHub (Feb 1, 2026):

Same problem. What is wrong?

<!-- gh-comment-id:3831038351 --> @LoST202 commented on GitHub (Feb 1, 2026): Same problem. What is wrong?
Author
Owner

@MHSanaei commented on GitHub (Feb 1, 2026):

update your panel again
and remove allowInsecure from your config

<!-- gh-comment-id:3831083856 --> @MHSanaei commented on GitHub (Feb 1, 2026): update your panel again and remove allowInsecure from your config
Author
Owner

@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.

<!-- gh-comment-id:4335519680 --> @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.
Author
Owner

@arimakomi commented on GitHub (May 31, 2026):

i have same problem in 3.1.0 panel

<!-- gh-comment-id:4586318402 --> @arimakomi commented on GitHub (May 31, 2026): i have same problem in 3.1.0 panel
Author
Owner

@undefinedv commented on GitHub (May 31, 2026):

got it . I'll get back to you later.

<!-- gh-comment-id:4586319532 --> @undefinedv commented on GitHub (May 31, 2026): got it . I'll get back to you later.
Author
Owner

@raiden1974db-netizen commented on GitHub (Jun 3, 2026):

and now what to do with happ and so on?

<!-- gh-comment-id:4611112217 --> @raiden1974db-netizen commented on GitHub (Jun 3, 2026): and now what to do with happ and so on?
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#2508
No description provided.