Skip to content

failed to decode geodata file: geosite.dat > proto: cannot parse invalid wire-format data #270

Description

@dyhkwong
11-04 20:30:50.433 30871 12216 D v2ray-core: app/log: Logger closing
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: java.lang.IllegalStateException: infra/conf/serial: failed to parse json config > infra/conf/rule: invalid field rule > infra/conf/rule: failed to parse domain rule: geosite:geolocation-cn@!cn > infra/conf/rule: failed to load geosite: geolocation-cn@!cn > infra/conf/geodata/memconservative: failed to decode geodata file: geosite.dat > open /system/bin/geosite.dat: no such file or directory
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at io.nekohasekai.sagernet.bg.BaseService$Interface$onStartCommand$3.invokeSuspend(SourceFile:294)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at kotlinx.coroutines.internal.InlineList.resumeCancellableWith(SourceFile:128)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at kotlinx.coroutines.AbstractCoroutine.start(SourceFile:102)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at kotlinx.coroutines.JobKt.launch$default(Unknown Source:33)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at io.nekohasekai.sagernet.ktx.AsyncsKt.runOnMainDispatcher(SourceFile:16)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at io.nekohasekai.sagernet.bg.BaseService$Interface$-CC.$default$onStartCommand(SourceFile:255)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at io.nekohasekai.sagernet.bg.VpnService.onStartCommand(SourceFile:38)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5528)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2684)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at android.os.Handler.dispatchMessage(Handler.java:110)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at android.os.Looper.loopOnce(Looper.java:283)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at android.os.Looper.loop(Looper.java:392)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at android.app.ActivityThread.main(ActivityThread.java:9236)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at java.lang.reflect.Method.invoke(Native Method)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:611)
11-04 20:30:50.495 30871 30871 W BaseService$Interface$onStartCommand$3: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:944)

Sometimes https://github.com/v2fly/v2ray-core/blob/d22fa165d2e2b52843ad2f611e4098cd32efdf5d/infra/conf/geodata/memconservative/decode.go#L21 fails for unknown reason.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions