Open hippokk opened 6 years ago
Client #0 connected
Ah yes, that's weird, since the client is connected. A problem with VpnService
maybe.
Are there any relevant logs in adb logcat
?
Yes a lot with adb logcat
but I don't what means...
logcat.txt
The relevant parts:
I/Vpn ( 677): Switched from [Legacy VPN] to com.genymobile.gnirehtet
I/NotificationService( 677): init notification resource
W/ResourcesManager( 791): before getResources()--------------config= {1.0 ?mcc?mnc fr_FR ldltr sw480dp w480dp h712dp 400dpi lrg port finger -keyb/v/h -nav/h suim:1 s.6}
W/Resources( 791): updateConfiguration-----synchronized--allValue = 1
...
W/ResourcesManager( 677): before getResources()--------------config= {1.0 ?mcc?mnc fr_FR ldltr sw480dp w480dp h712dp 400dpi lrg port finger -keyb/v/h -nav/h suim:1 s.6}
W/Resources( 677): updateConfiguration-----synchronized--allValue = 1
W/ResourceType( 677): No package identifier when getting name for resource number 0x00000000
W/HwPackageManagerService( 677): packageName com.genymobile.gnirehtet: ResourcesPackageName not found !
W/ResourceType( 791): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 791): Failure retrieving resources for com.genymobile.gnirehtet: Resource ID #0x0
...
I/Vpn ( 677): Established by com.genymobile.gnirehtet on tun0
E/StatusBar( 791): contentIntent is null
...
E/Netd ( 158): netlink response contains error (Invalid argument)
E/Netd ( 158): failed to add interface tun0 to VPN netId 100
E/Netd ( 158): interface tun0 not assigned to any netId
E/Netd ( 158): interface tun0 not assigned to any netId
...
I/HwSystemManager( 1225): apj:Network Stats Updated
I/HwSystemManager( 1225): apa:onNetworkStatsUpdated
Especially:
E/Netd ( 158): netlink response contains error (Invalid argument)
E/Netd ( 158): failed to add interface tun0 to VPN netId 100
E/Netd ( 158): interface tun0 not assigned to any netId
what should I do with that ?
I don't know, I just extracted the relevant errors from the logs. I don't know what the cause is.
the problem come from my pc?
the problem come from my pc?
No, the problem is on the device.
Ok, thanck you so much for you help...
Please, I have the same problem about it when i add route . "interface tun0 not assigned to any netId"
E ConnectivityService: Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '50639 network route add 397 tun0 172.0.4.0/22' failed with '400 50639 addRoute() failed (No such device)'
09-16 13:54:38.272 1871 2334 D ConnectivityService: Adding Route [172.0.8.0/21 -> 0.0.0.0 tun0] to network 397
09-16 13:54:38.273 1871 2334 D NetdConnector: SND -> {50640 network route add 397 tun0 ******** /21}
09-16 13:54:38.273 7431 7846 E libc : Access denied finding property "net.dns1"
09-16 13:54:38.274 598 615 E Netd : interface tun0 not assigned to any netId
09-16 13:54:38.274 7431 7846 E libc : Access denied finding property "net.dns2"
09-16 13:54:38.275 1871 2311 D NetdConnector: RCV <- {400 50640 addRoute() failed (No such device)}
09-16 13:54:38.276 21018 23772 I SFSDK-RecvSocket: [RecvServerMsg:179]Recv socket make success!
09-16 13:54:38.276 21018 23772 I SFSDK-ForwardManager: [notifySocketStatusChanged:419]socktype is <2>, channel status <0>, status <1>
09-16 13:54:38.277 21018 23772 I SFSDK-ForwardManager: [notifySocketStatusChanged:451]flag is <2>, laststatus <1>, status <3>
09-16 13:54:38.276 1871 2311 D NetdConnector: RCV <- {400 50640 addRoute() failed (No such device)}
09-16 13:54:38.277 1871 2334 E NetdConnector: NDC server error throw NativeDaemonFailureException
09-16 13:54:38.278 1871 2334 E ConnectivityService: Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '50640 network route add 397 tun0 172.0.8.0/21' failed with '400 50640 addRoute() failed (No such device)'
09-16 13:54:38.279 1871 2334 D ConnectivityService: Adding Route [172.0.16.0/20 -> 0.0.0.0 tun0] to network 397
Exeasu me , how do you solve this problem in the end?
Maybe it is the cause: https://github.com/anbox/anbox/issues/817
Hi, The program stop like this and he don't open connection :
I have a pc with debian 9, the phone is a honor x1 on android 5.1.1. I try most manipulation without success...
Thanks. (form France!)