ovirt-websoclket-proxy: handler exception: Incorrect padding

Hi all, I'm using VNC/noVNC for accessing the servers console in case of emergency. The console works fine, but I have got repeadly warning on the screen, that the wss://<host>:6100 could bot be connected with 3 recommendations - process is running /the console works/ - I'm able to connect the 6100 port by teknet form my pc - the certificate is imported In the /var/log/messages on HE I have found repeating message when the dialog appears. Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py: ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding Nothing more is logged. The popus is quite annoing, since it appears every few seconds. my side: Mac OS X 10.13.2 FireFox 57.0.4 tested also on Ubuntu and Firefox 57.0.4 and works good,no exception. Any help or advise to figure what's wrong? regards Peter -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>

forgot to add information aboout ovirt Version 4.2.0.2-1.el7.centos ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch On 23/01/2018 12:54, Peter Hudec wrote:
Hi all,
I'm using VNC/noVNC for accessing the servers console in case of emergency. The console works fine, but I have got repeadly warning on the screen, that the wss://<host>:6100 could bot be connected with 3 recommendations
- process is running /the console works/ - I'm able to connect the 6100 port by teknet form my pc - the certificate is imported
In the /var/log/messages on HE I have found repeating message when the dialog appears.
Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py: ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding
Nothing more is logged. The popus is quite annoing, since it appears every few seconds.
my side: Mac OS X 10.13.2 FireFox 57.0.4
tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
Any help or advise to figure what's wrong? regards Peter
-- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>

stack trace Jan 23 14:01:22 dipovirt-engine02 journal: 2018-01-23 14:01:22,636+0100 ovirt-websocket-proxy: INFO msg:871 handler exception t: [' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 930, in top_new_client\n client = self.do_handshake(startsock, address)\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 860, in do_handshake\n self.RequestHandlerClass(retsock, address, self)\n', ' File "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 50, in __init__\n *args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 114, in __init__\n SimpleHTTPRequestHandler.__init__(self, req, addr, server)\n', ' File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__\n self.handle()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 581, in handle\n SimpleHTTPRequestHandler.handle(self)\n', ' File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle\n self.handle_one_request()\n', ' File "/usr/lib64/python2.7/BaseHTTPServer.py", line 328, in handle_one_request\n method()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 543, in do_GET\n if not self.handle_websocket():\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 485, in handle_websocket\n self.validate_connection()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocketproxy.py", line 52, in validate_connection\n (self.server.target_host, self.server.target_port) = self.get_target(self.server.token_plugin, self.path)\n', ' File "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 60, in get_target\n self._proxy._ticketDecoder.decode(path[1:])))\n', ' File "/usr/lib/python2.7/site-packages/ovirt_engine/ticket.py", line 77, in decode\n decoded = json.loads(base64.b64decode(ticket))\n', ' File "/usr/lib64/python2.7/base64.py", line 76, in b64decode\n raise TypeError(msg)\n'] On 23/01/2018 12:56, Peter Hudec wrote:
forgot to add information aboout ovirt
Version 4.2.0.2-1.el7.centos
ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch
On 23/01/2018 12:54, Peter Hudec wrote:
Hi all,
I'm using VNC/noVNC for accessing the servers console in case of emergency. The console works fine, but I have got repeadly warning on the screen, that the wss://<host>:6100 could bot be connected with 3 recommendations
- process is running /the console works/ - I'm able to connect the 6100 port by teknet form my pc - the certificate is imported
In the /var/log/messages on HE I have found repeating message when the dialog appears.
Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py: ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding
Nothing more is logged. The popus is quite annoing, since it appears every few seconds.
my side: Mac OS X 10.13.2 FireFox 57.0.4
tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
Any help or advise to figure what's wrong? regards Peter
-- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>

