Problem description
Hi, after upgrading the packages on my system I noticed that ttyd does not run anymore. Here's the error:
~ ❯ sudo ttyd -p 9092 bash u0_a202@localhost
[2025/12/07 22:14:00:9132] N: ttyd 1.7.7-unknown (libwebsockets 4.5.0-no_hash)
[2025/12/07 22:14:00:9134] N: tty configuration:
[2025/12/07 22:14:00:9134] N: start command: bash
[2025/12/07 22:14:00:9134] N: close signal: SIGHUP (1)
[2025/12/07 22:14:00:9134] N: terminal type: xterm-256color
[2025/12/07 22:14:00:9134] N: The --writable option is not set, will start in readonly mode
[2025/12/07 22:14:00:9136] E: lws_create_context: failed to load evlib_uv
[2025/12/07 22:14:00:9136] E: libwebsockets context creation failed
~ ❯ pkg search libwebsockets u0_a202@localhost
Checking availability of current mirror:
[*] https://mirror.nevacloud.com/applications/termux/termux-main: ok
Sorting... Done
Full Text Search... Done
libwebsockets/stable,now 4.5.0 aarch64 [installed]
Lightweight C websockets library
~ ❯ pkg search ttyd u0_a202@localhost
Checking availability of current mirror:
[*] https://mirror.nevacloud.com/applications/termux/termux-main: ok
Sorting... Done
Full Text Search... Done
ttyd/stable,now 1.7.7-3 aarch64 [installed]
Command-line tool for sharing terminal over the web
What steps will reproduce the bug?
Install latest ttyd package and execute it (e.g. ttyd -p 9092 bash)
What is the expected behavior?
ttyd should not crash
System information
u0_a202@localhost
Termux Variables:
TERMUX_API_VERSION=0.53.0
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=5002
TERMUX_APP__DATA_DIR=/data/user/0/com.termux
TERMUX_APP__LEGACY_DATA_DIR=/data/data/com.termux
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c202,c256,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.3
TERMUX__HOME=/data/data/com.termux/files/home
TERMUX__PREFIX=/data/data/com.termux/files/usr
TERMUX__ROOTFS_DIR=/data/data/com.termux/files
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c202,c256,c512,c768
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.nevacloud.com/applications/termux/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://mirror.nevacloud.com/applications/termux/termux-root root stable
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
Updatable packages:
All packages up to date
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 5.4.296-qgki-g12afcbc3762d #1 SMP PREEMPT Mon Oct 6 11:28:01 UTC 2025 aarch64 Android
Device manufacturer:
OnePlus
Device model:
LE2123
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a,armeabi-v7a,armeabi
SUPPORTED_32_BIT_ABIS: armeabi-v7a,armeabi
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.api versionCode:1002
com.termux.boot versionCode:1000
Problem description
Hi, after upgrading the packages on my system I noticed that ttyd does not run anymore. Here's the error:
What steps will reproduce the bug?
Install latest ttyd package and execute it (e.g.
ttyd -p 9092 bash)What is the expected behavior?
ttyd should not crash
System information