Skip to content

Failed to run on openwrt #319

@bingzhangdai

Description

@bingzhangdai

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions