Connection to the server was shut down

Forum / NoMachine Cloud Server Products / Connection to the server was shut down

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10172
    wccppa1
    Participant

    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

    #10185
    irek
    Participant

    Hello 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

    #10186
    wccppa1
    Participant

    Log files sent via email to to forum[at]nomachine[dot]com. Thank you, Peter

    #10208
    irek
    Participant

    Hello 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

    #10361
    wccppa1
    Participant

    Thank you, Im still having trouble. I sent more logs to forum[at]nomachine[dot]com. Thanks again! Peter

    #10389
    irek
    Participant

    Hello 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.

    #10391
    wccppa1
    Participant

    THANK YOU THANK YOU THANK YOU

Viewing 7 posts - 1 through 7 (of 7 total)

This topic was marked as solved, you can't post.