[GH-ISSUE #17] Cloak android stops working after a period of idle or when the server is restarted #13

Closed
opened 2026-02-26 12:35:13 +03:00 by kerem · 0 comments
Owner

Originally created by @notsure2 on GitHub (Dec 13, 2020).
Original GitHub issue: https://github.com/cbeuw/Cloak-android/issues/17

Hello,
This bug was present for a long time. I checked with adb, the cloak process is alive, but when shadowsocks connects to it, it gets a timeout and reports timeout connecting to the localhost port. I will compile a version of cloak with more logging (since it seems in shadowsocks we can't set logging level for cloak) and try to debug this issue.

It seems to happen in 2 cases, when cloak left for a long time idle (even when cloak and shadowsocks put in battery optimization whitelist), also rebooting the server triggers the issue more quickly.

Note: This issue never happens to shadowsocks alone and it is also using a native process.

Originally created by @notsure2 on GitHub (Dec 13, 2020). Original GitHub issue: https://github.com/cbeuw/Cloak-android/issues/17 Hello, This bug was present for a long time. I checked with adb, the cloak process is alive, but when shadowsocks connects to it, it gets a timeout and reports timeout connecting to the localhost port. I will compile a version of cloak with more logging (since it seems in shadowsocks we can't set logging level for cloak) and try to debug this issue. It seems to happen in 2 cases, when cloak left for a long time idle (even when cloak and shadowsocks put in battery optimization whitelist), also rebooting the server triggers the issue more quickly. Note: This issue never happens to shadowsocks alone and it is also using a native process.
kerem closed this issue 2026-02-26 12:35:13 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak-android#13
No description provided.