Zentyal Forum, Linux Small Business Server

Zentyal Server => Other modules => Topic started by: gabor.strama on January 03, 2019, 10:26:09 am

Title: Virtual pc console from the management page not open
Post by: gabor.strama on January 03, 2019, 10:26:09 am
866/5000
Hi!

My great pleasure with the zentyal 6 is the possibility of virtualization.
I think this was a very good decision.

But I had a problem with it because unfortunately something went wrong during the updates. After the current zentyal updates, the virtual pc console will not open:
- I get this error message on my website: Server disconnected (code: 1006)
- log in: 201/12/12 09:13:42 [error] 3825 # 3825: * 328 peer closed connection in SSL handshake (104: Connection reset by peer) client: 192.168.100.27 , server:, request: "GET / websockify? token = praxis-pc-32bit-en HTTP / 1.1", upstream: "https://127.0.0.1:6900/?token=praxis-pc-32bit-hu", host: "192.168.100.10:8443"

The vnc reaches 5900 port-free.
The console was also flawless before upgrading.

Has anyone ever encountered such a mistake?
Title: Re: Virtual pc console from the management page not open
Post by: gabor.strama on November 07, 2019, 03:21:46 pm
Somebody?
Title: Re: Virtual pc console from the management page not open
Post by: doncamilo on November 07, 2019, 04:54:46 pm
 :)

Paste here the relevant parts of the  /var/log/libvirt/qemu/praxis-pc-32bit-en

Cheers!
Title: Re: Virtual pc console from the management page not open
Post by: gabor.strama on November 23, 2019, 11:57:04 pm
Hi!

The VM is running smoothly. :-)

Another server is produce same issue:

2019/11/23 23:49:46 [error] 12521#12521: *48 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 192.168.100.54, server: , request: "GET /websockify?token=cert_bot HTTP/1.1", upstream: "https://127.0.0.1:6900/?token=cert_bot", host: "192.168.100.2:8443"

BR Gabor
Title: Re: Virtual pc console from the management page not open
Post by: gabor.strama on November 24, 2019, 07:56:21 am
Hi All!

I have been found the main problem:
CERT issue, the system is using old self signed cert what is not usable....
I modify the zentyal.vncproxy.service config under /lib/systemd/system/
I use a letsencrypt cert.What is perfectly worked for me.

This problem is solved too. :-)

BR Gabor

PS: this modification is not to nice, if somebody can help me to found a better solution...
Title: Re: Virtual pc console from the management page not open
Post by: doncamilo on December 02, 2019, 05:46:54 pm
 :)

Hi Gabor!

Thank you for explaining your fix. I wonder why this issue with the self signed certificate.  :P

Cheers!

Title: Re: Virtual pc console from the management page not open
Post by: schallb on January 31, 2020, 10:25:06 am
Hello,

I ran into the same issue - I had to change/update my certification authority, since then the Console of VM does not open any longer.
The VM is running an d can be accessed from "outside" via e.g. putty.

Is there something like "cleanup" certificates/ssl/cache or else?

THX & BR
Title: Re: Virtual pc console from the management page not open
Post by: Rapthor on October 09, 2020, 09:31:09 pm
Hello everyone
This is a Bug

Well I will tell you what is happening in the version of Zentyal 6.2, I think it may be related to a bug in the Virtualization module, which occurs when any service certificate is configured in the CA module.

Try to access the web console of the VM, when it returns the error 'code: 1006', check in the log file if the registry exists:

Code: [Select]
[X509: KEY_VALUES_MISMATCH] key values mismatch
To verify it you can run the following command:

Code: [Select]
grep '\[X509: KEY_VALUES_MISMATCH\] key values mismatch' /var/log/syslog
If you find the bug, please write.

I don't write anymore, because I don't know what is required.
Title: Re: Virtual pc console from the management page not open
Post by: doncamilo on October 14, 2020, 04:10:42 pm
 :)

I have done a pull request in order to fix this issue. https://github.com/zentyal/zentyal/pull/1993/commits/751e5a8e2787298dde2c2ce8309ba1ad12dfe76f (https://github.com/zentyal/zentyal/pull/1993/commits/751e5a8e2787298dde2c2ce8309ba1ad12dfe76f)

You can study it in order to fix your system.

Cheers!
Title: Re: Virtual pc console from the management page not open
Post by: Neustradamus on January 18, 2021, 06:22:51 am
Since my first ticket for Let's Encrypt support: https://github.com/zentyal/zentyal/issues/1836 (it has been closed by Zentyal Team).

I have created a second ticket for Let's Encrypt support which has been closed by Zentyal Team too.

I have created a third ticket for Let's Encrypt support, can you like, comment on it?
- https://github.com/zentyal/zentyal/issues/2015
Title: Re: Virtual pc console from the management page not open
Post by: gabor.strama on February 01, 2021, 04:48:54 pm
One like from me. :-)