Hi guys,<br><br>I just gave the html5 client a go, but I'm unable to connect to a RHEV 3 server with SSL. I've started websockify with the ca crt and gave the client and websockify the secure port.<br><br>After turning debugging on I'm getting the following:<br>

<br><div class="console-message console-log-level" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:0px;margin-left:24px;min-height:16px;display:block;color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">

<span class="console-message-text source-code" style="white-space:pre-wrap;font-family:'dejavu sans mono',monospace;font-size:11px!important"><span style>>> WebSockets.onopen</span></span></div><div class="console-message console-log-level" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:0px;margin-left:24px;min-height:16px;display:block;color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">

<span class="console-message-text source-code" style="white-space:pre-wrap;font-family:'dejavu sans mono',monospace;font-size:11px!important"><a href="http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js" class="console-message-url webkit-html-resource-link" title="http://localhost/~atiti/spice/spice-html5/spiceconn.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">spiceconn.js:67</a><span style>id 0; type 1</span></span></div>

<div class="console-message console-log-level" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:0px;margin-left:24px;min-height:16px;display:block;color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">

<span class="console-message-text source-code" style="white-space:pre-wrap;font-family:'dejavu sans mono',monospace;font-size:11px!important"><a href="http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js" class="console-message-url webkit-html-resource-link" title="http://localhost/~atiti/spice/spice-html5/spiceconn.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">spiceconn.js:232</a><span style>1: Connected</span></span></div>

<div class="console-message console-log-level" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:0px;margin-left:24px;min-height:16px;display:block;color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">

<span class="console-message-text source-code" style="white-space:pre-wrap;font-family:'dejavu sans mono',monospace;font-size:11px!important"><a href="http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js" class="console-message-url webkit-html-resource-link" title="http://localhost/~atiti/spice/spice-html5/spiceconn.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">spiceconn.js:317</a><span style><< hdr main type 1 size undefined</span></span></div>

<div class="console-message console-log-level" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:0px;margin-left:24px;min-height:16px;display:block;color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">

<span class="console-message-text source-code" style="white-space:pre-wrap;font-family:'dejavu sans mono',monospace;font-size:11px!important"><a href="http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js" class="console-message-url webkit-html-resource-link" title="http://localhost/~atiti/spice/spice-html5/spiceconn.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">spiceconn.js:379</a><span style>WARNING: 1: Unknown message type 1!</span></span></div>

<br>Am I missing something? :)<br><br>Thanks!<br><br>Attila<br><br>-----------------------------------------<div>DTU Computing Center - <a href="http://www.cc.dtu.dk" target="_blank">www.cc.dtu.dk</a></div><div><a href="mailto:attila@cc.dtu.dk" target="_blank">attila@cc.dtu.dk</a>, <a href="mailto:gbaras@student.dtu.dk" target="_blank">gbaras@student.dtu.dk</a>, <a href="mailto:s070600@student.dtu.dk" target="_blank">s070600@student.dtu.dk</a></div>

<div><br></div><br>
<br><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 4:43 PM, Yaniv Kaul <span dir="ltr"><<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">----- Original Message -----<br>
> >> *blush*  Yes, sorry, the keyboard code is truly awful.  It's a<br>
> >> matter of<br>
> >> translating web key codes into scan codes; I didn't find a good<br>
> >> way to<br>
> >> do it, and just used a brute force hack. If you're at all a<br>
> >> programmer,<br>
> >> it would be easy to extend the hack and fix the key codes for<br>
> >> yourself;<br>
> >> that code is in utils.js.<br>
> ><br>
> > No escape to get the scancode from the browser? have to wait for<br>
> > html6?<br>
><br>
> None that I found (which is not necessarily !== none <grin>).  All I<br>
> could find were faqs that said key codes in general are a mess and<br>
> not<br>
> standardized (they apparently vary by browser), and certainly nothing<br>
> to<br>
> go from key codes to scan codes.<br>
<br>
</div>I agree - and this is why I did not implement the translation in the Wireshark dissector for the protocol.<br>
If you do find something sane, I'll try and adopt it too.<br>
<div class="HOEnZb"><div class="h5">Y.<br>
<br>
><br>
> My thought was to later explore some of the third party libraries<br>
> that<br>
> try to mitigate these issues, and see if riffing off one of those<br>
> leads<br>
> to a slightly less ugly solution.<br>
><br>
> There are also some tricky issues around keyboard handling I didn't<br>
> even<br>
> begin to think about (e.g. tab, escape, alt-tab, and so on).<br>
><br>
> Cheers,<br>
><br>
> Jeremy<br>
> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
><br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</div></div></blockquote></div><br>