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

Android 15 not work #3188

Closed
8 tasks
yanickxia opened this issue Nov 21, 2024 · 9 comments
Closed
8 tasks

Android 15 not work #3188

yanickxia opened this issue Nov 21, 2024 · 9 comments
Labels

Comments

@yanickxia
Copy link

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:

  • open shadowsocks
  • connect

Expected behavior
Should be work

Screenshots
info

Smartphone (please complete the following information):

  • Android/Chrome OS version: ["6.1.75-android14-11-0-gc6c9b99a89c8"]
  • Device: [Realme GT6]
  • Version: [v5.3.4]
  • Last version that did not exhibit the issue: [not applicable]

Configuration
Put an x inside the [ ] that applies.

  • [ x ] IPv4 server address
  • IPv6 server address
  • [ x ] Client IPv4 availability
  • Client IPv6 availability
  • Encrypt method:
  • Route
    • [ x ] All
    • [ x] Bypass LAN
    • [ x] Bypass China
    • [ x] Bypass LAN & China
    • [ x] GFW List
    • [x ] China List
    • [x ] Custom rules
  • IPv6 route
  • Apps VPN mode
    • Bypass mode
  • Remote DNS: 8.8.8.8
  • DNS over UDP
  • Plugin configuration (if applicable):
  • Auto Connect
  • TCP Fast Open
  • [ x ] KCPTUN
  • If you're not using VPN mode, please supply more details here:

Additional context
Add any other context about the problem here.

logs file:
log.log

@yanickxia yanickxia added the bug label Nov 21, 2024
@yanickxia
Copy link
Author

yanickxia commented Nov 21, 2024

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
Copy link
Contributor

AaronChen0 commented Nov 21, 2024

Are you using OnePlus? Maybe a device specific issuse. termux/termux-app#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
Copy link
Author

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
Copy link
Author

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

@yuliu
Copy link

yuliu commented Nov 23, 2024

Are you using OnePlus? Maybe a device specific issuse. termux/termux-app#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.

Seems so. I've upgraded my OnePlus 12 from ColorOS 14 to 15, and shadowsocks android with the v2ray plugin won't connect to the server which toasts libsslocal exits too fast with exit code 70. Don't know what reason this number is for.

@yuliu
Copy link

yuliu commented Nov 23, 2024

Are you using OnePlus? Maybe a device specific issuse. termux/termux-app#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.

Termux installed from f droid has issues setting up bootstraps (script killed when opening termux), but the one from Google play store runs pretty fine. Maybe shadowsocks android is having the same issue?

@yuliu
Copy link

yuliu commented Nov 24, 2024

After upgrading shadowsocks android to 534 from GitHub repo release, it can connect but no connection would go through the VPN set up by it. Same environment and same message as in #3185

@yanickxia
Copy link
Author

After last system upgrade, it's works again, seem OS bug

@yuliu
Copy link

yuliu commented Dec 2, 2024

After upgrading shadowsocks android to 534 from GitHub repo release, it can connect but no connection would go through the VPN set up by it. Same environment and same message as in #3185

A newer OS version fixed the issue. The Google Play Store version works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants