VNC consoles are returning "Something went wrong, connection is closed" while doing a minor update
Issue
-
VNC consoles are returning "Something went wrong, connection is closed" while doing a minor update:
-
/var/log/containers/nova/nova-novncproxy.log
show an error similar to this one:
2020-03-30 15:02:21.669 31 INFO nova.console.websocketproxy [req-4f2dc286-6f15-4cbb-80fb-ea3dcfb694a0 - - - - -] handler exception: The token '' is invalid or has expired
2020-03-30 15:02:21.670 31 DEBUG nova.console.websocketproxy [req-4f2dc286-6f15-4cbb-80fb-ea3dcfb694a0 - - - - -] exception vmsg /usr/lib/python2.7/site-packages/websockify/websocket.py:875
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy Traceback (most recent call last):
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 930, in top_new_client
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy client = self.do_handshake(startsock, address)
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 860, in do_handshake
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy self.RequestHandlerClass(retsock, address, self)
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/nova/console/websocketproxy.py", line 242, in __init__
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy websockify.ProxyRequestHandler.__init__(self, *args, **kwargs)
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 114, in __init__
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy SimpleHTTPRequestHandler.__init__(self, req, addr, server)
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy self.handle()
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 581, in handle
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy SimpleHTTPRequestHandler.handle(self)
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy self.handle_one_request()
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib64/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy method()
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 543, in do_GET
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy if not self.handle_websocket():
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 531, in handle_websocket
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy self.new_websocket_client()
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy File "/usr/lib/python2.7/site-packages/nova/console/websocketproxy.py", line 158, in new_websocket_client
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy raise exception.InvalidToken(token=token)
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy InvalidToken: The token '' is invalid or has expired
2020-03-30 15:02:21.670 31 ERROR nova.console.websocketproxy
Environment
- Red Hat OpenStack Platform 13.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.