Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection closed On https #1366

Open
alkeshgit opened this issue May 22, 2024 · 1 comment
Open

Connection closed On https #1366

alkeshgit opened this issue May 22, 2024 · 1 comment
Labels

Comments

@alkeshgit
Copy link

I am trying to log in to a terminal using a domain with an SSL certificate installed. When I attempt to connect, the terminal shows "connection closed." This issue only occurs when the SSL certificate is installed on the domain and I try to connect using HTTPS.

Refer logs
[2024/05/22 13:14:34:7334] N: ttyd 1.6.3-3b174da (libwebsockets 4.1.6-)
[2024/05/22 13:14:34:7335] N: tty configuration:
[2024/05/22 13:14:34:7336] N: start command: /bin/bash
[2024/05/22 13:14:34:7338] N: close signal: SIGHUP (1)
[2024/05/22 13:14:34:7338] N: terminal type: xterm-256color
[2024/05/22 13:14:34:7340] N: endpoints:
[2024/05/22 13:14:34:7341] N: base-path: /tty
[2024/05/22 13:14:34:7341] N: index : /tty/
[2024/05/22 13:14:34:7343] N: token : /tty/token
[2024/05/22 13:14:34:7343] N: websocket: /tty/ws
[2024/05/22 13:14:34:7344] N: once: true
[2024/05/22 13:14:34:7345] N: LWS: 4.1.6-, loglevel 7
[2024/05/22 13:14:34:7345] N: NET SRV H1 WS IPV6-off
[2024/05/22 13:14:34:7358] N: Using foreign event loop...
[2024/05/22 13:14:34:7360] N: lws_socket_bind: vh default unix skt /var/webuzo/ttyd/user1.sock perms 1003:1004
[2024/05/22 13:14:34:7361] N: Listening on port: 0
[2024/05/22 13:14:34:7362] N: lws_plat_drop_app_privileges: effective group 'user1'
[2024/05/22 13:14:34:7363] N: lws_plat_drop_app_privileges: effective user 'user1'
[2024/05/22 13:14:35:2405] N: HTTP /tty/ -
[2024/05/22 13:14:35:8680] N: HTTP /tty/token -
[2024/05/22 13:14:36:3144] N: HTTP /tty/ws -
[2024/05/22 13:14:36:5679] N: HTTP /tty/token -
[2024/05/22 13:14:36:9729] N: HTTP /tty/ws -
[2024/05/22 13:14:37:3116] N: HTTP /tty/token -
[2024/05/22 13:14:37:7314] N: HTTP /tty/ws -
[2024/05/22 13:14:38:2948] N: HTTP /tty/token -
[2024/05/22 13:14:38:7699] N: HTTP /tty/ws -
[2024/05/22 13:14:39:7131] N: HTTP /tty/token -
[2024/05/22 13:14:40:1252] N: HTTP /tty/ws -
[2024/05/22 13:14:41:8916] N: HTTP /tty/token -
[2024/05/22 13:14:42:3621] N: HTTP /tty/ws -
[2024/05/22 13:14:45:7183] N: HTTP /tty/token -
[2024/05/22 13:14:46:1492] N: HTTP /tty/ws -
[2024/05/22 13:14:52:6959] N: HTTP /tty/token -
[2024/05/22 13:14:53:1228] N: HTTP /tty/ws -
[2024/05/22 13:15:04:2141] N: HTTP /tty/token -
[2024/05/22 13:15:04:6487] N: HTTP /tty/ws -
[2024/05/22 13:15:15:2108] N: HTTP /tty/token -
[2024/05/22 13:15:15:5942] N: HTTP /tty/ws -
[2024/05/22 13:15:26:2380] N: HTTP /tty/token -
[2024/05/22 13:15:26:6485] N: HTTP /tty/ws -
[2024/05/22 13:15:37:2196] N: HTTP /tty/token -
[2024/05/22 13:15:37:6611] N: HTTP /tty/ws -
[2024/05/22 13:15:48:2106] N: HTTP /tty/token -
[2024/05/22 13:15:48:6276] N: HTTP /tty/ws -
[2024/05/22 13:15:59:2140] N: HTTP /tty/token -
[2024/05/22 13:15:59:6712] N: HTTP /tty/ws -
[2024/05/22 13:16:10:2065] N: HTTP /tty/token -
[2024/05/22 13:16:10:6344] N: HTTP /tty/ws -
[2024/05/22 13:16:21:2062] N: HTTP /tty/token -
[2024/05/22 13:16:21:6338] N: HTTP /tty/ws -

@tsl0922
Copy link
Owner

tsl0922 commented Jun 27, 2024

Do you have any log in the browser console?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants