Re: AJAX video stream for VM console is broken in Chrome

2016-09-01 Thread Sergey Levitskiy
FYI. Issue is fixed in recently release Chrome v 53. After the update no more 
WSOD ‘white square of death’


On 8/19/16, 1:51 AM, "Rohit Yadav"  wrote:


Hi Sergey,


Since the same URL open perfectly fine in a tab, there must be something in 
your installation of Chrome blocking elements in the pop-up. Can you try to 
upgrade to latest Chrome, and then enable pop-ups in Chrome (follow something 
like: http://www.wikihow.com/Allow-Pop-ups-on-Google-Chrome).


You also are using ssl enabled console proxy, but the certificate is valid 
as per Chrome so it should not block any of the iframe elements but in one of 
the screenshots the URL call to the https based console proxy URL did not load 
or was blocked in the popup (which is where you don't see the certificate in 
the security tab). Based on the screenshots, it looks like Chrome hit one 
error. Can you share what error was reported on the console. With the console 
popup opened, open chrome developer tools and click on 'Console' tab and share 
what error you got there.


Regards.




From: Sergey Levitskiy 
Sent: 19 August 2016 10:21:10
To: dev@cloudstack.apache.org
Subject: Re: AJAX video stream for VM console is broken in Chrome

Hi Rohit,
As it turned out ACS 4.9 is fine and issue is only in ACP/CCP 4.7 which I 
believe is pretty close to ACS 4.7. Interestingly enough if I copy console URL 
and open a tab in main Chrome window it works just fine. I took 3 more 
screenshots of Chrome Development tools to compare. It looks like Chrome for 
whatever reason block returned Ajax stream to the popup window after the very 
first frame.

https://autodesk.box.com/s/psudrtjq09ke3p6t08ft2700l96govkg
https://autodesk.box.com/s/gn8gd1ieqmsq9yx1fzdopj4dycp3gm0u
https://autodesk.box.com/s/5sklr6sli7pgy1ar26l3vps0n8pzoa60

Thanks,
Sergey



On 8/18/16, 1:37 AM, "Rohit Yadav"  wrote:

Hi Sergey,


Can you open console in Chrome and then click on Tools-> Developer 
Tools. It would open a separate window from where you can debug what's going 
wrong. In the developer tools window, head over to the console tab and share if 
you're seeing any errors. Head over to the network tab, where you can ajax? and 
ajaximg? url requests being made, if you're not seeing any such URL 
requests/activities perhaps there was an issue with loading resources from the 
embedded iframe. To debug this, head over to the 'Elements' tab, click on 
iframset and copy the iframe src url. Try to open this URL in Chrome in a 
separate tab. It might fail to load due to SSL/TLS certificate error or any 
other network configuration.


Can you also share your OS details, Chrome version and CloudStack 
version. Are you using SSL certificates with console proxy? If so can you check 
that they are valid and resolve to a valid hostname/ip for which the 
certificate was generated and/or fix as necessary. If you're using a custom CA, 
make sure to import the root CA certificate in Chrome.


Regards.

rohit.ya...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue






rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 






Re: AJAX video stream for VM console is broken in Chrome

2016-08-19 Thread Rohit Yadav

Hi Sergey,


Since the same URL open perfectly fine in a tab, there must be something in 
your installation of Chrome blocking elements in the pop-up. Can you try to 
upgrade to latest Chrome, and then enable pop-ups in Chrome (follow something 
like: http://www.wikihow.com/Allow-Pop-ups-on-Google-Chrome).


You also are using ssl enabled console proxy, but the certificate is valid as 
per Chrome so it should not block any of the iframe elements but in one of the 
screenshots the URL call to the https based console proxy URL did not load or 
was blocked in the popup (which is where you don't see the certificate in the 
security tab). Based on the screenshots, it looks like Chrome hit one error. 
Can you share what error was reported on the console. With the console popup 
opened, open chrome developer tools and click on 'Console' tab and share what 
error you got there.


Regards.




From: Sergey Levitskiy 
Sent: 19 August 2016 10:21:10
To: dev@cloudstack.apache.org
Subject: Re: AJAX video stream for VM console is broken in Chrome

Hi Rohit,
As it turned out ACS 4.9 is fine and issue is only in ACP/CCP 4.7 which I 
believe is pretty close to ACS 4.7. Interestingly enough if I copy console URL 
and open a tab in main Chrome window it works just fine. I took 3 more 
screenshots of Chrome Development tools to compare. It looks like Chrome for 
whatever reason block returned Ajax stream to the popup window after the very 
first frame.

https://autodesk.box.com/s/psudrtjq09ke3p6t08ft2700l96govkg
https://autodesk.box.com/s/gn8gd1ieqmsq9yx1fzdopj4dycp3gm0u
https://autodesk.box.com/s/5sklr6sli7pgy1ar26l3vps0n8pzoa60

Thanks,
Sergey



On 8/18/16, 1:37 AM, "Rohit Yadav"  wrote:

Hi Sergey,


Can you open console in Chrome and then click on Tools-> Developer Tools. 
It would open a separate window from where you can debug what's going wrong. In 
the developer tools window, head over to the console tab and share if you're 
seeing any errors. Head over to the network tab, where you can ajax? and 
ajaximg? url requests being made, if you're not seeing any such URL 
requests/activities perhaps there was an issue with loading resources from the 
embedded iframe. To debug this, head over to the 'Elements' tab, click on 
iframset and copy the iframe src url. Try to open this URL in Chrome in a 
separate tab. It might fail to load due to SSL/TLS certificate error or any 
other network configuration.


Can you also share your OS details, Chrome version and CloudStack version. 
Are you using SSL certificates with console proxy? If so can you check that 
they are valid and resolve to a valid hostname/ip for which the certificate was 
generated and/or fix as necessary. If you're using a custom CA, make sure to 
import the root CA certificate in Chrome.


Regards.

rohit.ya...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue






rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: AJAX video stream for VM console is broken in Chrome

2016-08-19 Thread Wei ZHOU
Hi Sergey,

Could you check if disk is full in console proxy vm?

-Wei

2016-08-17 22:42 GMT+02:00 Sergey Levitskiy :

> Has anyone observed issues in using Chrome for VM console sessions?  Since
> recently we have had reports from many but not all users seeing white blank
> space where VM screen output goes. Other parts of the window e.g.
> Ctrl-Alt-Del button works just fine so it seems that AJAX stream is broken
> in Chrome although no other sites were reported with the same issues.
>
> I attached a screenshot of console window. Has anyone seen this issue or
> knows if there is a workaround except using a different browser?
>
>
>
>
>
>
>


Re: AJAX video stream for VM console is broken in Chrome

2016-08-18 Thread Sergey Levitskiy
Hi Rohit,
As it turned out ACS 4.9 is fine and issue is only in ACP/CCP 4.7 which I 
believe is pretty close to ACS 4.7. Interestingly enough if I copy console URL 
and open a tab in main Chrome window it works just fine. I took 3 more 
screenshots of Chrome Development tools to compare. It looks like Chrome for 
whatever reason block returned Ajax stream to the popup window after the very 
first frame. 

https://autodesk.box.com/s/psudrtjq09ke3p6t08ft2700l96govkg
https://autodesk.box.com/s/gn8gd1ieqmsq9yx1fzdopj4dycp3gm0u
https://autodesk.box.com/s/5sklr6sli7pgy1ar26l3vps0n8pzoa60

Thanks,
Sergey



On 8/18/16, 1:37 AM, "Rohit Yadav"  wrote:

Hi Sergey,


Can you open console in Chrome and then click on Tools-> Developer Tools. 
It would open a separate window from where you can debug what's going wrong. In 
the developer tools window, head over to the console tab and share if you're 
seeing any errors. Head over to the network tab, where you can ajax? and 
ajaximg? url requests being made, if you're not seeing any such URL 
requests/activities perhaps there was an issue with loading resources from the 
embedded iframe. To debug this, head over to the 'Elements' tab, click on 
iframset and copy the iframe src url. Try to open this URL in Chrome in a 
separate tab. It might fail to load due to SSL/TLS certificate error or any 
other network configuration.


Can you also share your OS details, Chrome version and CloudStack version. 
Are you using SSL certificates with console proxy? If so can you check that 
they are valid and resolve to a valid hostname/ip for which the certificate was 
generated and/or fix as necessary. If you're using a custom CA, make sure to 
import the root CA certificate in Chrome.


Regards.

rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 





Re: AJAX video stream for VM console is broken in Chrome

2016-08-18 Thread Rohit Yadav
Hi Sergey,


Can you open console in Chrome and then click on Tools-> Developer Tools. It 
would open a separate window from where you can debug what's going wrong. In 
the developer tools window, head over to the console tab and share if you're 
seeing any errors. Head over to the network tab, where you can ajax? and 
ajaximg? url requests being made, if you're not seeing any such URL 
requests/activities perhaps there was an issue with loading resources from the 
embedded iframe. To debug this, head over to the 'Elements' tab, click on 
iframset and copy the iframe src url. Try to open this URL in Chrome in a 
separate tab. It might fail to load due to SSL/TLS certificate error or any 
other network configuration.


Can you also share your OS details, Chrome version and CloudStack version. Are 
you using SSL certificates with console proxy? If so can you check that they 
are valid and resolve to a valid hostname/ip for which the certificate was 
generated and/or fix as necessary. If you're using a custom CA, make sure to 
import the root CA certificate in Chrome.


Regards.

rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: AJAX video stream for VM console is broken in Chrome

2016-08-17 Thread Sergey Levitskiy
Yes, latest Chrome. No errors in console cloud.log. A parallel request from the 
same client using Firefox, Safari or IE works. It is obviously Chrome related 
but I am wondering if it is due to a way how Cloudstack sends video stream. 
Other sites seem to be OK in this regard accessed by Chrome from the same 
client.

On 8/17/16, 10:05 PM, "Rajani Karuturi"  wrote:

It can be browser specific. In the past, similar issues were
reported on IE8/9. Is it the latest chrome version?

It may be performace/bandwidth related. Do you see this when
there are more consoles open?
Do you see any errors in cloud.log on console proxy vm?

~ Rajani
http://cloudplatform.accelerite.com/

On August 18, 2016 at 2:16 AM, Sergey Levitskiy
(sergey.levits...@autodesk.com) wrote:
The screenshot is here:
https://autodesk.box.com/s/ry9xe5ugt8h9f3b9sr0ddv4qnsp9v8d8

From: Sergey Levitskiy 
Reply-To: "dev@cloudstack.apache.org" 
Date: Wednesday, August 17, 2016 at 1:42 PM
To: "dev@cloudstack.apache.org" 
Subject: AJAX video stream for VM console is broken in Chrome

Has anyone observed issues in using Chrome for VM console
sessions? Since recently we have had reports from many but not
all users seeing white blank space where VM screen output goes.
Other parts of the window e.g. Ctrl-Alt-Del button works just
fine so it seems that AJAX stream is broken in Chrome although no
other sites were reported with the same issues.
I attached a screenshot of console window. Has anyone seen this
issue or knows if there is a workaround except using a different
browser?



Re: AJAX video stream for VM console is broken in Chrome

2016-08-17 Thread Rajani Karuturi
It can be browser specific. In the past, similar issues were
reported on IE8/9. Is it the latest chrome version?

It may be performace/bandwidth related. Do you see this when
there are more consoles open?
Do you see any errors in cloud.log on console proxy vm?

~ Rajani
http://cloudplatform.accelerite.com/

On August 18, 2016 at 2:16 AM, Sergey Levitskiy
(sergey.levits...@autodesk.com) wrote:
The screenshot is here:
https://autodesk.box.com/s/ry9xe5ugt8h9f3b9sr0ddv4qnsp9v8d8

From: Sergey Levitskiy 
Reply-To: "dev@cloudstack.apache.org" 
Date: Wednesday, August 17, 2016 at 1:42 PM
To: "dev@cloudstack.apache.org" 
Subject: AJAX video stream for VM console is broken in Chrome

Has anyone observed issues in using Chrome for VM console
sessions? Since recently we have had reports from many but not
all users seeing white blank space where VM screen output goes.
Other parts of the window e.g. Ctrl-Alt-Del button works just
fine so it seems that AJAX stream is broken in Chrome although no
other sites were reported with the same issues.
I attached a screenshot of console window. Has anyone seen this
issue or knows if there is a workaround except using a different
browser?

Re: AJAX video stream for VM console is broken in Chrome

2016-08-17 Thread Sergey Levitskiy
The screenshot is here:
https://autodesk.box.com/s/ry9xe5ugt8h9f3b9sr0ddv4qnsp9v8d8


From: Sergey Levitskiy 
Reply-To: "dev@cloudstack.apache.org" 
Date: Wednesday, August 17, 2016 at 1:42 PM
To: "dev@cloudstack.apache.org" 
Subject: AJAX video stream for VM console is broken in Chrome

Has anyone observed issues in using Chrome for VM console sessions?  Since 
recently we have had reports from many but not all users seeing white blank 
space where VM screen output goes. Other parts of the window e.g. Ctrl-Alt-Del 
button works just fine so it seems that AJAX stream is broken in Chrome 
although no other sites were reported with the same issues.
I attached a screenshot of console window. Has anyone seen this issue or knows 
if there is a workaround except using a different browser?