-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Describe the bug
ttyd fails to initialize and crashes immediately with a libwebsockets context creation error. The error occurs when trying to load evlib_uv
and results in the application terminating before it can serve the web terminal.
I'm ruuning the ttyd inside the docker container using the below command
docker run -it -d -p 8080:7681 --platform linux/amd64 image_name ttyd -p 7681 bash
This is my Base image debian:stable-slim
Error Logs
2025-10-19 11:29:30.086 | [2025/10/19 05:59:30:0820] N: ttyd 1.7.7-unknown (libwebsockets 4.3.5-unknown)
2025-10-19 11:29:30.086 | [2025/10/19 05:59:30:0862] N: tty configuration:
2025-10-19 11:29:30.086 | [2025/10/19 05:59:30:0862] N: start command: bash
2025-10-19 11:29:30.086 | [2025/10/19 05:59:30:0862] N: close signal: SIGHUP (1)
2025-10-19 11:29:30.086 | [2025/10/19 05:59:30:0862] N: terminal type: xterm-256color
2025-10-19 11:29:30.086 | [2025/10/19 05:59:30:0862] N: The --writable option is not set, will start in readonly mode
2025-10-19 11:29:30.090 | [2025/10/19 05:59:30:0904] E: lws_create_context: failed to load evlib_uv
2025-10-19 11:29:30.090 | [2025/10/19 05:59:30:0905] E: libwebsockets context creation failed
2025-10-19 11:29:30.115 |