mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #2144] Subscription json missing serverName in tlsSettings on External Proxy with Force TLS #1468
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#1468
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 @mhnrahmani on GitHub (Mar 26, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2144
Welcome
Description of the problem,screencshot would be good
Describe the bug
Generated json settings has empty tlsSettings when inbound comes with no TLS but External Proxy with Force TLS.
Also tslSettings key comes with a typo in such setup (tslSettings instead of tlsSettings).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If you scan the normal QR code generated for the above inbound's client, you will notice that the intended Host header (step 2) is repeated twice in the settings: once as the host header and once as SNI. However, the scanned Subscription Json will give different settings: In this Json, the "tlsSettings" key is miss-spelled as tslSettings, and it is empty meaning that no SNI is indicated.
Intended expectation is that the tlsSettings still comes with a "serverName" field with its value taken from the entered host header, just like how the normal client link is perceived by v2rayNG.
Version of 3x-ui
x-ui log reports or xray log