[GH-ISSUE #1747] عدم محاسبه ترافیک کلاینت برای اینباند شدوساکس #1185

Closed
opened 2026-10-31 20:17:05 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @mohamadn69 on GitHub (Feb 4, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1747

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

سلام. یکسری از اینباندهام روی سرور ایران شدوساکس هستن. یه مشکلی دارم داخل اینباند ترافیک کلی را محاسبه میکنه ولی داخل کلاینت محاسبه نمیکنه. مورد دیگه هم اینه که تشخیص نمیده کلاینت آنلاین هست یاخیر
shado

Version of 3x-ui

# Paste here

x-ui log reports or xray log

# paste log here
Originally created by @mohamadn69 on GitHub (Feb 4, 2024). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1747 ### Welcome - [X] Yes, I'm using the latest major release. Only such installations are supported. - [X] Yes, I'm using the supported system. Only such systems are supported. - [X] Yes, I have read all WIKI document,nothing can help me in my problem. - [X] Yes, I've searched similar issues on GitHub and didn't find any. - [X] Yes, I've included all information below (version, config, log, etc). ### Description of the problem,screencshot would be good سلام. یکسری از اینباندهام روی سرور ایران شدوساکس هستن. یه مشکلی دارم داخل اینباند ترافیک کلی را محاسبه میکنه ولی داخل کلاینت محاسبه نمیکنه. مورد دیگه هم اینه که تشخیص نمیده کلاینت آنلاین هست یاخیر ![shado](https://github.com/MHSanaei/3x-ui/assets/136196591/3f4eee88-ee05-42cc-8bdc-8e0af246ac74) ### Version of 3x-ui <details> ```console # Paste here ``` </details> ### x-ui log reports or xray log <details> ```console # paste log here ``` </details>
Author
Owner

@MHSanaei commented on GitHub (Feb 4, 2024):

سلام نسخه اخر رو نصب کنید و دکمه ریست داخل ایکس ری کانفیگ رو بزنید مشکل حل خواهد شد

<!-- gh-comment-id:1925721037 --> @MHSanaei commented on GitHub (Feb 4, 2024): سلام نسخه اخر رو نصب کنید و دکمه ریست داخل ایکس ری کانفیگ رو بزنید مشکل حل خواهد شد
Author
Owner

@mohamadn69 commented on GitHub (Feb 5, 2024):

سلام امتحان کردم نشد

<!-- gh-comment-id:1926271941 --> @mohamadn69 commented on GitHub (Feb 5, 2024): سلام امتحان کردم نشد
Author
Owner

@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": {}
}
این کانفیگ روی یه سرور که تازه نصب کردم و اینباند ساختم کار میکنه ولی روی دیتابیس قدیمم که مایگریت شده کار نمیکنه

<!-- gh-comment-id:1926489089 --> @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": {} } این کانفیگ روی یه سرور که تازه نصب کردم و اینباند ساختم کار میکنه ولی روی دیتابیس قدیمم که مایگریت شده کار نمیکنه
Author
Owner

@mohamadn69 commented on GitHub (Feb 5, 2024):

مشکل در انتقال دیتابیس بود و حل شد. داخل تیبل client_traffics ردیف متناظر نداشت. روی همون اینباند با پسورد کلاینت قبلی کلاینت جدید اضافه کردم و قبلی را حذف کردم درست شد.

<!-- gh-comment-id:1926663244 --> @mohamadn69 commented on GitHub (Feb 5, 2024): مشکل در انتقال دیتابیس بود و حل شد. داخل تیبل client_traffics ردیف متناظر نداشت. روی همون اینباند با پسورد کلاینت قبلی کلاینت جدید اضافه کردم و قبلی را حذف کردم درست شد.
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#1185
No description provided.