mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #1747] عدم محاسبه ترافیک کلاینت برای اینباند شدوساکس #1185
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#1185
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 @mohamadn69 on GitHub (Feb 4, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1747
Welcome
Description of the problem,screencshot would be good
سلام. یکسری از اینباندهام روی سرور ایران شدوساکس هستن. یه مشکلی دارم داخل اینباند ترافیک کلی را محاسبه میکنه ولی داخل کلاینت محاسبه نمیکنه. مورد دیگه هم اینه که تشخیص نمیده کلاینت آنلاین هست یاخیر

Version of 3x-ui
x-ui log reports or xray log
@MHSanaei commented on GitHub (Feb 4, 2024):
سلام نسخه اخر رو نصب کنید و دکمه ریست داخل ایکس ری کانفیگ رو بزنید مشکل حل خواهد شد
@mohamadn69 commented on GitHub (Feb 5, 2024):
سلام امتحان کردم نشد
@mohamadn69 commented on GitHub (Feb 5, 2024):
کانفیگم دقیقا اینه
{
"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"
},
{
"listen": "127.0.0.43",
"port": 443,
"protocol": "dokodemo-door",
"settings": {
"address": "149.154.167.220",
"port": 443,
"network": "tcp"
},
"tag": "telegram"
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "***.ir",
"port": ,
"users": [
{
"id": "33abc9c8--9641-50b9db4b30d0",
"alterId": 0,
"email": "t@t.tt",
"security": "auto"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"type": "http",
"request": {
"version": "1.1",
"method": "GET",
"path": [
"/"
],
"headers": {
"Host": [
""
],
"User-Agent": [
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46"
],
"Accept-Encoding": [
"gzip, deflate"
],
"Connection": [
"keep-alive"
],
"Pragma": "no-cache"
}
}
}
}
},
"mux": {
"enabled": false,
"concurrency": -1
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
},
{
"tag": "IPv4",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
}
}
],
"policy": {
"levels": {
"0": {
"statsUserDownlink": true,
"statsUserUplink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true,
"statsOutboundDownlink": true,
"statsOutboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
},
{
"type": "field",
"outboundTag": "direct",
"ip": [
"ext:geoip_IR.dat:ir"
]
},
{
"type": "field",
"outboundTag": "direct",
"domain": [
"regexp:.\.ir$",
"regexp:.\.xn--mgba3a4f16a$",
"ext:geosite_IR.dat:ir"
]
},
{
"type": "field",
"outboundTag": "IPv4",
"domain": [
"geosite:google"
]
}
]
},
"stats": {}
}
این کانفیگ روی یه سرور که تازه نصب کردم و اینباند ساختم کار میکنه ولی روی دیتابیس قدیمم که مایگریت شده کار نمیکنه
@mohamadn69 commented on GitHub (Feb 5, 2024):
مشکل در انتقال دیتابیس بود و حل شد. داخل تیبل client_traffics ردیف متناظر نداشت. روی همون اینباند با پسورد کلاینت قبلی کلاینت جدید اضافه کردم و قبلی را حذف کردم درست شد.