Bug #2013

VNC secure websockets does not work

Added by Daniel Molina almost 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:05/09/2013
Priority:HighDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 4.0.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

diff --git a/src/sunstone/sunstone-server.rb b/src/sunstone/sunstone-server.rb
index 4934908..0bb8826 100755
--- a/src/sunstone/sunstone-server.rb
++ b/src/sunstone/sunstone-server.rb
@ -290,7 +290,7 @ get '/config' do
uconf = {
:user_config => {
:lang => session[:lang],
- :wss => session[:wss],
:wss => session[:vnc_wss],
},
:system_config => {
:marketplace_url => $conf[:marketplace_url],

Associated revisions

Revision 4b964caa
Added by Daniel Molina almost 6 years ago

bug #2013: Fix VNC secure websockets

Revision dd6ce8fe
Added by Daniel Molina almost 6 years ago

bug #2013: Fix VNC secure websockets
(cherry picked from commit 4b964caa5621741247fad027fda515b76eae9d87)

History

#1 Updated by Daniel Molina almost 6 years ago

  • Priority changed from Normal to High

Contributed by Rolandas Naujikas
-- sunstone/sunstone-server.rb.orig 2013-05-08 18:52:39.000000000 0300
+
+ sunstone/sunstone-server.rb 2013-05-10 09:28:30.000000000 +0300

@ -290,7 +290,7 @ get '/config' do
uconf = {
:user_config => {
:lang => session[:lang],
- :wss => session[:wss],
+ :vnc_wss => session[:vnc_wss],

},
:system_config => {
:marketplace_url => $conf[:marketplace_url],

--- sunstone/public/js/plugins/vms-tab.js.orig 2013-05-08 18:52:39.000000000 0300
+
+ sunstone/public/js/plugins/vms-tab.js 2013-05-10 09:28:41.000000000 +0300
@ -2887,7 +2887,7 @ function setupVNC(){

function vncCallback(request,response){
rfb = new RFB({'target': $D('VNC_canvas'),
- 'encrypt': $('#config_table #wss_checkbox').is(':checked'),
+ 'encrypt': config['user_config']['vnc_wss'] == "yes",
'true_color': true,
'local_cursor': true,
'shared': true,

#2 Updated by Ruben S. Montero almost 6 years ago

  • Assignee deleted (Daniel Molina)

#3 Updated by Daniel Molina almost 6 years ago

  • Assignee set to Daniel Molina
  • % Done changed from 0 to 100
  • Resolution set to fixed

#4 Updated by Daniel Molina almost 6 years ago

  • Status changed from New to Closed

#5 Updated by Ruben S. Montero almost 6 years ago

  • Target version changed from Release 4.2 to Release 4.0.1

Also available in: Atom PDF