Standalone Websocket Proxy not working

Hi All, I have followed the following document to install the websocket proxy on seperate machine :- http://www.ovirt.org/Features/noVNC_console#Setup_Websocket_Proxy_on_a_Separ... But when i try to open the VNC console it failed with the following errors :- ""Server disconnected (code: 1006)"" Engine Logs :- ----------------- 2014-08-05 15:51:22,540 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-5) [6101845f] Running command: SetVmTicketCommand internal: false. Entities affected : ID: 6e0caf73-ae7d-493e-a51d-ecc32f507f00 Type: VM 2014-08-05 15:51:22,574 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] START, SetVmTicketVDSCommand(HostName = Quanta, HostId = 10d7b6ea-d9fa-46af-bcd7-1d7b3c15b5ca, vmId=6e0caf73-ae7d-493e-a51d-ecc32f507f00, ticket=5r7OgcpCeGCt, validTime=120,m userName=admin, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 67f98489 2014-08-05 15:51:22,596 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] FINISH, SetVmTicketVDSCommand, log id: 67f98489 2014-08-05 15:51:22,623 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-5) [6101845f] Correlation ID: 6101845f, Call Stack: null, Custom Event ID: -1, Message: user admin initiated console session for VM test1 ----------------- When I navigate to https://websocketproxyip:<port> to accept the certificate the first time... it throws an error "The connection was reset" Thanks, Punit

