Re: [openstack-dev] problems with instance consoles and novnc

2015-02-02 Thread Chris Friesen

On 02/02/2015 01:27 PM, Mathieu Gagné wrote:

On 2015-02-02 11:36 AM, Chris Friesen wrote:

On 01/30/2015 06:26 AM, Jesse Pretorius wrote:


Have you tried manually updating the NoVNC and websockify files to later
versions from source?


We were already using a fairly recent version of websockify, but it
turns out that we needed to upversion the novnc package.



Which version are you using?


Pretty sure we're on 0.5.1 now.

Chris


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] problems with instance consoles and novnc

2015-02-02 Thread Chris Friesen

On 01/30/2015 06:26 AM, Jesse Pretorius wrote:

On 29 January 2015 at 04:57, Chris Friesen chris.frie...@windriver.com
mailto:chris.frie...@windriver.com wrote:

On 01/28/2015 10:33 PM, Mathieu Gagné wrote:

On 2015-01-28 11:13 PM, Chris Friesen wrote:

Anyone have any suggestions on where to start digging?

We have a similar issue which has yet to be properly diagnosed on our 
side.

One workaround which looks to be working for us is enabling the private
mode
in the browser. If it doesn't work, try deleting your cookies.

Can you see if those workarounds work for you?


Neither of those seems to work for me.  I still get a multi-second delay and
then the red bar with Connect timeout.

I suspect it's something related to websockify, but I can't figure out what.


In some versions of websockify and the relates noVNC versions that use it I've
seen the same behaviour. This is due to the way websockify tries to detect the
protocol to use. It ends up doing a localhost connection and the browser rejects
it as an unsafe operation.

It was fixed in later versions of websockify.

Have you tried manually updating the NoVNC and websockify files to later
versions from source?


We were already using a fairly recent version of websockify, but it turns out 
that we needed to upversion the novnc package.


Chris

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] problems with instance consoles and novnc

2015-02-02 Thread Mathieu Gagné

On 2015-02-02 11:36 AM, Chris Friesen wrote:

On 01/30/2015 06:26 AM, Jesse Pretorius wrote:


Have you tried manually updating the NoVNC and websockify files to later
versions from source?


We were already using a fairly recent version of websockify, but it
turns out that we needed to upversion the novnc package.



Which version are you using?

--
Mathieu

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] problems with instance consoles and novnc

2015-01-30 Thread Jesse Pretorius
On 29 January 2015 at 04:57, Chris Friesen chris.frie...@windriver.com
wrote:

 On 01/28/2015 10:33 PM, Mathieu Gagné wrote:

 On 2015-01-28 11:13 PM, Chris Friesen wrote:

 Anyone have any suggestions on where to start digging?

 We have a similar issue which has yet to be properly diagnosed on our
 side.

 One workaround which looks to be working for us is enabling the private
 mode
 in the browser. If it doesn't work, try deleting your cookies.

 Can you see if those workarounds work for you?


 Neither of those seems to work for me.  I still get a multi-second delay
 and then the red bar with Connect timeout.

 I suspect it's something related to websockify, but I can't figure out
 what.


In some versions of websockify and the relates noVNC versions that use it
I've seen the same behaviour. This is due to the way websockify tries to
detect the protocol to use. It ends up doing a localhost connection and the
browser rejects it as an unsafe operation.

It was fixed in later versions of websockify.

Have you tried manually updating the NoVNC and websockify files to later
versions from source?
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] problems with instance consoles and novnc

2015-01-29 Thread David Moreau Simard
Is SSL involved anywhere from the client browser to the server ?
Is there any load balancing ? Which load balancer software ?

--
David Moreau Simard


On 2015-01-28, 11:57 PM, Chris Friesen chris.frie...@windriver.com
wrote:

On 01/28/2015 10:33 PM, Mathieu Gagné wrote:
 On 2015-01-28 11:13 PM, Chris Friesen wrote:

 Anyone have any suggestions on where to start digging?


 We have a similar issue which has yet to be properly diagnosed on our
side.

 One workaround which looks to be working for us is enabling the
private mode
 in the browser. If it doesn't work, try deleting your cookies.

 Can you see if those workarounds work for you?

Neither of those seems to work for me.  I still get a multi-second delay
and 
then the red bar with Connect timeout.

I suspect it's something related to websockify, but I can't figure out
what.

Chris

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] problems with instance consoles and novnc

2015-01-28 Thread Chris Friesen


Hi all,

I'm playing around with nova (current trunk) and I've hit an odd issue.

I can get the novnc console for instances to show up on iceweasel 31.3.0, but it 
doesn't work in konqueror, internet explorer, or firefox 31.0.  Anyone got any 
ideas where to start digging?


In the problematic cases it takes a few seconds and then I see noVNC ready: 
native Websockets, canvas rendering for a couple seconds, and then it flips to 
the red bar with Connect timeout in the middle.


With Iceweasel it's basically instantaneous and I get a console almost 
immediately.

Anyone have any suggestions on where to start digging?

Thanks,
Chris

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] problems with instance consoles and novnc

2015-01-28 Thread Mathieu Gagné

On 2015-01-28 11:13 PM, Chris Friesen wrote:


Anyone have any suggestions on where to start digging?



We have a similar issue which has yet to be properly diagnosed on our side.

One workaround which looks to be working for us is enabling the private 
mode in the browser. If it doesn't work, try deleting your cookies.


Can you see if those workarounds work for you?

--
Mathieu

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] problems with instance consoles and novnc

2015-01-28 Thread Chris Friesen

On 01/28/2015 10:33 PM, Mathieu Gagné wrote:

On 2015-01-28 11:13 PM, Chris Friesen wrote:


Anyone have any suggestions on where to start digging?



We have a similar issue which has yet to be properly diagnosed on our side.

One workaround which looks to be working for us is enabling the private mode
in the browser. If it doesn't work, try deleting your cookies.

Can you see if those workarounds work for you?


Neither of those seems to work for me.  I still get a multi-second delay and 
then the red bar with Connect timeout.


I suspect it's something related to websockify, but I can't figure out what.

Chris

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev