mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #50] TLS/XTLS Not Work #14
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#14
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 @PrivyXe on GitHub (Mar 20, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/50
Hello dear developer. I use the software you created individually, but with the last update, vmess, vless and trojan that I created as tls and xtls do not work. What is the problem ? Thanks
@alireza0 commented on GitHub (Mar 22, 2023):
Hello @VPNCI ,
Could you please send us more information about your tls/xtls configuration ?
There is a known bug that we are not sure if it is related to this problem.
P.S. Could you please test them by setting ALPN to
none?@ghost commented on GitHub (Mar 22, 2023):
It does not work for me with the same problem, XTLS only works with previous configurations and any new XTLS will not work with this xray configuration.
`{
"log": {
"loglevel": "warning",
"access": "./access.log"
},
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private",
"geoip:ir"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}`
@PrivyXe commented on GitHub (Mar 22, 2023):
Normal TLS or xtls settings that I always create. After the last update, when I try to connect, I get a timeout warning. Shadowsocks works fine as it doesn't want TLS.
`{
"log": {
"loglevel": "warning",
"access": "./access.log"
},
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
`
Also, I request you to add a DNS address entry field to the panel. Thanks for your work 🤜🤛
@alireza0 commented on GitHub (Mar 22, 2023):
@VPNCI Thank youfor providing this data.
But I need next page of your screenshot which contains more
tlsSettings@PrivyXe commented on GitHub (Mar 22, 2023):
Of course
@alireza0 commented on GitHub (Mar 22, 2023):
@VPNCI
Not this one actually. But in file
/usr/loca/x-ui/bin/config.json@PrivyXe commented on GitHub (Mar 22, 2023):
Trojan TLS settings
{
"listen": null,
"port": 443,
"protocol": "trojan",
"settings": {
"clients": [
{
"email": "m9szcvl38v",
"expiryTime": "",
"flow": "",
"limitIp": 0,
"password": "03PlHRa7iG",
"totalGB": 0
}
],
"fallbacks": []
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "xxxx.com",
"minVersion": "1.2",
"maxVersion": "1.3",
"cipherSuites": ""
"certificates": [
{
"certificateFile": "/etc/letsencrypt/live/xxx.com/fullchain.pem>
"keyFile": "/etc/letsencrypt/live/xxx.xom/privkey.pem"
}
],
"alpn": [
""
],
"settings": [
{
"allowInsecure": false,
"fingerprint": "",
"serverName": "xxx.com"
}
]
},
"tcpSettings": {
"header": {
"type": "none"
},
"acceptProxyProtocol": false
}
},
"tag": "inbound-443",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},`
@alireza0 commented on GitHub (Mar 22, 2023):
It seems the problem is in ALPN only!
Could you please set it to "h2" only and test if it works ?
@PrivyXe commented on GitHub (Mar 22, 2023):
Hello again. I tried ALPN h2 connection failed. I also tried http/1.1 and failed. If you want, I can send you panel and server information. Do you have a Telegram address?
@alireza0 commented on GitHub (Mar 22, 2023):
Please send an email to me
@PrivyXe commented on GitHub (Mar 23, 2023):
I have sent you the information by e-mail. Thanks for your hard work
@MHSanaei commented on GitHub (Mar 23, 2023):
مشکل حل شده در نسخه 1.1.2 که به زودی منتشر میشه
با تشکر از مهدس علیرضا