You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/03/23 15:38:56 UTC

[GitHub] [cloudstack] MoeRT09 opened a new issue #4858: Unable to establish noVNC connection to VM console

MoeRT09 opened a new issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.15.0.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   N/A
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Clean Chrome browser installation.
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   There seems to be some kind of timing issue, when trying to establish a console connection to a VM using noVNC. Sometimes it does not try to connect. This behavior is really inconsistent between different devices, as trying to connect from some devices had no issue, while others never were able to connect. However we could narrow it down to some timing issue in the browser. 
   
   There is a point, where the noVNC connect button is clicked from Javascript (you can not click the button manually, as it is hidden). Depending on the environment this succeeded or not. The most issues seem to be caused by Firefox. But a fresh installation of Chrome shows a similar behavior. Interestingly you can somehow "fix" this issues, by installing arbitrary browser extensions (maybe they delay the page rendering just so slightly, that the connect button gets clicked). I recorded a Video demonstrating the behavior by enabling and disabling the "Google Translator" extension. Note, that this is a completely fresh installation of Chrome, with all default extensions disabled.
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   https://user-images.githubusercontent.com/8270908/112172634-2c374480-8bf5-11eb-9197-321bb8e7d42a.mp4
   
   **"Fixing" the bug by enabling extensions**
   
   https://user-images.githubusercontent.com/8270908/112173035-833d1980-8bf5-11eb-9961-aca3d11065d5.mp4
   
   **Manually "clicking" connect via Javascript**
   
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   Connecting to the console actually connects to the console in every browser and environment.
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   Depending on the environment, a connection to a VM console can be established or not.
   <!-- Paste verbatim command output between quotes below -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #4858: Unable to establish noVNC connection to VM console

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858#issuecomment-805030916


   @MoeRT09 this should be fixed by #4833


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd closed issue #4858: Unable to establish noVNC connection to VM console

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4858: Unable to establish noVNC connection to VM console

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858#issuecomment-805570948


   @MoeRT09 since it's fixed by #4833 - can you review and close the issue. (The fix will be in 4.15.1)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4858: Unable to establish noVNC connection to VM console

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858#issuecomment-810052677


   @MoeRT09 I think we don't have nightly(publicly hosted) packages, can you try to build the packages yourself? Or wait until we do a 4.15.1.0 RC1 (sometimes in April).
   
   I'm closing based on the discussions that the original issue has been fixed in https://github.com/apache/cloudstack/pull/4833


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] MoeRT09 commented on issue #4858: Unable to establish noVNC connection to VM console

Posted by GitBox <gi...@apache.org>.
MoeRT09 commented on issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858#issuecomment-805041899


   @weizhouapache you are right. Appending the `autoconnect=true` parameter to the URL of the iframe fixes it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] MoeRT09 commented on issue #4858: Unable to establish noVNC connection to VM console

Posted by GitBox <gi...@apache.org>.
MoeRT09 commented on issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858#issuecomment-805671594


   @rhtyd Is it possible to find the updated relevant package somewhere, so i can drop it in for testing?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #4858: Unable to establish noVNC connection to VM console

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4858:
URL: https://github.com/apache/cloudstack/issues/4858#issuecomment-805048815


   > @weizhouapache you are right. Appending the `autoconnect=true` parameter to the URL of the iframe fixes it.
   
   good to know !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org