GabrielBrascher opened a new issue #5068:
URL: https://github.com/apache/cloudstack/issues/5068


   <!--
   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
   -->
   New UI and noVNC enabled.
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   This issue is being hard for me to reproduce, but it happened sometimes.
   
   The issue happens when resizing the console (noVNC) window. Error:
   
   ```
   noVNC encountered an error: 
   
   Uncaught TypeError: Cannot set property 'scaleViewpoer' of undefined <https 
URL>
   ```
   
   I could not find anything concrete about what is triggering this issue. This 
exception points to line 
[systemvm/agent/noVNC/app/ui.js#L1216:30](https://github.com/apache/cloudstack/blob/280c13a4bb103dd748ec304bfe0714a148c24602/systemvm/agent/noVNC/app/ui.js#L1216).
 However, it is the kind of issue that it happens of working many times in a 
row (same network, browser, etc) and suddenly there is an issue.
   
   It is important to note that the URL for the console, when inspecting the 
page, always works.
   
   In summary:
   1. URL works always (sometimes failed when resizing, but opening URL on 
another window brings the console)
   2. DNS is working
   3. Console System VM is working fine and presents properly the VM's console
   
   I am not sure if this is a problem on the UI, or at another point, but the 
exception is raised at [UI.rfb.scaleViewport = 
this.fullScreen](https://github.com/apache/cloudstack/blob/280c13a4bb103dd748ec304bfe0714a148c24602/systemvm/agent/noVNC/app/ui.js#L1216):
   ```
       toggleFullscreen() {
           this.fullScreen = !this.fullScreen
           UI.rfb.scaleViewport = this.fullScreen
           UI.updateFullscreenButton(this.fullScreen);
           UI.focusOnConsole();
       },
   ```


-- 
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:
[email protected]


Reply via email to