-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
I am trying to connect to my pc which is running ttyd via an ipad. It keeps saying "press {arrow symbol} to Reconnect", if I do the tab reloads and the same message appears. The Terminal which runs ttyd says "user code refused connection" {see code pasted at the bottom}
terminal output:
[2025/07/26 18:58:13:0319] N: ttyd 1.7.7-unknown (libwebsockets 4.4.0-unknown)
[2025/07/26 18:58:13:0320] N: tty configuration:
[2025/07/26 18:58:13:0320] N: credential: dG9hc3RpOnRvYXN0aQ==
[2025/07/26 18:58:13:0320] N: start command: btop
[2025/07/26 18:58:13:0320] N: close signal: SIGHUP (1)
[2025/07/26 18:58:13:0320] N: terminal type: xterm-256color
[2025/07/26 18:58:13:0320] N: allow url arg: true
[2025/07/26 18:58:13:0320] N: max clients: 3
[2025/07/26 18:58:13:0325] N: /home/linuxbrew/.linuxbrew/Cellar/libwebsockets/4.4.1/lib/libwebsockets-evlib_uv.so
[2025/07/26 18:58:13:0325] N: lws_create_context: LWS: 4.4.0-unknown, NET CLI SRV H1 H2 WS SS-JSON-POL ConMon IPV6-on
[2025/07/26 18:58:13:0325] N: elops_init_pt_uv: Using foreign event loop...
[2025/07/26 18:58:13:0327] N: [vh|2|default||3001]: lws_socket_bind: source ads 0.0.0.0
[2025/07/26 18:58:13:0328] N: [vh|2|default||3001]: lws_socket_bind: source ads ::
[2025/07/26 18:58:13:0328] N: Listening on port: 3001
[2025/07/26 18:58:13:0835] N: [wsicli|0|GET/h1/connectivitycheck.android.com/([wsiSScli|0|ca]: lws_sort_dns: 2a00:1450:4016:80a::200e has no route out
[2025/07/26 18:58:13:0836] N: lws_ss_sys_cpd: CPD already ongoing
[2025/07/26 18:58:13:1099] N: lws_system_cpd_set: setting CPD result OK
[2025/07/26 18:58:13:6189] N: HTTP / - 127.0.0.1
[2025/07/26 18:58:15:7761] N: HTTP / - 127.0.0.1
[2025/07/26 18:58:15:8584] N: HTTP /token - 127.0.0.1
[2025/07/26 18:58:15:8960] N: WS /ws - 127.0.0.1, clients: 1
[2025/07/26 18:58:15:9002] N: started process, pid: 149531
[2025/07/26 18:58:21:3668] N: HTTP /token - ::1
[2025/07/26 18:58:21:4723] W: User code denied connection