Gozargah / Marzban

Unified GUI Censorship Resistant Solution Powered by Xray
https://t.me/gozargah_marzban
GNU Affero General Public License v3.0
3.73k stars 515 forks source link

غیرفعال شدن همه ی کانفیگ ها در هر سه ساعت #559

Closed DeAref closed 11 months ago

DeAref commented 1 year ago

Describe the bug هر سه الی 6 ساعت همه ی کانفیگ ها آف میشن و باید سرور رو ریبوت کنم تا مشکل حل بشه

To Reproduce Steps to reproduce the behavior:

  1. نسخه آخر مرزبان رو نصب کردم
  2. اس اس ال نصب کردم
  3. فایل مربوط به دامین های ایرانی رو اوردم تو مرزبان و توی assets path ادرس اش رو دادم و در کانفیگ ایکس ری کانفیگ مربوط به blackhole رو نوشتم
  4. قسمت Docs رو فعال کردم توی env

Expected behavior 2023/08/28 09:25:11 [Info] [100659328] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: failed to open connection to tcp:notifications-pa.googleapis.com:443 > common/retry: [dial tcp: lookup notifications-pa.googleapis.com on 127.0.0.53:53: server misbehaving] > common/retry: all retry attempts failed

Machine details (please complete the following information):

Additional context

xray config: config.json
{ "log": { "loglevel": "info" }, "inbounds": [ { "tag": "VLESS TCP REALITY", "listen": "0.0.0.0", "port": 2040, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "tcp", "tcpSettings": {}, "security": "reality", "realitySettings": { "show": false, "dest": "tradingview.com:443", "xver": 0, "serverNames": [ "tradingview.com" ], "privateKey": "qMz-d1ZWPZkkl375dbzDjfkucI2qiPXS0dQQZzDvg2Y", "shortIds": [ "" ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "tag": "VLESS GRPC REALITY", "listen": "0.0.0.0", "port": 2041, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "grpc", "grpcSettings": { "serviceName": "xyz" }, "security": "reality", "realitySettings": { "show": false, "dest": "discordapp.com:443", "xver": 0, "serverNames": [ "cdn.discordapp.com", "discordapp.com" ], "privateKey": "qMz-d0ZWPZkkl358dbzDjfkucI2qiPXS0dQQZzDvg2Y", "shortIds": [ "" ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "tag": "VLESS H2 REALITY", "listen": "0.0.0.0", "port": 2042, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "h2", "tcpSettings": {}, "security": "reality", "realitySettings": { "show": false, "dest": "ftp.debian.org:443", "xver": 0, "serverNames": [ "ftp.debian.org" ], "privatekey": "qMz-d0ZWPZkkl374dbzDjfkucI2qiPXS0dQQZzDvg2Y", "publicKey": "Z_QDN3QVVZp1FMV357hr54SOpiWTUgwykJoy8VW5gAc", "shortIds": [ "" ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "tag": "VLESS TCP NO TLS", "listen": "0.0.0.0", "port": 2044, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "tcp" } }, { "tag": "VLESS TCP Header", "listen": "0.0.0.0", "port": 2045, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "tcp", "tcpSettings": { "header": { "type": "http", "request": { "method": "GET", "path": [ "/" ], "headers": { "Host": [ "google.com" ] } }, "response": {} } }, "security": "none" }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "tag": "VLESS WS Tls", "listen": "0.0.0.0", "port": 2087, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "ws", "wsSettings": { "path": "/" }, "security": "tls", "tlsSettings": { "serverName": "dthd.yuyufh.top", "certificates": [ { "ocspStapling": 3600, "certificateFile": "/var/lib/marzban/certs/dthdyuyufh.pem", "keyFile": "/var/lib/marzban/certs/dthdyuyufh.pem" } ], "minVersion": "1.2", "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" } } }, { "tag": "VLESS WS NO TLS", "listen": "0.0.0.0", "port": 2047, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "ws", "security": "none", "wsSettings": { "path": "/" } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "tag": "VLESS WS Header", "listen": "0.0.0.0", "port": 2048, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "ws", "security": "none", "wsSettings": { "path": "/", "headers": { "Host": "google.com" } } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "tag": "VLESS GRPC TLS", "listen": "0.0.0.0", "port": 2096, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "grpc", "grpcSettings": { "serviceName": "abc" }, "security": "tls", "tlsSettings": { "serverName": "dthd.yuyufh.top", "certificates": [ { "ocspStapling": 3600, "certificateFile": "/var/lib/marzban/certs/dthdyuyufh.pem", "keyFile": "/var/lib/marzban/certs/dthdyuyufh.pem" } ], "minVersion": "1.2", "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" } } }, { "tag": "VMess TCP Header", "listen": "0.0.0.0", "port": 2052, "protocol": "vmess", "settings": { "clients": [] }, "streamSettings": { "network": "tcp", "tcpSettings": { "header": { "type": "http", "request": { "method": "GET", "path": [ "/" ], "headers": { "Host": [ "google.com" ] } }, "response": {} } }, "security": "none" }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "tag": "Vmess WS TLS", "listen": "0.0.0.0", "port": 2053, "protocol": "vmess", "settings": { "clients": [] }, "streamSettings": { "network": "ws", "wsSettings": { "path": "/" }, "security": "tls", "tlsSettings": { "serverName": "dthd.yuyufh.top", "certificates": [ { "ocspStapling": 3600, "certificateFile": "/var/lib/marzban/certs/dthdyuyufh.pem", "keyFile": "/var/lib/marzban/certs/dthdyuyufh.pem" } ], "minVersion": "1.2", "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" } } } ], "outbounds": [ { "protocol": "freedom", "tag": "DIRECT" }, { "protocol": "blackhole", "tag": "blackhole" } ], "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "outboundTag": "blackhole", "ip": [ "geoip:private" ] }, { "type": "field", "port": 53, "network": "tcp,udp", "outboundTag": "DNS-Internal" }, { "type": "field", "outboundTag": "blackhole", "protocol": [ "bittorrent" ] }, { "outboundTag": "blackhole", "domain": [ "regexp:.*\\.ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir", "blogfa", "bank", "tebyan.net", "beytoote.com", "Film2movie.ws", "Setare.com", "downloadha.com", "Sanjesh.org", "speedtest.net" ], "type": "field" } ] } }
DeAref commented 1 year ago

اینم اضافه کنم وقتی status میگیرم با این پیام مواجه میشم:

Status: Up
jq: error (at <stdin>:1): Cannot index string with string "Service"
Habib1385 commented 1 year ago

سلام به نسخه dev مهاجرت کنید منابع سرورتون رو گراف بگیرید مطمعن باشید از سرور نباشه یک مورد بوده من چک کردم مشکل از سرور بوده اینو در نظر داشته باشید قبل از هر کاری بکاپ یادتون نره تغییر دیتابیس به my sql هم پیشنهاد میشه

DeAref commented 11 months ago

تشکر. بله مشکل از سرور بود با تغییر سرور مشکل برطرف شد