chisel icon indicating copy to clipboard operation
chisel copied to clipboard

Connection error on Android but ok on PC when openconnect authenticated and connected

Open raitech12 opened this issue 3 years ago • 1 comments

Hi I need to use chisel in an android app. Is there any compiled version for android in releases page? I already used the linux_arm64 version but the connection aborts after data transferred through chisel

I get the following error on android

2022/10/27 21:47:00 client: Connecting to ws://194.xx.xx.xx:8765 2022/10/27 21:47:00 client: tun: proxy#127.0.0.1:9982=>xx.xx.xx.xx:85: Listening 2022/10/27 21:47:01 client: Connected (Latency 43.15077ms) 2022/10/27 21:47:08 client: Disconnected 2022/10/27 21:47:08 client: Connection error: read tcp 192.168.0.101:36366->xx.xx.xx.xx.:8765: read: software caused connection abort 2022/10/27 21:47:08 client: Give up

I already used precompiled version on chiselsocksdroid (https://github.com/kawaiiDango/chiselsocksdroid/blob/main/app/src/main/jniLibs/arm64-v8a/libchisel.so) , but I got the same result. I have to mention that I use openconnect over the tunnel and just after openconnect connects to the server, chisel abort the connection. I used chisel on a PC with openconnect on PC, (same server) and the connection did not have any problem

raitech12 avatar Oct 27 '22 21:10 raitech12

If i understand correctly, both chisel and openconnect (with android app) are creating vpn connection and there cant be 2 vpn connections on android. Chisel should have to output socks5 alone. and openconnect can listen on socks5 1080 .. maybe thats the problem.

essoojay avatar Jul 09 '23 19:07 essoojay