[ovirt-devel] Upgraded to 4.0.6 and now WebSocket Proxy is not working

Lynn Dixon ldixon at redhat.com
Sat Jan 14 01:05:52 UTC 2017


I turned on trace logging, and restarted the webproxy service.  Then
initiated a connection and tailed the log.  In about 10 seconds, it
generated about 20 MB of data, but I could not discern anything worth while
to point out any issues. The start of the log included this:

var VNC_frame_encoding = 'binary';
> var VNC_frame_data = [
>
> '}15}REDQ\x02\x00\x00\x00\x02\x00\x00\x00\x1a\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x01\x00\x00\x00\x12\x00\x00\x00\t\x00\x00\x00\x04\x00\x00\x00',
> '{83{REDQ\x02\x00\x00\x00\x02\x00\x00\x00\xba\x00\x00\x00',
>
> '{84{\x00\x00\x00\x000\x81\x9f0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x03\x81\x8d\x000\x81\x89\x02\x81\x81\x00\xb1\xc8\xe9\xd5\xe4\xdcV,\x9aE\t-8g\x9ak(\xf8\x88\x04D\xc6\x93\xa7\x00w\xc5)\xfa\x90\xaa\x81\x873\xe9\x05\xde\xd3\xd0UU\xf3\x1d\xfatQ\x9c>\xb4\x06E\x88\xbd\xd5N\x85m\xfeG\xaaLS\xe7\xa6\xd1\x1b,=\xe4\xb9\xfd\xe2\x14<A\x84\x95\xce\xe6\x85Q\xf6)O\xc4\xbaO#w8-Y\xdac}\x8fre\xcb\x8c\x92\xc6l\xbdy\xe1\xcc\r\xc9\xdd\x1b\x06\x99\xf2q\n\xa4\x1b?\x81OT\xdek\xf3\xf4g\x0b\x02\x03\x01\x00\x01\x01\x00\x00\x00\x01\x00\x00\x00\xb2\x00\x00\x00',
> '{84{\x0b\x00\x00\x00',
> '{84{\t\x00\x00\x00',
> '}113}\x01\x00\x00\x00Ov\x0b\xacK\xca\x0c#\xf1\x8b\x9ct"\x87\xe9\x93\xfc\x03j\xe3\xddM\xd1\x8e\x9a\xc6f\x85\xe6%R\xbe\x89\xb8\x9c\x81C\xbf\x8a\xce\x8d\xa0\x1fwd\x033\x1d\xf8\xbe\xf9~\xd0\xd0Z\xcf\x83`\x1e8\x87\x04Q\x93]trm\x18\xb7\n\x9c6H[\xa2\xab\xad\xe4\xe5\x17\x12l_\xe7\xd3\x04\xdba\xee\xed\xd5iQ\x82\x8f\xbc\xde\xc7\x1b9p\xdfg\xbd\xa1\x83\x16N\xf1
> \x81\xba\x1b\x14\xd3*\x103\xc7\x1b\x1bJ\xf3\xa1Mn"',
> '{115{\x00\x00\x00\x00',


But shortly after that it was just  \x00\x00\x00\x00\x00\x00\x  repeating
over and over for the full 28 MB of data I captured.



*Lynn Dixon* | Red Hat Certified Architect #100-006-188
*Sr. Cloud Consultant* | Cloud Management Practice
Google Voice: 423-618-1414
Cell/Text: 423-774-3188
Click here to view my Certification Portfolio <http://red.ht/1XMX2Mi>



On Thu, Jan 12, 2017 at 2:29 AM, Tomas Jelinek <tjelinek at redhat.com> wrote:

>
>
> On Thu, Jan 12, 2017 at 1:27 AM, Lynn Dixon <ldixon at redhat.com> wrote:
>
>> All,
>> I was recently running version 4.0.4 (I believe that was the old
>> version), and had no issues with the HTML5 Spice console working via
>> WebSocket Proxy.
>>
>> Now, however, after the upgrade, and subsequent reboot of the host, I
>> cannot get any video to display on the html5 spice console session.
>>
>> I am getting the green lock icon on the browser bar on the console
>> session, and even the messages output shows the following:
>>
>> Connected to wss://MYURL.us:6100/eyJzYblahblahblah
>>
>> So I don't think its a certificate issue?
>>
>> I have even stopped firewalld to make sure its not some weird firewall
>> issue, but that didn't resolve it.
>>
>> What can I check to fix this?
>>
>
> hmm, maybe try to enable trace logs for websocket-proxy:
>
> something like:
>
> TRACE_ENABLE=True
> TRACE_FILE=/tmp/websocketproxy_trace.log
>
> in /etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf
>
> and check if there is something suspicious.
>
>> Here is the version I am using currently: oVirt Engine Version:
>> 4.0.6.3-1.el7.centos
>>
>>
>> *Lynn Dixon* | Red Hat Certified Architect #100-006-188
>> *Sr. Cloud Consultant* | Cloud Management Practice
>> Google Voice: 423-618-1414 <(423)%20618-1414>
>> Cell/Text: 423-774-3188 <(423)%20774-3188>
>> Click here to view my Certification Portfolio <http://red.ht/1XMX2Mi>
>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170113/5e8eb987/attachment.html>


More information about the Devel mailing list