-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
kcp插件无法启动 #1091
Comments
I have this same issue. |
you need to download plugins… Simple-obfs: https://github.com/shadowsocks/simple-obfs-android/releases/tag/v0.0.1 |
肯定是在手机上安装了插件的。以前版本可以用kcp加速。 |
Attach logcat please. |
Maybe You can wipe the data of shadowsocks. I have a try and It works successful. But I found that the shadowsocks-android can not shut down normal. And the I try to use the Android studio to get some logcat. I see there are some log like "E/pdnsd: [android] connect() failed: Try again (socket fd=xxx), path: protect path "... And the proccsee still show "shutting down". So I think that maybe the program has some issue with the plugins .. |
Attach FULL logcat.
|
01-24 12:38:08.085 3877-3877/? E/brcm-uim: brcm-uim: ERR unable to open /sys/devices/platform/bcm_ldisc/install (No such file or directory) |
Capture log while the service is starting, not after it started.
|
在应用程序里看Simple obfuscation在里内存运行而kcptun插件没有运行。 |
01-24 13:07:41.768 5761-5761/? I/Timeline: Timeline: Activity_launch_request id:com.github.shadowsocks time:320961 |
@triaqu Plugin app doesn't need to be running when service is started. Plugin executable is run under main app's UID. @xseven007 Sorry. I forgot you are having a different issue here (perhaps you should open a separate issue to discuss it?). You should attach log while shutting down service. 😓 |
对不起手机没root,不知怎么catlog. |
@traiqu 你是不是装了类似 阻止运行 或者 黑域 之类的 要把kcptun排除才可以用,不然没法调用 |
@xseven007 我的手机是Huawei Mate9,我找了系统里面,没有blockhole之种类似的应用。依然只能运行第一次,不能运行第二次,我的手机的现象和 @triaqu 遇到的现象是一样的。 |
Try to update plugins to the latest: https://github.com/shadowsocks/simple-obfs-android/releases/tag/v0.0.3 |
kcptun plugin version 0.0.1
这样抓LOG行么,0.0.1的版本无法使用,现在试一下0.0.2 |
@whour You are getting log from the UI process which doesn't seem to provide any useful info. Do |
@madeye Just tried with kcptun plugin 0.0.2, still doesn't work. I reinstalled shadowsocks, reinstalled kcptun plugin, still the same. |
@Mygod 手机上terminal 使用 |
@Mygod on my Phone Huawei Mate 9 with Android 7.0, logcat still needs correct permissions. |
Terminal emulator probably doesn't have |
貌似是新版没有地方设置KCP端口? |
@xMuu Use remote port because that's how plugins work now. |
@Mygod OK, I will have try.Thx. |
我试了很多应用。matlog这个提示我给他android.permission.READ_LOGS权限 |
我发现在终端模拟器 |
kcp0.02版还是只能使用一次后就报错。上面机型填错了,是华为mate8安卓7.0系统。 |
I still have this issue. |
@triaqu 你有解决办法了吗? |
@changyp6 没有,也有问题。 |
@Mygod 今天在PC上Logcat,放到shadowsocks/kcptun-android#8 |
我发现v4.0 关闭远程服务器转发UDP包,开启kcptun的插件可以使用,在v3.4.2的版本开启远程udp转发可以使用kcptun。 |
@triaqu 你开启了远程udp转发么? |
@whour 试了下,服务器默认设置,客户端用kcp插件开UDP后收不到数据。 |
果然是华为的手机管家的问题,禁止了关联启动kcptun |
Huawei mate8, Phone manager -> Auto-launch -> Secondary launch management-> allow "kcptun" |
华为mate 9: 打开应用“手机管家” -自启管理 - 应用关联启动管理 ,找到 kcptun, 允许启用即可。 |
I have solved this by this: shadowsocks/kcptun-android#4;
Reason: kcptun plugin could not be wake up by shadowsocks due to the system limitation. Solution: Security -> Permissions -> Run in background -> find 'kcptun' -> choose 'Keep running in background' instead of 'Smart Background(recommended)' which is the default. The Security is a flyme build-in app which has a green circle icon with a white umbrella in it. Hope it will help you guys :) |
The save issue happen on my honor 6 , even after allow kcptun to be run in Phone manager -> Auto-launch -> Secondary launch management
|
after reinstall kcptun plugin, shadowsocks and select kcptun as plugin and blocked by the phone again, enable kcptun can be run by shadowsocks, and shadowsocks still failed to work.
|
华为手机禁用华为智障的省电精灵后ss使用完全正常,不会被杀,做法自己百度 “adb 省电精灵" |
Please read doc for METADATA_KEY_EXECUTABLE_PATH for more details. Basically, we get around application launching limitations from Huawei (among others) by reading metadata and therefore prevent launching the application altogether. This should hopefully fix #1091, #1106. (requires plugin app support) This commit also refines error reporting in PluginManager.
Please read doc for METADATA_KEY_EXECUTABLE_PATH for more details. Basically, we get around application launching limitations from Huawei (among others) by reading metadata and therefore prevent launching the application altogether. This should hopefully fix shadowsocks#1091, shadowsocks#1106. (requires plugin app support) This commit also refines error reporting in PluginManager.
不连接服务器 |
Please read FAQ then answer these questions before submitting your issue. Thanks!
Environment
android 7.0
华为p8
v4.0
Configuration
Put an
x
inside the [ ] that applies.What did you do?
使用kcp插件连接失败,提示”服务启动失败,无法连接远程服务器:unknow plugin kcptun”
远程端口连接kcp端口,参数autoexpire=10;mode=fast
。
What did you expect to see?
请问kcp插件如何使用
What did you see instead?
The text was updated successfully, but these errors were encountered: