Re: [one-users] noVNC problem in sunstone after restarting oned.
On 10 May 2014 15:54, Wilma Hermann wrote: > The message "SecurityError: The operation is insecure." is usually > related to a Same-Origin-Policy problem. Are you using secure websockets > for VNC? If you have Sunstone TLS secured and try to connect to an insecure > websocket for VNC, Firefox blocks that. For Firefox, you need to have both > connections secured to not get this error. And don't use a self-signed > certificate for the server, this would raise the error again (you can setup > your own little CA, that works, but don't use a self-signed server > certificate). > > The other option would be to go into the Firefox config (about:config) and > set "network.websocket.allowInsecureFromHTTPS" to "true". > Thank you Wilma for the info, we will include this in the docs to help other people finding the same problem. Cheers > > Greetings > Wilma > > > 2014-05-05 10:52 GMT+02:00 Daniel Molina : > > Are you using al old firefox version? could you try using a newer >> >> >> >> On 5 May 2014 10:48, Leszek Master wrote: >> >>> The problem is only in the firefox browser (in the chrome it is working >>> properly). >>> >>> The error form browser log: >>> >>> SecurityError: The operation is insecure. websock.js:333 >>> "New state 'loaded', was 'disconnected'. Msg: noVNC ready: native >>> WebSockets, canvas rendering" util.js:110 >>> "New state 'connect', was 'loaded'." util.js:110 >>> "Skipping unsupported WebSocket binary sub-protocol" util.js:111 >>> "New state 'failed', was 'connect'. Msg: Connect timeout" util.js:111 >>> "New state 'disconnected', was 'failed'." >>> >>> >>> 2014-05-05 10:46 GMT+02:00 Daniel Molina : >>> >>> Hi, Could you check if there is any error in the browser console? Cheers On 16 April 2014 15:35, Leszek Master wrote: > It's not running in the ps auwx, there is only: > > python /usr/share/one/websockify/websocketproxy.py > --target-config=/var/lib/one/sunstone_vnc_tokens 29876 > > In the log i can see: > > 192.168.8.252: SSL connection but '/home/leni/self.pem' not found. > > Why it look for ssl cert in the user folder? > > > 2014-04-16 14:44 GMT+02:00 Daniel Molina : > >> Hi, >> >> Could you check if the novnc-server is running in the machine. You >> can start it using the novnc-server start command >> >> Cheers >> >> >> On 16 April 2014 11:10, Leszek Master wrote: >> >>> I had to restart my whole physical machine running oned sched and >>> sunstone. But the vm's on hosts were running. After rebooting i can see >>> vm's running in the sunstone, but when i click on the vnc icon nothing >>> happened (only information in right corner: Submitted >>> VM startvnc: 5 ). I can connect to the host:59xx port using tight >>> vnc. So the vnc works on the host. >>> >>> How can i get the noVNC running in the sunstone webpanel? >>> >>> ___ >>> Users mailing list >>> Users@lists.opennebula.org >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >> >> >> -- >> -- >> Daniel Molina >> Project Engineer >> OpenNebula - Flexible Enterprise Cloud Made Simple >> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >> > > -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >>> >>> >> >> >> -- >> -- >> Daniel Molina >> Project Engineer >> OpenNebula - Flexible Enterprise Cloud Made Simple >> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >> >> ___ >> Users mailing list >> Users@lists.opennebula.org >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> > > ___ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC problem in sunstone after restarting oned.
The message "SecurityError: The operation is insecure." is usually related to a Same-Origin-Policy problem. Are you using secure websockets for VNC? If you have Sunstone TLS secured and try to connect to an insecure websocket for VNC, Firefox blocks that. For Firefox, you need to have both connections secured to not get this error. And don't use a self-signed certificate for the server, this would raise the error again (you can setup your own little CA, that works, but don't use a self-signed server certificate). The other option would be to go into the Firefox config (about:config) and set "network.websocket.allowInsecureFromHTTPS" to "true". Greetings Wilma 2014-05-05 10:52 GMT+02:00 Daniel Molina : > Are you using al old firefox version? could you try using a newer > > > > On 5 May 2014 10:48, Leszek Master wrote: > >> The problem is only in the firefox browser (in the chrome it is working >> properly). >> >> The error form browser log: >> >> SecurityError: The operation is insecure. websock.js:333 >> "New state 'loaded', was 'disconnected'. Msg: noVNC ready: native >> WebSockets, canvas rendering" util.js:110 >> "New state 'connect', was 'loaded'." util.js:110 >> "Skipping unsupported WebSocket binary sub-protocol" util.js:111 >> "New state 'failed', was 'connect'. Msg: Connect timeout" util.js:111 >> "New state 'disconnected', was 'failed'." >> >> >> 2014-05-05 10:46 GMT+02:00 Daniel Molina : >> >> Hi, >>> >>> Could you check if there is any error in the browser console? >>> >>> Cheers >>> >>> >>> On 16 April 2014 15:35, Leszek Master wrote: >>> It's not running in the ps auwx, there is only: python /usr/share/one/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 In the log i can see: 192.168.8.252: SSL connection but '/home/leni/self.pem' not found. Why it look for ssl cert in the user folder? 2014-04-16 14:44 GMT+02:00 Daniel Molina : > Hi, > > Could you check if the novnc-server is running in the machine. You can > start it using the novnc-server start command > > Cheers > > > On 16 April 2014 11:10, Leszek Master wrote: > >> I had to restart my whole physical machine running oned sched and >> sunstone. But the vm's on hosts were running. After rebooting i can see >> vm's running in the sunstone, but when i click on the vnc icon nothing >> happened (only information in right corner: Submitted >> VM startvnc: 5 ). I can connect to the host:59xx port using tight >> vnc. So the vnc works on the host. >> >> How can i get the noVNC running in the sunstone webpanel? >> >> ___ >> Users mailing list >> Users@lists.opennebula.org >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> > > > -- > -- > Daniel Molina > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula > >>> >>> >>> -- >>> -- >>> Daniel Molina >>> Project Engineer >>> OpenNebula - Flexible Enterprise Cloud Made Simple >>> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >>> >> >> > > > -- > -- > Daniel Molina > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula > > ___ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC problem in sunstone after restarting oned.
Are you using al old firefox version? could you try using a newer On 5 May 2014 10:48, Leszek Master wrote: > The problem is only in the firefox browser (in the chrome it is working > properly). > > The error form browser log: > > SecurityError: The operation is insecure. websock.js:333 > "New state 'loaded', was 'disconnected'. Msg: noVNC ready: native > WebSockets, canvas rendering" util.js:110 > "New state 'connect', was 'loaded'." util.js:110 > "Skipping unsupported WebSocket binary sub-protocol" util.js:111 > "New state 'failed', was 'connect'. Msg: Connect timeout" util.js:111 > "New state 'disconnected', was 'failed'." > > > 2014-05-05 10:46 GMT+02:00 Daniel Molina : > > Hi, >> >> Could you check if there is any error in the browser console? >> >> Cheers >> >> >> On 16 April 2014 15:35, Leszek Master wrote: >> >>> It's not running in the ps auwx, there is only: >>> >>> python /usr/share/one/websockify/websocketproxy.py >>> --target-config=/var/lib/one/sunstone_vnc_tokens 29876 >>> >>> In the log i can see: >>> >>> 192.168.8.252: SSL connection but '/home/leni/self.pem' not found. >>> >>> Why it look for ssl cert in the user folder? >>> >>> >>> 2014-04-16 14:44 GMT+02:00 Daniel Molina : >>> Hi, Could you check if the novnc-server is running in the machine. You can start it using the novnc-server start command Cheers On 16 April 2014 11:10, Leszek Master wrote: > I had to restart my whole physical machine running oned sched and > sunstone. But the vm's on hosts were running. After rebooting i can see > vm's running in the sunstone, but when i click on the vnc icon nothing > happened (only information in right corner: Submitted > VM startvnc: 5 ). I can connect to the host:59xx port using tight vnc. > So the vnc works on the host. > > How can i get the noVNC running in the sunstone webpanel? > > ___ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >>> >>> >> >> >> -- >> -- >> Daniel Molina >> Project Engineer >> OpenNebula - Flexible Enterprise Cloud Made Simple >> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >> > > -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC problem in sunstone after restarting oned.
The problem is only in the firefox browser (in the chrome it is working properly). The error form browser log: SecurityError: The operation is insecure. websock.js:333 "New state 'loaded', was 'disconnected'. Msg: noVNC ready: native WebSockets, canvas rendering" util.js:110 "New state 'connect', was 'loaded'." util.js:110 "Skipping unsupported WebSocket binary sub-protocol" util.js:111 "New state 'failed', was 'connect'. Msg: Connect timeout" util.js:111 "New state 'disconnected', was 'failed'." 2014-05-05 10:46 GMT+02:00 Daniel Molina : > Hi, > > Could you check if there is any error in the browser console? > > Cheers > > > On 16 April 2014 15:35, Leszek Master wrote: > >> It's not running in the ps auwx, there is only: >> >> python /usr/share/one/websockify/websocketproxy.py >> --target-config=/var/lib/one/sunstone_vnc_tokens 29876 >> >> In the log i can see: >> >> 192.168.8.252: SSL connection but '/home/leni/self.pem' not found. >> >> Why it look for ssl cert in the user folder? >> >> >> 2014-04-16 14:44 GMT+02:00 Daniel Molina : >> >>> Hi, >>> >>> Could you check if the novnc-server is running in the machine. You can >>> start it using the novnc-server start command >>> >>> Cheers >>> >>> >>> On 16 April 2014 11:10, Leszek Master wrote: >>> I had to restart my whole physical machine running oned sched and sunstone. But the vm's on hosts were running. After rebooting i can see vm's running in the sunstone, but when i click on the vnc icon nothing happened (only information in right corner: Submitted VM startvnc: 5 ). I can connect to the host:59xx port using tight vnc. So the vnc works on the host. How can i get the noVNC running in the sunstone webpanel? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >>> -- >>> -- >>> Daniel Molina >>> Project Engineer >>> OpenNebula - Flexible Enterprise Cloud Made Simple >>> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >>> >> >> > > > -- > -- > Daniel Molina > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula > ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC problem in sunstone after restarting oned.
Hi, Could you check if there is any error in the browser console? Cheers On 16 April 2014 15:35, Leszek Master wrote: > It's not running in the ps auwx, there is only: > > python /usr/share/one/websockify/websocketproxy.py > --target-config=/var/lib/one/sunstone_vnc_tokens 29876 > > In the log i can see: > > 192.168.8.252: SSL connection but '/home/leni/self.pem' not found. > > Why it look for ssl cert in the user folder? > > > 2014-04-16 14:44 GMT+02:00 Daniel Molina : > >> Hi, >> >> Could you check if the novnc-server is running in the machine. You can >> start it using the novnc-server start command >> >> Cheers >> >> >> On 16 April 2014 11:10, Leszek Master wrote: >> >>> I had to restart my whole physical machine running oned sched and >>> sunstone. But the vm's on hosts were running. After rebooting i can see >>> vm's running in the sunstone, but when i click on the vnc icon nothing >>> happened (only information in right corner: Submitted >>> VM startvnc: 5 ). I can connect to the host:59xx port using tight vnc. >>> So the vnc works on the host. >>> >>> How can i get the noVNC running in the sunstone webpanel? >>> >>> ___ >>> Users mailing list >>> Users@lists.opennebula.org >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >> >> >> -- >> -- >> Daniel Molina >> Project Engineer >> OpenNebula - Flexible Enterprise Cloud Made Simple >> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula >> > > -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC problem in sunstone after restarting oned.
It's not running in the ps auwx, there is only: python /usr/share/one/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 In the log i can see: 192.168.8.252: SSL connection but '/home/leni/self.pem' not found. Why it look for ssl cert in the user folder? 2014-04-16 14:44 GMT+02:00 Daniel Molina : > Hi, > > Could you check if the novnc-server is running in the machine. You can > start it using the novnc-server start command > > Cheers > > > On 16 April 2014 11:10, Leszek Master wrote: > >> I had to restart my whole physical machine running oned sched and >> sunstone. But the vm's on hosts were running. After rebooting i can see >> vm's running in the sunstone, but when i click on the vnc icon nothing >> happened (only information in right corner: Submitted >> VM startvnc: 5 ). I can connect to the host:59xx port using tight vnc. So >> the vnc works on the host. >> >> How can i get the noVNC running in the sunstone webpanel? >> >> ___ >> Users mailing list >> Users@lists.opennebula.org >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> > > > -- > -- > Daniel Molina > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula > ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC problem in sunstone after restarting oned.
Hi, Could you check if the novnc-server is running in the machine. You can start it using the novnc-server start command Cheers On 16 April 2014 11:10, Leszek Master wrote: > I had to restart my whole physical machine running oned sched and > sunstone. But the vm's on hosts were running. After rebooting i can see > vm's running in the sunstone, but when i click on the vnc icon nothing > happened (only information in right corner: Submitted > VM startvnc: 5 ). I can connect to the host:59xx port using tight vnc. So > the vnc works on the host. > > How can i get the noVNC running in the sunstone webpanel? > > ___ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] noVNC problem in sunstone after restarting oned.
I had to restart my whole physical machine running oned sched and sunstone. But the vm's on hosts were running. After rebooting i can see vm's running in the sunstone, but when i click on the vnc icon nothing happened (only information in right corner: Submitted VM startvnc: 5 ). I can connect to the host:59xx port using tight vnc. So the vnc works on the host. How can i get the noVNC running in the sunstone webpanel? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org