Hi Punit, I'm assuming that you are using a local internal CA, did explicit trusted it in your browser? You can get your local CA cert from: https://<your_engine_fqdn>/ca.crt Please download it, add it into the list of your trusted CA in your browser and try again. oVirt 3.5 will provide a mechanism to deploy the websocket proxy on a separate host via engine-setup. Also in that scenario you still have to trust the CA in your browser. ciao, Simone ----- Original Message ----- From: "Punit Dambiwal" <hypunit@gmail.com> To: users@ovirt.org, "Dan Kenigsberg" <danken@redhat.com>, ahadas@redhat.com, "Sven Kieske" <S.Kieske@mittwald.de>, "Michal Skrivanek" <michal.skrivanek@redhat.com>, "Antoni Segura Puimedon" <asegurap@redhat.com>, "Frantisek Kobzik" <fkobzik@redhat.com>, "sabose" <sabose@redhat.com>, "Itamar Heim" <iheim@redhat.com>, barumuga@redhat.com Sent: Tuesday, August 5, 2014 9:56:41 AM Subject: [ovirt-users] Standalone Websocket Proxy not working Hi All, I have followed the following document to install the websocket proxy on seperate machine :- http://www.ovirt.org/Features/noVNC_console#Setup_Websocket_Proxy_on_a_Separ... But when i try to open the VNC console it failed with the following errors :- ""Server disconnected (code: 1006)"" Engine Logs :- ----------------- 2014-08-05 15:51:22,540 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-5) [6101845f] Running command: SetVmTicketCommand internal: false. Entities affected : ID: 6e0caf73-ae7d-493e-a51d-ecc32f507f00 Type: VM 2014-08-05 15:51:22,574 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] START, SetVmTicketVDSCommand(HostName = Quanta, HostId = 10d7b6ea-d9fa-46af-bcd7-1d7b3c15b5ca, vmId=6e0caf73-ae7d-493e-a51d-ecc32f507f00, ticket=5r7OgcpCeGCt, validTime=120,m userName=admin, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 67f98489 2014-08-05 15:51:22,596 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] FINISH, SetVmTicketVDSCommand, log id: 67f98489 2014-08-05 15:51:22,623 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-5) [6101845f] Correlation ID: 6101845f, Call Stack: null, Custom Event ID: -1, Message: user admin initiated console session for VM test1 ----------------- When I navigate to https://websocketproxyip :<port> to accept the certificate the first time... it throws an error "The connection was reset" Thanks, Punit _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Simone, I already trusted the CA in my browser but still has the same error.. Thanks, Punit On Tue, Aug 5, 2014 at 7:45 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
Hi Punit, I'm assuming that you are using a local internal CA, did explicit trusted it in your browser?
You can get your local CA cert from: https://<your_engine_fqdn>/ca.crt
Please download it, add it into the list of your trusted CA in your browser and try again.
oVirt 3.5 will provide a mechanism to deploy the websocket proxy on a separate host via engine-setup. Also in that scenario you still have to trust the CA in your browser.
ciao, Simone
----- Original Message ----- From: "Punit Dambiwal" <hypunit@gmail.com> To: users@ovirt.org, "Dan Kenigsberg" <danken@redhat.com>, ahadas@redhat.com, "Sven Kieske" <S.Kieske@mittwald.de>, "Michal Skrivanek" <michal.skrivanek@redhat.com>, "Antoni Segura Puimedon" < asegurap@redhat.com>, "Frantisek Kobzik" <fkobzik@redhat.com>, "sabose" < sabose@redhat.com>, "Itamar Heim" <iheim@redhat.com>, barumuga@redhat.com Sent: Tuesday, August 5, 2014 9:56:41 AM Subject: [ovirt-users] Standalone Websocket Proxy not working
Hi All,
I have followed the following document to install the websocket proxy on seperate machine :-
http://www.ovirt.org/Features/noVNC_console#Setup_Websocket_Proxy_on_a_Separ...
But when i try to open the VNC console it failed with the following errors :-
""Server disconnected (code: 1006)""
Engine Logs :-
----------------- 2014-08-05 15:51:22,540 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-5) [6101845f] Running command: SetVmTicketCommand internal: false. Entities affected : ID: 6e0caf73-ae7d-493e-a51d-ecc32f507f00 Type: VM 2014-08-05 15:51:22,574 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] START, SetVmTicketVDSCommand(HostName = Quanta, HostId = 10d7b6ea-d9fa-46af-bcd7-1d7b3c15b5ca, vmId=6e0caf73-ae7d-493e-a51d-ecc32f507f00, ticket=5r7OgcpCeGCt, validTime=120,m userName=admin, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 67f98489 2014-08-05 15:51:22,596 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] FINISH, SetVmTicketVDSCommand, log id: 67f98489 2014-08-05 15:51:22,623 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-5) [6101845f] Correlation ID: 6101845f, Call Stack: null, Custom Event ID: -1, Message: user admin initiated console session for VM test1 -----------------
When I navigate to https://websocketproxyip :<port> to accept the certificate the first time... it throws an error "The connection was reset"
Thanks, Punit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi All, It's Ok now...there was some mismatch in the country at the time of the key generation (subject="/C=<country>/O=<organization>/CN=<fqdn>")...regenerate the key with same country and organization as engine...it works... Thanks, Punit On Wed, Aug 6, 2014 at 9:02 AM, Punit Dambiwal <hypunit@gmail.com> wrote:
Hi Simone,
I already trusted the CA in my browser but still has the same error..
Thanks, Punit
On Tue, Aug 5, 2014 at 7:45 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
Hi Punit, I'm assuming that you are using a local internal CA, did explicit trusted it in your browser?
You can get your local CA cert from: https://<your_engine_fqdn>/ca.crt
Please download it, add it into the list of your trusted CA in your browser and try again.
oVirt 3.5 will provide a mechanism to deploy the websocket proxy on a separate host via engine-setup. Also in that scenario you still have to trust the CA in your browser.
ciao, Simone
----- Original Message ----- From: "Punit Dambiwal" <hypunit@gmail.com> To: users@ovirt.org, "Dan Kenigsberg" <danken@redhat.com>, ahadas@redhat.com, "Sven Kieske" <S.Kieske@mittwald.de>, "Michal Skrivanek" <michal.skrivanek@redhat.com>, "Antoni Segura Puimedon" < asegurap@redhat.com>, "Frantisek Kobzik" <fkobzik@redhat.com>, "sabose" < sabose@redhat.com>, "Itamar Heim" <iheim@redhat.com>, barumuga@redhat.com Sent: Tuesday, August 5, 2014 9:56:41 AM Subject: [ovirt-users] Standalone Websocket Proxy not working
Hi All,
I have followed the following document to install the websocket proxy on seperate machine :-
http://www.ovirt.org/Features/noVNC_console#Setup_Websocket_Proxy_on_a_Separ...
But when i try to open the VNC console it failed with the following errors :-
""Server disconnected (code: 1006)""
Engine Logs :-
----------------- 2014-08-05 15:51:22,540 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-5) [6101845f] Running command: SetVmTicketCommand internal: false. Entities affected : ID: 6e0caf73-ae7d-493e-a51d-ecc32f507f00 Type: VM 2014-08-05 15:51:22,574 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] START, SetVmTicketVDSCommand(HostName = Quanta, HostId = 10d7b6ea-d9fa-46af-bcd7-1d7b3c15b5ca, vmId=6e0caf73-ae7d-493e-a51d-ecc32f507f00, ticket=5r7OgcpCeGCt, validTime=120,m userName=admin, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 67f98489 2014-08-05 15:51:22,596 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-5) [6101845f] FINISH, SetVmTicketVDSCommand, log id: 67f98489 2014-08-05 15:51:22,623 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-5) [6101845f] Correlation ID: 6101845f, Call Stack: null, Custom Event ID: -1, Message: user admin initiated console session for VM test1 -----------------
When I navigate to https://websocketproxyip :<port> to accept the certificate the first time... it throws an error "The connection was reset"
Thanks, Punit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Punit Dambiwal
-
Simone Tiraboschi