[SOLVED] Web ui doesn't open

wen i try to open the web UI, nothing comes. in the chrome console comes this message: resource: net::ERR_CONNECTION_REFUSED

this is from the mineos log:
[18/Aug/2017:06:41:08] ENGINE Bus STARTING
[18/Aug/2017:06:41:08] ENGINE Forking once.
[18/Aug/2017:06:41:08] ENGINE Forking twice.
[18/Aug/2017:06:41:08] ENGINE Daemonized to PID: 26487
[18/Aug/2017:06:41:08] ENGINE PID 26487 written to ‘/var/run/mineos.pid’.
[18/Aug/2017:06:41:08] ENGINE Started monitor thread ‘Monitor’.
[18/Aug/2017:06:41:08] ENGINE Started monitor thread ‘_TimeoutMonitor’.
[18/Aug/2017:06:41:08] ENGINE Started monitor thread ‘Autoreloader’.
[18/Aug/2017:06:41:08] ENGINE Serving on 0.0.0.0:8888
[18/Aug/2017:06:41:08] ENGINE Bus STARTED
[18/Aug/2017:06:41:37] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/cherrypy/wsgiserver/wsgiserver2.py”, line 1837, in start
self.tick()
File “/usr/local/lib/python2.7/dist-packages/cherrypy/wsgiserver/wsgiserver2.py”, line 1902, in tick
s, ssl_env = self.ssl_adapter.wrap(s)
File “/usr/local/lib/python2.7/dist-packages/cherrypy/wsgiserver/ssl_builtin.py”, line 52, in wrap
keyfile=self.private_key, ssl_version=ssl.PROTOCOL_SSLv23)
File “/usr/lib/python2.7/ssl.py”, line 891, in wrap_socket
ciphers=ciphers)
File “/usr/lib/python2.7/ssl.py”, line 566, in init
self.do_handshake()
File “/usr/lib/python2.7/ssl.py”, line 788, in do_handshake
self._sslobj.do_handshake()
SSLError: (’_ssl.c:565: The handshake operation timed out’,)

[18/Aug/2017:06:41:37] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/cherrypy/wsgiserver/wsgiserver2.py”, line 1837, in start
self.tick()
File “/usr/local/lib/python2.7/dist-packages/cherrypy/wsgiserver/wsgiserver2.py”, line 1902, in tick
s, ssl_env = self.ssl_adapter.wrap(s)
File “/usr/local/lib/python2.7/dist-packages/cherrypy/wsgiserver/ssl_builtin.py”, line 52, in wrap
keyfile=self.private_key, ssl_version=ssl.PROTOCOL_SSLv23)
File “/usr/lib/python2.7/ssl.py”, line 891, in wrap_socket
ciphers=ciphers)
File “/usr/lib/python2.7/ssl.py”, line 566, in init
self.do_handshake()
File “/usr/lib/python2.7/ssl.py”, line 788, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:581)

For starters, it appears you’re using the Python-based webui. This is not recommended; instead use the NodeJS-based webui. The Python one is available for posterity but hasn’t been updated in like 3 years. Conversely, the NodeJS one gets updated weekly.

when i try to install the nodejs ui, i get many errors at npm install.

Well, we could try to address the issues you’re getting on the new, actively-maintained webui, or we could try to address the issues on the old, obsolete webui.

yes, it is better, to adress the issuses at the new webui. i send you the errors tomorrow.

i fixed the node errors my self. the mineos service is running, and it runs my minecraft servers, but i cant open the webui.

We don’t have any information to work on, regarding your webui.

No nodejs-based webui log files, no error messages, and an unclear idea of how you’re running your Minecraft servers without the webui.

the minecraft servers are from a python base mineos, that i deletet.

There still is very little information for us to help you here. Some questions:

You mean you upgraded from python to node?

How do you connect (what address do you use) to your webui? you have to use the addressform:
https://[serveraddress]:8443
Make sure both HTTPS and :8443 is present and correct.

Do you have any logs (/var/logs/mineos.log) for us to help see what is going on?

1 Like

oh thanks. i had http and not https in the adress