[GH-ISSUE #319] Failed to run on openwrt #248

Open
opened 2026-02-26 12:34:21 +03:00 by kerem · 0 comments
Owner

Originally created by @bingzhangdai on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/319

I am running the cloak client on x86_64 openwrt on VM.

root@OpenWrt:~# uname -a
Linux OpenWrt 6.6.104 #0 SMP Fri Sep 19 21:19:38 2025 x86_64 GNU/Linux

I am testing running cloak in standalone mode. I check that the config works on normal linux like centos or debian, but not on openwrt

INFO[0000] Starting standalone mode
INFO[2025-11-10T10:52:21Z] Listening on TCP 0.0.0.0:8443 for shadowsocks client
INFO[2025-11-10T10:52:21Z] Attempting to start a new session
TRAC[2025-11-10T10:52:21Z] client hello sent successfully
TRAC[2025-11-10T10:52:21Z] waiting for ServerHello
TRAC[2025-11-10T10:52:21Z] client hello sent successfully
TRAC[2025-11-10T10:52:21Z] waiting for ServerHello
TRAC[2025-11-10T10:52:21Z] client hello sent successfully
TRAC[2025-11-10T10:52:21Z] waiting for ServerHello
TRAC[2025-11-10T10:52:21Z] client hello sent successfully
TRAC[2025-11-10T10:52:21Z] waiting for ServerHello
TRAC[2025-11-10T10:52:21Z] client hello sent successfully
TRAC[2025-11-10T10:52:21Z] waiting for ServerHello
TRAC[2025-11-10T10:52:21Z] client hello sent successfully
TRAC[2025-11-10T10:52:21Z] waiting for ServerHello
TRAC[2025-11-10T10:52:21Z] client hello sent successfully
TRAC[2025-11-10T10:52:21Z] waiting for ServerHello
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
TRAC[2025-11-10T10:52:22Z] client hello sent successfully
TRAC[2025-11-10T10:52:22Z] waiting for ServerHello
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
TRAC[2025-11-10T10:52:22Z] client hello sent successfully
TRAC[2025-11-10T10:52:22Z] waiting for ServerHello
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
TRAC[2025-11-10T10:52:22Z] client hello sent successfully
TRAC[2025-11-10T10:52:22Z] waiting for ServerHello
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
TRAC[2025-11-10T10:52:22Z] client hello sent successfully
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer
TRAC[2025-11-10T10:52:22Z] client hello sent successfully
TRAC[2025-11-10T10:52:22Z] waiting for ServerHello
ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer

I suspect it is a hardware issue or just a system config param. Could anyone help me with this issue?

Originally created by @bingzhangdai on GitHub (Nov 10, 2025). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/319 I am running the `cloak` client on `x86_64` openwrt on VM. ``` root@OpenWrt:~# uname -a Linux OpenWrt 6.6.104 #0 SMP Fri Sep 19 21:19:38 2025 x86_64 GNU/Linux ``` I am testing running cloak in standalone mode. I check that the config works on normal linux like centos or debian, but not on openwrt ``` INFO[0000] Starting standalone mode INFO[2025-11-10T10:52:21Z] Listening on TCP 0.0.0.0:8443 for shadowsocks client INFO[2025-11-10T10:52:21Z] Attempting to start a new session TRAC[2025-11-10T10:52:21Z] client hello sent successfully TRAC[2025-11-10T10:52:21Z] waiting for ServerHello TRAC[2025-11-10T10:52:21Z] client hello sent successfully TRAC[2025-11-10T10:52:21Z] waiting for ServerHello TRAC[2025-11-10T10:52:21Z] client hello sent successfully TRAC[2025-11-10T10:52:21Z] waiting for ServerHello TRAC[2025-11-10T10:52:21Z] client hello sent successfully TRAC[2025-11-10T10:52:21Z] waiting for ServerHello TRAC[2025-11-10T10:52:21Z] client hello sent successfully TRAC[2025-11-10T10:52:21Z] waiting for ServerHello TRAC[2025-11-10T10:52:21Z] client hello sent successfully TRAC[2025-11-10T10:52:21Z] waiting for ServerHello TRAC[2025-11-10T10:52:21Z] client hello sent successfully TRAC[2025-11-10T10:52:21Z] waiting for ServerHello ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer TRAC[2025-11-10T10:52:22Z] client hello sent successfully TRAC[2025-11-10T10:52:22Z] waiting for ServerHello ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer TRAC[2025-11-10T10:52:22Z] client hello sent successfully TRAC[2025-11-10T10:52:22Z] waiting for ServerHello ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer TRAC[2025-11-10T10:52:22Z] client hello sent successfully TRAC[2025-11-10T10:52:22Z] waiting for ServerHello ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer TRAC[2025-11-10T10:52:22Z] client hello sent successfully ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer TRAC[2025-11-10T10:52:22Z] client hello sent successfully TRAC[2025-11-10T10:52:22Z] waiting for ServerHello ERRO[2025-11-10T10:52:22Z] Failed to prepare connection to remote: short buffer ``` I suspect it is a hardware issue or just a system config param. Could anyone help me with this issue?
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#248
No description provided.