jpillora / jpillora/chisel

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

Open
#386 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no source file or test. Start by reproducing the Android arm64/libchisel.so setup with openconnect, then compare it with the working PC setup and the connection log. Done means identifying a reproducible cause for the abort and confirming a fix or documenting the Android limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, go
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.