<div dir="ltr"><div><div><div><div>AFAIK My setup is very basic. I'm using a gnome-boxes machine, and modifying the xml for libvirt machine to setup a spice graphics adapter with autoport enabled.<br><br></div>Then I run websockify and connect with spice-html5 client. Nothing strange.<br><br></div>If you want to look to implementation I do for setting up the client you can see it at <a href="https://github.com/fleet-commander/fc-admin/blob/master/admin/cockpit/fleet-commander-admin/js/fcspiceclient.js">https://github.com/fleet-commander/fc-admin/blob/master/admin/cockpit/fleet-commander-admin/js/fcspiceclient.js</a><br><br></div>There is a workaround I did to spice code to avoid client send alerts and start debugger in file: <a href="https://github.com/fleet-commander/fc-admin/blob/master/admin/cockpit/fleet-commander-admin/js/spice_debug_bypass.js">https://github.com/fleet-commander/fc-admin/blob/master/admin/cockpit/fleet-commander-admin/js/spice_debug_bypass.js</a><br><br></div>This are the only modifications I've done<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 28, 2016 at 2:00 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 28, 2016 at 12:59:05PM +0100, Oliver Gutierrez wrote:<br>
> The problem I was having was the spice-html5 client was throwing exceptions<br>
> for trying to access that property in cases where it is not a valid value.<br>
><br>
> I got to the error because I'm developing a plugin for cockpit that makes<br>
> use of spice-html5 for connecting to VMs, and when spice-html5 starts<br>
> displaying graphics, it throws this error repeatedly, causing cockpit to<br>
> show an awfull "Oops" message.<br>
><br>
> It just failed throwing exceptions to console. It stopped the playback when<br>
> failed, so with the change it stops anyway but without throwing errors.<br>
><br>
> I hope this answer your questions. My knowledge about spice-html5 or spice<br>
> is limited, so I don't know if this info is enough for you.<br>
<br>
</span>Any idea what is different in your setup compared to 'traditional'<br>
setups? I expect this bug is not always happening or it would have been<br>
noticed earlier?<br>
<span class="HOEnZb"><font color="#888888"><br>
Christophe<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span>Oliver Gutierrez<br>Associate Software Engineer - Desktop Management tools<br>Red Hat</span></div></div>
</div>