Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloak cannot be used in the latest version of Android SS #13

Closed
loyess opened this issue Jun 3, 2020 · 7 comments
Closed

Cloak cannot be used in the latest version of Android SS #13

loyess opened this issue Jun 3, 2020 · 7 comments

Comments

@loyess
Copy link

loyess commented Jun 3, 2020

The log is as follows:

06-03 20:31:01.025  6939  7302 E libsslocal: 2020-06-03T20:31:01.023+08:00 INFO  shadowsocks 1.8.12
06-03 20:31:01.046  6939  7302 E libsslocal: 2020-06-03T20:31:01.045+08:00 INFO  started plugin "/data/app/com.github.shadowsocks.plugin.ck_client-RrDoO0hGHK4zycsZImCBbA==/lib/arm64/libck-client.so" on 127.0.0.1:42607 <-> <My_Server-IP>:443 (7317)
06-03 20:31:01.501  6939  7302 E libsslocal: panic: runtime error: index out of range [1] with length 1
06-03 20:31:01.503  6939  7302 E libsslocal: goroutine 1 [running]:
06-03 20:31:01.503  6939  7302 E libsslocal: github.com/cbeuw/Cloak/internal/client.ssvToJson(0x400000a112, 0xdf, 0x6070c89e33, 0x1, 0xd)
06-03 20:31:01.503  6939  7302 E libsslocal: 	C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/internal/client/state.go:89 +0x4e0
06-03 20:31:01.503  6939  7302 E libsslocal: github.com/cbeuw/Cloak/internal/client.ParseConfig(0x400000a112, 0xdf, 0x4, 0x0, 0x0)
06-03 20:31:01.503  6939  7302 E libsslocal: 	C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/internal/client/state.go:107 +0x78
06-03 20:31:01.503  6939  7302 E libsslocal: main.main()
06-03 20:31:01.503  6939  7302 E libsslocal: 	C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/cmd/ck-client/ck-client.go:81 +0x71c
06-03 20:31:11.048  6939  7302 E libsslocal: 2020-06-03T20:31:11.047+08:00 WARN  plugin "/data/app/com.github.shadowsocks.plugin.ck_client-RrDoO0hGHK4zycsZImCBbA==/lib/arm64/libck-client.so" for <My_Server-IP>:443 listening on 127.0.0.1:42607 isn't started yet, elapsed 10.0s
06-03 20:31:11.050  6939  7302 E libsslocal: 2020-06-03T20:31:11.050+08:00 ERROR terminating plugin process 7317, error: No such process (os error 3)
06-03 20:31:11.051  6939  7302 E libsslocal: 2020-06-03T20:31:11.050+08:00 ERROR waitpid(7317) error: No child processes (os error 10)
06-03 20:31:11.056  6939  7302 E libsslocal: 2020-06-03T20:31:11.051+08:00 ERROR one of servers exited unexpectly, result: Err(Custom { kind: Other, error: "plugin exited unexpectedly with exit code: 2" })
06-03 20:31:11.056  6939  7302 E libsslocal: thread 'main' panicked at 'aborted with server exited unexpectly', src/bin/local.rs:310:45
06-03 20:31:11.056  6939  7302 E libsslocal: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Note: Normal use in Android 5.0.6 version

@qwerttvv
Copy link

qwerttvv commented Jun 4, 2020

@cbeuw
Copy link
Owner

cbeuw commented Jun 9, 2020

I tried to reproduce this but couldn't. Could you try to click through each one of the plugin configuration options? It may not have been properly initialised

@qwerttvv
Copy link

I tried to reproduce this but couldn't. Could you try to click through each one of the plugin configuration options? It may not have been properly initialised

still not working with click

cloak android v2.2.1 + ss android v5.1.1

@loyess
Copy link
Author

loyess commented Jul 7, 2020

#2535

@qwerttvv
Copy link

https://github.com/shadowsocks/shadowsocks-android/releases/tag/v5.1.2

ss v5.1.2 + ck v2.2.1 still not working

@loyess
Copy link
Author

loyess commented Jul 13, 2020

it crashed when parsing config.

@loyess
Copy link
Author

loyess commented Jul 26, 2020

The reason found: e39de34

The ";V" parameter added in the plug-in options causes the index to be out of range during Cloak configuration parsing, Shadowsocks-rust has removed this option.

The next time Shadowsocks-android releases the apk, it will be fixed.

If you want to experience the latest version (the last commit) of ss-android apk, you can go to the ss-android project to download the version automatically compiled by Ci.

https://622-7190986-gh.circle-artifacts.com/0/apk/mobile/debug/mobile-universal-debug.apk

@loyess loyess closed this as completed Jul 26, 2020
cbeuw added a commit to cbeuw/Cloak that referenced this issue Jul 27, 2020
cbeuw added a commit that referenced this issue Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants