[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] noVNC and consoles from XAPI



Narcis,

It works in Xen Orchestra since version 3.2 (see https://xen-orchestra.com/xen-orchestra-3-2/)

We fixed the problem and our patch was merged in NoVNC project (see https://github.com/kanaka/noVNC/pull/338)


On Wed, May 28, 2014 at 6:17 PM, NarcÃs Escarpanter <nescarpanter@xxxxxxxxxxxxx> wrote:

Hi Olivier,

Â

We have the same problem here. Did you get "noVNC" working? He also tried Harrie's change but with no luck.

He noted that the same code works correctly over XCP 1.6 but is not working over XS6.2 hosts.

Thanks in advance.

Â

Â

Â

Â

NarcÃs Escarpanter

Technical Area â SWHosting

Â

http://www.swhosting.com

http://blog.swhosting.com

Tel. 902 010 664 - Tel. Int. +34 972 010 550

Fax 902 510 664 - Fax Int. +34 972 010 555

Â

DescripciÃn: DescripciÃn: green Please, consider the environment before printing this email.

LEGAL NOTICE

SWÂHosting &ÂCommunicationsÂTechnologies,ÂSL informs you thatÂthisÂmessage is intendedÂexclusivelyÂfor its addresseeÂandÂcontainsÂconfidential and /Âor sensitive informationÂsubject to professional secrecy and protectedÂby the current legislation.ÂIf youÂare not theÂintended recipient, weÂnotify you thatÂtheÂreading,Âuse, disclosure, reproduction, distribution, printing and /Âor copy of thisÂcommunication, information and /ÂorÂany attachmentsÂto itÂare strictlyÂprohibitedÂby law.ÂIf youÂhave received this message by mistake, pleaseÂnotify it to us immediatelyÂreplying to theÂsender of theÂmessageÂand thenÂdelete itÂwithÂall the attachmentsÂifÂany.

Â

Â

-----Mensaje original-----
De: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] En nombre de Olivier Lambert
Enviado el: sÃbado, 27 de julio de 2013 14:55
Para: Harrie Pieters (Intern)
CC: xen-api@xxxxxxxxxxxxxxxxxxx
Asunto: Re: [Xen-API] noVNC and consoles from XAPI

Â

Thanks Harrie,

Â

I made the change, but I'm stuck on this error now:

"failed: WebSocket is closed before the connection is established. "

Â

The strange thing is I've got exactly the same error with your xenapi-jquery app on my JS console (on the web page, I've got "Connect

timeout")

Â

I double/triple-checked if my credentials were right, I'm running on the same network without any firewall etc. And it works with XenCenter...

Â

On Fri, Jul 26, 2013 at 6:39 PM, Harrie Pieters (Intern) <harrie.pieters@xxxxxxxxxx> wrote:

> On 26-07-13 15:50, "Olivier Lambert" <lambert.olivier@xxxxxxxxx> wrote:

>Â

>>Hi guys,

>>Â

>>Xen-Orchestra team reporting ;)

>>Â

>>Â

>>We are experiencing some difficulties to get VNC consoles from XAPI

>>witn noVNC. We try to get some inspiration from XAC project and other

>>resources on the web [1], but without any success. The documentation

>>is quite unclear about the HTTP Connect [2], because despite the steps

>>we followed, we've got "strange" errors.

>>Â

>>Our code is fairly simple by the way [3], but we've got "Error during

>>WebSocket handshake: Sec-WebSocket-Protocol mismatch". I think we miss

>>something with the HTTP connect step, but XAC is pretty similar to our

>>code, and it seems to connect directly VNC console like us.

>>Â

>>Important thing to note: we aren't executing XO on the XAPI host. And

>>we are testing this XenServer's hosts (6.2)

>>Â

>>If you have any clue, It can really help us to speed up release date

>>for XO :)

>>Â

>>Â

>>Thanks,

>>Â

>>Â

>>Olivier.

>Â

>Â

> Hey,

>Â

> So I think I ran into the same problem when trying to get noVNC

> upstream to work with my library

> (https://github.com/HPieters/xenapi-jquery/tree/master/examples/vnc).

> I ended up changing the protocol to "chat" instead of binary or base64

> in the websock.js of noVNC

> (https://github.com/HPieters/xenapi-jquery/blob/master/examples/vnc/in

> clude

> /websock.js#L298) and that fixed it for me.

>Â

> Cheers,

> Harrie

>Â

Â

_______________________________________________

Xen-api mailing list

Xen-api@xxxxxxxxxxxxx

http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.