Forum / NoMachine Cloud Server Products / Connection to the server was shut down
Tagged: cloud server
- This topic has 6 replies, 2 voices, and was last updated 8 years, 8 months ago by wccppa1.
-
AuthorPosts
-
February 23, 2016 at 10:09 #10172wccppa1Participant
I have a NoMachine Cloud Server running on Windows. I also have NoMachine Cloud Server running on a Mac. I can connect to the Mac from the Windows machine using NoMachine. I can run the webplayer on the Windows machine and see the MAC. When I connect, I see the Mac computer but when trying to connect I receive the message, OOPS the connection with the server was shut down.
I have edited the config.cfg to configure the sectionsession and I have added the client certificate as per the Cloud Server Installation and configuration document.
We are using ConnectionMethod NX
Any Suggestions?
Thank you, Peter
February 23, 2016 at 15:58 #10185IrekParticipantHello Peter,
We will need debug NoMachine Cloud server logs from Windows machine to investigate further. Please follow the instructions here:
https://www.nomachine.com/DT07M00098#1
especially point 1.3:
”
1.3. If you have a Cloud Server installed and the problem affects sessions by the web:
Edit the /usr/NX/etc/cloud.cfg file. Uncomment and set the following:SessionLogLevel 7
”Send them to forum[at]nomachine[dot]com
February 23, 2016 at 17:43 #10186wccppa1ParticipantLog files sent via email to to forum[at]nomachine[dot]com. Thank you, Peter
February 25, 2016 at 10:24 #10208IrekParticipantHello Peter,
unfortunately not all logs were sent, the most important ones were: nxerror.log and nxserver.log, which were missing.
However, looks like certificate of MAC machine was not added correctly on Windows server.
Please try to add again certificate as described in article:https://www.nomachine.com/AR07K00679
If certificate was added incorrectly in nxerror.log you will see logs similar to those below:
”
1812 10092 16:51:35 674.464 Encryptor/Encryptable: ERROR! Failed to authorize the server certificate.
Error: Failed to authorize the server certificate.
1812 10092 16:51:35 675.465 Channel/Channel: WARNING! Runnable DaemonReader failed for FD#768.
1812 10092 16:51:35 675.465 Channel/Channel: WARNING! Error is 13, ‘Permission denied’.
”If still you cannot connect to MAC machine using Web Player, pleease send to us logs, and please be sure that all logs are added – especially nxerror.log and nxserver.log.
also please send to us client.crt file from Windows machine”
%PROGRAMDATA%/NoMachine/nxhtd/.nx/config/client.crt
”and certificate taken from Mac OS, which were added to client.crt on Windows:
”
Konsole output
/Applications/NoMachine.app/Contents/Frameworks/etc/keys/host/nx_host_rsa_key.crt
”Send them to forum[at]nomachine[dot]com
March 2, 2016 at 08:55 #10361wccppa1ParticipantThank you, Im still having trouble. I sent more logs to forum[at]nomachine[dot]com. Thanks again! Peter
March 2, 2016 at 15:41 #10389IrekParticipantHello Peter,
as we checked the logs and the client.crt looks like certificate was wrongly added in client.crt.
”
4276 3592 16:02:13 565.711 Encryptor/Encryptable: ERROR! Failed to authorize the server certificate.
Error: Failed to authorize the server certificate.
”Please take a look at file client.crt:
”
Host:172.16.73.203—–BEGIN CERTIFICATE—–
”the HostName and certificate should be splited into 2 separated lines, so it should looks like:
”
Host:172.16.73.203
—–BEGIN CERTIFICATE—–
”Please correct client.crt file as shown above, and now it should work.
March 2, 2016 at 21:06 #10391wccppa1ParticipantTHANK YOU THANK YOU THANK YOU
-
AuthorPosts
This topic was marked as solved, you can't post.