hiddify / HiddifyNG

A V2Ray client for Android, support Xray core and v2fly core
https://t.me/hiddify
GNU General Public License v3.0
445 stars 43 forks source link

یکی از کانفیگ ها اشتباه است #95

Open Keivan-S opened 1 year ago

Keivan-S commented 1 year ago

هنگام اجرا خطای یکی از کانفیگ ها اشتباه است رو با لاگ زیر میده --------- beginning of system --------- beginning of crash FATAL EXCEPTION: main Process: ang.hiddify.com:RunSoLibV2RayDaemon, PID: 31212 android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{786427c u0 ang.hiddify.com/com.v2ray.ang.service.V2RayVpnService} at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2074) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:236) at android.app.ActivityThread.main(ActivityThread.java:8037) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967) 2601): FATAL EXCEPTION: main 2601): Process: ang.hiddify.com:RunSoLibV2RayDaemon, PID: 2601 2601): android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{882f6a1 u0 ang.hiddify.com/com.v2ray.ang.service.V2RayVpnService} 2601): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2074) 2601): at android.os.Handler.dispatchMessage(Handler.java:106) 2601): at android.os.Looper.loop(Looper.java:236) 2601): at android.app.ActivityThread.main(ActivityThread.java:8037) 2601): at java.lang.reflect.Method.invoke(Native Method) 2601): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656) 2601): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967) 2968): FATAL EXCEPTION: main 2968): Process: ang.hiddify.com:RunSoLibV2RayDaemon, PID: 2968 2968): android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{9a3773d u0 ang.hiddify.com/com.v2ray.ang.service.V2RayVpnService} 2968): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2074) 2968): at android.os.Handler.dispatchMessage(Handler.java:106) 2968): at android.os.Looper.loop(Looper.java:236) 2968): at android.app.ActivityThread.main(ActivityThread.java:8037) 2968): at java.lang.reflect.Method.invoke(Native Method) 2968): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656) 2968): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967) --------- beginning of main loading core config Preparing Domain: www.google.com:80 infra/conf/serial: failed to parse json config > infra/conf: empty selector list go.Universe$proxyerror: infra/conf/serial: failed to parse json config > infra/conf: empty selector list go.Universe$proxyerror: infra/conf/serial: failed to parse json config > infra/conf: empty selector list at libv2ray.V2RayPoint.runLoop(Native Method) at com.v2ray.ang.service.V2RayServiceManager.startV2rayPoint(V2RayServiceManager.kt:155) at com.v2ray.ang.service.V2RayVpnService$onStartCommand$1.invokeSuspend(V2RayVpnService.kt:362) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) { "dns": { "hosts": { "domain:googleapis.cn": "googleapis.com" }, "servers": [ "1.1.1.1" ] }, "inbounds": [ { "listen": "127.0.0.1", "port": 10808, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "userLevel": 8 }, "sniffing": { "destOverride": [ "http", "tls", "quic" ], "enabled": true }, "tag": "socks" }, { "listen": "127.0.0.1", "port": 10809, "protocol": "http", "settings": { "userLevel": 8 }, "tag": "http" } ], "log": { "loglevel": "warning" }, "outbounds": [], "routing": { "balancers": [ { "selector": [], "strategy": { "settings": { "accept_little_diff": true, "count": 3, "diff_percent": 0, "interval": 600000, "load_balancing": true, "timeout": 10000, "url": "https://cp.cloudflare.com" }, "type": "optimal" }, "tag": "balancer" } ], "domainStrategy": "AsIs", "rules": [ { "balancerTag": "balancer", "outboundTag": "", "port": "0-65535", "type": "field" } ] } } Prepare Result: Domain: www.google.com Port: 80 IPs: [216.239.38.120]