shadowsocks / shadowsocks-android

A shadowsocks client for Android
Other
35.24k stars 11.57k forks source link

Android 15 not work #3188

Open yanickxia opened 14 hours ago

yanickxia commented 14 hours ago

Please read contributing guidelines. Thanks.

Describe the bug SS With KCPTUN not work, without kcptun will be ok

To Reproduce Steps to reproduce the behavior:

Expected behavior Should be work

Screenshots info

Smartphone (please complete the following information):

Configuration Put an x inside the [ ] that applies.

Additional context Add any other context about the problem here.

logs file: log.log

yanickxia commented 11 hours ago

more logs:

2024-11-21 16:57:42.035 24310-24318 s.plugin.kcptun com...hub.shadowsocks.plugin.kcptun E Failed to send jdwp-handshake response.: Broken pipe

2024-11-21 17:40:39.015 7621-14047 WM-SystemJobScheduler com.github.shadowsocks D Scheduling work ID a2787dd7-2db5-482b-9120-c28ffbc22c78Job ID 27 2024-11-21 17:40:39.032 7621-14052 WM-PackageManagerHelper com.github.shadowsocks D androidx.work.impl.background.systemalarm.RescheduleReceiver enabled 2024-11-21 17:40:41.965 7621-2825 libsslocal com.github.shadowsocks V 2024-11-21T17:40:41.965177096+08:00 WARN no valid UDP server serving for UDP clients, consider disable UDP with "mode": "tcp_only", currently chose heelo:59402
2024-11-21 17:40:41.969 7621-2825 libsslocal com.github.shadowsocks V 2024-11-21T17:40:41.969367565+08:00 ERROR plugin exited with status: signal: 9 (SIGKILL)
2024-11-21 17:40:41.970 7621-2824 libsslocal com.github.shadowsocks E thread 'main' panicked at /shadowsocks-android/core/src/main/rust/shadowsocks-rust/crates/shadowsocks-service/src/local/loadbalancing/ping_balancer.rs:300:21: 2024-11-21 17:40:41.971 7621-2824 libsslocal com.github.shadowsocks E all plugins are exited. all connections may fail, check your configuration 2024-11-21 17:40:41.971 7621-2824 libsslocal com.github.shadowsocks E note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

AaronChen0 commented 10 hours ago

Are you using OnePlus? Maybe a device specific issuse. https://github.com/termux/termux-app/issues/4219. Check your phone's setting. Make sure the plugin process doesn't get killed by your phone's management system. Or wait for OS update.

yanickxia commented 10 hours ago

Are you using OnePlus? Maybe a device specific issus. termux/termux-app#4219. Check your phone's setting. Make sure the plugin process doesn't get killed by your phone's management system.

realme, but realme and oneplus all belong oppo, maybe same problem, seem kcptun is killed by OS

yanickxia commented 6 hours ago

same with #2954 , i try run kcptun-client in termux + ss without kcptun, it's works