nxsbi opened a new issue #4612:
URL: https://github.com/apache/cloudstack/issues/4612


   <!--
   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 - NoVNC 
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.15.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   
   Advanced Networking, Upgrade from 4.11.1., SSL for Console Proxy enabled 
(certificates installed and working fine prior to upgrade)
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   CentOS 7, MySQL 5.5, CS 4.15.0, xcp-ng 7.4
   I use SSL Certificate for Console Proxy.
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   By Default, 
   `novnc.console.default = True`
   
   With that, I am not able to view the Console via Web. When I click on the 
console icon, the new page is just blank. In Chrome, if I select "View Frame 
Source", I get HTTP 403 error:
   
   URL Format = https://sitename.com/resource/noVNC/vnc.html?port=8080&token=
   
   
![image](https://user-images.githubusercontent.com/71042351/105567600-f0acf680-5ce7-11eb-84f1-93601d5d5de3.png)
   
   
   I went to the console vm directly using 
   `ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@LinkLocal`
   
   , and did troubleshooting. I am seeing a possible issue in 
**/var/log/cloud.log**
   
   ```
   2021-01-23 03:05:22,271 INFO  
[cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-38:null) Get resource 
request for /resource/noVNC/vnc.html
   2021-01-23 03:05:22,275 INFO  
[cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-38:null) **Resource 
access is forbidden, uri: /resource/noVNC/vnc.html**
   ```
   
   In my CloudStack server, I cannot find any file named vnc.html, or in the 
console proxy either.  Is it missing in upgrade? Or do I need to follow any 
additional steps to install noVNC required files?
   
   If I switch 
   `novnc.console.default = False`
   everything works fine using the old vnc console. Since I use SSL for console 
Proxy, I do get a SSL secured connection as well. 
   
   Please advise!
   
   ##### 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.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   Not working out of the box (after performing upgrade)
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   noVNC console loads without issue. 
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   Console is blank (no frame loads)
   
   ~~~
   


----------------------------------------------------------------
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