in "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 60, in get_target\n self._proxy._ticketDecoder.decode(path[1:])))\n', the content of the path[1:] is 'undefined' Peter On 23/01/2018 14:35, Peter Hudec wrote:
stack trace
Jan 23 14:01:22 dipovirt-engine02 journal: 2018-01-23 14:01:22,636+0100 ovirt-websocket-proxy: INFO msg:871 handler exception t:
[' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 930, in top_new_client\n client = self.do_handshake(startsock, address)\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 860, in do_handshake\n self.RequestHandlerClass(retsock, address, self)\n', ' File "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 50, in __init__\n *args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 114, in __init__\n SimpleHTTPRequestHandler.__init__(self, req, addr, server)\n', ' File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__\n self.handle()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 581, in handle\n SimpleHTTPRequestHandler.handle(self)\n', ' File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle\n self.handle_one_request()\n', ' File "/usr/lib64/python2.7/BaseHTTPServer.py", line 328, in handle_one_request\n method()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 543, in do_GET\n if not self.handle_websocket():\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 485, in handle_websocket\n self.validate_connection()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocketproxy.py", line 52, in validate_connection\n (self.server.target_host, self.server.target_port) = self.get_target(self.server.token_plugin, self.path)\n', ' File "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 60, in get_target\n self._proxy._ticketDecoder.decode(path[1:])))\n', ' File "/usr/lib/python2.7/site-packages/ovirt_engine/ticket.py", line 77, in decode\n decoded = json.loads(base64.b64decode(ticket))\n', ' File "/usr/lib64/python2.7/base64.py", line 76, in b64decode\n raise TypeError(msg)\n']
On 23/01/2018 12:56, Peter Hudec wrote:
forgot to add information aboout ovirt
Version 4.2.0.2-1.el7.centos
ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch
On 23/01/2018 12:54, Peter Hudec wrote:
Hi all,
I'm using VNC/noVNC for accessing the servers console in case of emergency. The console works fine, but I have got repeadly warning on the screen, that the wss://<host>:6100 could bot be connected with 3 recommendations
- process is running /the console works/ - I'm able to connect the 6100 port by teknet form my pc - the certificate is imported
In the /var/log/messages on HE I have found repeating message when the dialog appears.
Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py: ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding
Nothing more is logged. The popus is quite annoing, since it appears every few seconds.
my side: Mac OS X 10.13.2 FireFox 57.0.4
tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
Any help or advise to figure what's wrong? regards Peter
-- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>

last mail today browser is repeatedly generating the WSS request wss://dipovirt-engine02.cnc.sk:6100/undefined error:NS_ERROR_NET_ON_WAITING_FOR Host: dipovirt-engine02.cnc.sk:6100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Sec-WebSocket-Version: 13 Origin: https://dipovirt-engine02.cnc.sk Sec-WebSocket-Protocol: binary Sec-WebSocket-Extensions: permessage-deflate Sec-WebSocket-Key: 7qajQa3GfcAYifwiZASD8Q== Cookie: _ga=GA1.2.409688984.1460846635; locale=en_US Connection: keep-alive In Ubuntu FF do not repeat it, there are only 2 WSS connection with correct ticket. regards Peter On 23/01/2018 15:04, Peter Hudec wrote:
in
"/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 60, in get_target\n self._proxy._ticketDecoder.decode(path[1:])))\n',
the content of the path[1:] is 'undefined'
Peter
On 23/01/2018 14:35, Peter Hudec wrote:
stack trace
Jan 23 14:01:22 dipovirt-engine02 journal: 2018-01-23 14:01:22,636+0100 ovirt-websocket-proxy: INFO msg:871 handler exception t:
[' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 930, in top_new_client\n client = self.do_handshake(startsock, address)\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 860, in do_handshake\n self.RequestHandlerClass(retsock, address, self)\n', ' File "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 50, in __init__\n *args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 114, in __init__\n SimpleHTTPRequestHandler.__init__(self, req, addr, server)\n', ' File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__\n self.handle()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 581, in handle\n SimpleHTTPRequestHandler.handle(self)\n', ' File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle\n self.handle_one_request()\n', ' File "/usr/lib64/python2.7/BaseHTTPServer.py", line 328, in handle_one_request\n method()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 543, in do_GET\n if not self.handle_websocket():\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 485, in handle_websocket\n self.validate_connection()\n', ' File "/usr/lib/python2.7/site-packages/websockify/websocketproxy.py", line 52, in validate_connection\n (self.server.target_host, self.server.target_port) = self.get_target(self.server.token_plugin, self.path)\n', ' File "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py", line 60, in get_target\n self._proxy._ticketDecoder.decode(path[1:])))\n', ' File "/usr/lib/python2.7/site-packages/ovirt_engine/ticket.py", line 77, in decode\n decoded = json.loads(base64.b64decode(ticket))\n', ' File "/usr/lib64/python2.7/base64.py", line 76, in b64decode\n raise TypeError(msg)\n']
On 23/01/2018 12:56, Peter Hudec wrote:
forgot to add information aboout ovirt
Version 4.2.0.2-1.el7.centos
ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch
On 23/01/2018 12:54, Peter Hudec wrote:
Hi all,
I'm using VNC/noVNC for accessing the servers console in case of emergency. The console works fine, but I have got repeadly warning on the screen, that the wss://<host>:6100 could bot be connected with 3 recommendations
- process is running /the console works/ - I'm able to connect the 6100 port by teknet form my pc - the certificate is imported
In the /var/log/messages on HE I have found repeating message when the dialog appears.
Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py: ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding
Nothing more is logged. The popus is quite annoing, since it appears every few seconds.
my side: Mac OS X 10.13.2 FireFox 57.0.4
tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
Any help or advise to figure what's wrong? regards Peter
-- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>
participants (1)
-
Peter Hudec