Hi,
When I try to use Webmin > Tools > Terminal I get a black terminal window with no prompt.
My browser console log shows these errors:
Mixed Content: The page at ‘https://webmin.XXX.XX/xterm/?xnavigation=1’ was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint ‘ws://webmin.XXX.XX/xterm/ws-555’. This request has been blocked; this endpoint must be available over WSS.
bundle.min.js?219500009999999999:178
Uncaught DOMException: Failed to construct ‘WebSocket’: An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
at https://webmin.XXX.XX/unauthenticated/js/bundle.min.js?219500009999999999:178:81702
In /tmp/.webmin/ I see a file ws-555.out with content:
Running shell '/bin/bash -bash' with pid 451130
listening on port 555
timeout waiting for connection at /usr/share/webmin/xterm/shellserver.pl line 103.
And in /var/webmin/miniserv.error I find:
[127.0.0.1] /xterm/ : Perl execution failed : Undefined subroutine &xterm::allocate_miniserv_websocket called at /usr/share/webmin/xterm/index.cgi line 169.
As far as I can guess, I either need to move webmin to http or get webmin to access the shell server on a wss secure socket. The first option does not seem like a good idea, the second I do not know how to do…
Please advise
SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 22.04.3 |
Webmin version | 2.105 |