im using a Pi3 with the Hassio install version 0.58.1
supervisor: 0.75
configuration of the Add-on:
{
"log_level": "debug",
"username": "username",
"password": "password",
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"packages": [],
"init_commands": []
}
log in debug level (sorry its big):
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 10-hassio: applying...
[fix-attrs.d] 10-hassio: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: Terminal v2.0.2
Terminal access to your Home Assistant instance via the web
From: Community Hass.io Add-ons
By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...
DEBUG: Requested API resource: http://hassio/supervisor/ping
DEBUG: API HTTP Response code: 200
DEBUG: API Response: {"result": "ok", "data": {}}
DEBUG: Requested API resource: http://hassio/addons/a0d7b954_terminal/info
DEBUG: API HTTP Response code: 200
DEBUG: API Response: {"result": "ok", "data": {"name": "Terminal", "description": "Terminal access to your Home Assistant instance via the web", "version": "2.0.2", "auto_update": true, "repository": "a0d7b954", "last_version": "2.0.2", "state": "started", "boot": "auto", "options": {"log_level": "debug", "username": "username", "password": "password", "ssl": true, "certfile": "fullchain.pem", "keyfile": "privkey.pem", "packages": [], "init_commands": []}, "url": "https://github.com/hassio-addons/addon-terminal", "detached": false, "build": false, "network": {"7681/tcp": 7681}, "host_network": false, "privileged": null, "devices": null, "logo": true, "webui": "https://[HOST]:7681", "stdin": false, "hassio_api": true, "homeassistant_api": true, "gpio": false, "audio": false, "audio_input": null, "audio_output": null}}
DEBUG: Filtering response using: .version
DEBUG: Requested API resource: http://hassio/addons/a0d7b954_terminal/info
DEBUG: API HTTP Response code: 200
DEBUG: API Response: {"result": "ok", "data": {"name": "Terminal", "description": "Terminal access to your Home Assistant instance via the web", "version": "2.0.2", "auto_update": true, "repository": "a0d7b954", "last_version": "2.0.2", "state": "started", "boot": "auto", "options": {"log_level": "debug", "username": "username", "password": "password", "ssl": true, "certfile": "fullchain.pem", "keyfile": "privkey.pem", "packages": [], "init_commands": []}, "url": "https://github.com/hassio-addons/addon-terminal", "detached": false, "build": false, "network": {"7681/tcp": 7681}, "host_network": false, "privileged": null, "devices": null, "logo": true, "webui": "https://[HOST]:7681", "stdin": false, "hassio_api": true, "homeassistant_api": true, "gpio": false, "audio": false, "audio_input": null, "audio_output": null}}
DEBUG: Filtering response using: .last_version
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 30-link-common-dirs.sh: executing...
[cont-init.d] 30-link-common-dirs.sh: exited 0.
[cont-init.d] 40-zsh.sh: executing...
[cont-init.d] 40-zsh.sh: exited 0.
[cont-init.d] 50-user-ssh-folder.sh: executing...
[cont-init.d] 50-user-ssh-folder.sh: exited 0.
[cont-init.d] 80-user-packages.sh: executing...
[cont-init.d] 80-user-packages.sh: exited 0.
[cont-init.d] 81-user-scripts.sh: executing...
[cont-init.d] 81-user-scripts.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
starting version 3.2.2
[services.d] done.
INFO: Starting the ttyd daemon
[2017/11/27 11:25:54:2594] NOTICE: ttyd 1.3.2 (libwebsockets 2.2.0)
[2017/11/27 11:25:54:2594] NOTICE: tty configuration:
[2017/11/27 11:25:54:2595] NOTICE: credential: *REMOVED*
[2017/11/27 11:25:54:2595] NOTICE: start command: tmux new -A -s ttyd zsh
[2017/11/27 11:25:54:2596] NOTICE: reconnect timeout: 30s
[2017/11/27 11:25:54:2596] NOTICE: close signal: SIGHUP (1)
[2017/11/27 11:25:54:2598] NOTICE: Initial logging level 7
[2017/11/27 11:25:54:2598] NOTICE: Libwebsockets version: 2.2.0 [email protected]
[2017/11/27 11:25:54:2598] NOTICE: IPV6 not compiled in
[2017/11/27 11:25:54:2599] NOTICE: libev support not compiled in
[2017/11/27 11:25:54:2599] NOTICE: libuv support not compiled in
[2017/11/27 11:25:54:2602] NOTICE: Threads: 1 each 1048576 fds
[2017/11/27 11:25:54:2864] NOTICE: mem: platform fd map: 4194304 bytes
[2017/11/27 11:25:54:2866] NOTICE: Compiled with OpenSSL support
[2017/11/27 11:25:54:2867] NOTICE: Doing SSL library init
[2017/11/27 11:25:54:2940] NOTICE: Creating Vhost 'default' port 7681, 2 protocols, IPv6 off
[2017/11/27 11:25:54:2940] NOTICE: SSL ciphers: 'takentheseoutforsecurityhere]] NOTICE: Using SSL mode
[2017/11/27 11:25:54:2948] ERR: lws_context_init_server_ssl: SSL_CTX_load_verify_locations unhappy
[2017/11/27 11:25:54:2998] NOTICE: SSL ECDH curve 'prime256v1'
[2017/11/27 11:25:54:3013] NOTICE: Listening on port 7681
[2017/11/27 11:25:54:3013] NOTICE: mem: per-conn: 448 bytes + protocol rx buf
[2017/11/27 11:25:54:3014] NOTICE: canonical_hostname = a0d7b954-terminal
[2017/11/27 11:25:54:3014] NOTICE: listening on port 7681
[2017/11/27 11:26:16:7264] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:26:16:7264] ERR: *** error:1402609C:SSL routines:ACCEPT_SR_CLNT_HELLO:http request
[2017/11/27 11:26:16:7267] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:26:16:7267] ERR: *** error:140260FC:SSL routines:ACCEPT_SR_CLNT_HELLO:unknown protocol
[2017/11/27 11:26:46:7802] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:26:46:7802] ERR: *** error:1402609C:SSL routines:ACCEPT_SR_CLNT_HELLO:http request
[2017/11/27 11:26:46:7811] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:26:46:7812] ERR: *** error:140260FC:SSL routines:ACCEPT_SR_CLNT_HELLO:unknown protocol
[2017/11/27 11:27:16:9815] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:27:16:9817] ERR: *** error:1402609C:SSL routines:ACCEPT_SR_CLNT_HELLO:http request
[2017/11/27 11:27:16:9820] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:27:16:9822] ERR: *** error:140260FC:SSL routines:ACCEPT_SR_CLNT_HELLO:unknown protocol
after having changed the port to a random 9748 (container still using 7681/tcp?)
the logs show:
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 30-link-common-dirs.sh: executing...
[cont-init.d] 30-link-common-dirs.sh: exited 0.
[cont-init.d] 40-zsh.sh: executing...
[cont-init.d] 40-zsh.sh: exited 0.
[cont-init.d] 50-user-ssh-folder.sh: executing...
[cont-init.d] 50-user-ssh-folder.sh: exited 0.
[cont-init.d] 80-user-packages.sh: executing...
[cont-init.d] 80-user-packages.sh: exited 0.
[cont-init.d] 81-user-scripts.sh: executing...
[cont-init.d] 81-user-scripts.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
starting version 3.2.2
[services.d] done.
INFO: Starting the ttyd daemon
[2017/11/27 11:48:18:0063] NOTICE: ttyd 1.3.2 (libwebsockets 2.2.0)
[2017/11/27 11:48:18:0063] NOTICE: tty configuration:
[2017/11/27 11:48:18:0064] NOTICE: credential: SGFzc0Jvc3M6MG5seU1lIQ==
[2017/11/27 11:48:18:0064] NOTICE: start command: tmux new -A -s ttyd zsh
[2017/11/27 11:48:18:0066] NOTICE: reconnect timeout: 30s
[2017/11/27 11:48:18:0066] NOTICE: close signal: SIGHUP (1)
[2017/11/27 11:48:18:0066] NOTICE: Initial logging level 7
[2017/11/27 11:48:18:0067] NOTICE: Libwebsockets version: 2.2.0 [email protected]
[2017/11/27 11:48:18:0067] NOTICE: IPV6 not compiled in
[2017/11/27 11:48:18:0067] NOTICE: libev support not compiled in
[2017/11/27 11:48:18:0067] NOTICE: libuv support not compiled in
[2017/11/27 11:48:18:0069] NOTICE: Threads: 1 each 1048576 fds
[2017/11/27 11:48:18:0259] NOTICE: mem: platform fd map: 4194304 bytes
[2017/11/27 11:48:18:0261] NOTICE: Compiled with OpenSSL support
[2017/11/27 11:48:18:0262] NOTICE: Doing SSL library init
[2017/11/27 11:48:18:0344] NOTICE: Creating Vhost 'default' port 7681, 2 protocols, IPv6 off
[2017/11/27 11:48:18:0345] NOTICE: SSL ciphers: 'takentheseoutforsecurityhere]] NOTICE: Using SSL mode
[2017/11/27 11:48:18:0350] ERR: lws_context_init_server_ssl: SSL_CTX_load_verify_locations unhappy
[2017/11/27 11:48:18:0399] NOTICE: SSL ECDH curve 'prime256v1'
[2017/11/27 11:48:18:0413] NOTICE: Listening on port 7681
[2017/11/27 11:48:18:0414] NOTICE: mem: per-conn: 448 bytes + protocol rx buf
[2017/11/27 11:48:18:0414] NOTICE: canonical_hostname = a0d7b954-terminal
[2017/11/27 11:48:18:0414] NOTICE: listening on port 7681
[2017/11/27 11:48:33:3086] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:48:33:3090] ERR: *** error:1402609C:SSL routines:ACCEPT_SR_CLNT_HELLO:http request
[2017/11/27 11:48:33:3094] ERR: SSL_accept failed socket 7: SSL_ERROR_SSL
[2017/11/27 11:48:33:3096] ERR: *** error:140260FC:SSL routines:ACCEPT_SR_CLNT_HELLO:unknown protocol