Connection reset by peer

Forum / NoMachine for Mac / Connection reset by peer

  • This topic has 9 replies, 3 voices, and was last updated 1 month ago by gary.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #50665
    gettingair
    Participant

    Hello Guys,

    I have a network were some devices do not need internet access for many reasons. I just started using NoMachine, which I love so far and got my self in a bit of a pickle.

    I have some machines that do not need internet access. In these machines the IP is a local ip without a router entry.

    NoMachine, sees the machines in the network but when I try to connect, it says it is connected but immediately tells me it got disconnected.

    I can access the same machine through remote desktop or any other method but NoMachine can not connect.

    Is there a way to do this? I love the simplicity of NoMachine and would love to be able to use it.

    thanks

    -gio

    #50692
    Britgirl
    Keymaster

    Hi, are these all Mac machines? It would help to know the exact OS version of the computer you are connecting from when you experience this and to which OS version you are trying to reach.

    #50698
    gary
    Participant

    Hi,

    I have recently started having “Connection reset by peer” errors as well. The version on both computers is 8.14.2 and they are both running Ubuntu 22.04.1 in my case. I also have an Intel MacBook Pro running macOS Sequoia 15.1 (and NoMachine 8.14.2) as the client and it was also sometimes experiencing the same error. All of my computers have internet access so not quite the same configuration as the OP but these connections all worked solidly in previous versions as I have been using NoMachine for some time.

    All connections are to the physical display which are laptop screens though I have also tried external displays and had the same problem. Both of the Ubuntu computers are using Gnome.

    The connections in both cases are going through my WiFi router. I’m going to move the server to ethernet and see if that makes a difference.

     

    #50701
    Britgirl
    Keymaster

    Are you able to send us the logs so we can check them? You can extract them using the instructions here: https://kb.nomachine.com/DT07S00243. It would be useful to have both the client (step 4 in the document) not just server side logs.

    Send them to forum[at]nomachine[dot]com. Please use the title of this topic as the subject of your email. Thanks!

    #50703
    gary
    Participant

    I’ve sent the log files (sorry I didn’t have debug enabled on the server) and have done a few tests. I moved the computer to connect it to ethernet and was able to connect. I then connected to a 4K external monitor and was still able to connect. Then I removed the ethernet connection and enabled WiFi and could still connect.

    I left the client computer for lunch and when I returned I could not wake the server computer that I was connected to. To be clear the server computer itself was not asleep, just the display. I disconnected and on re-connect got the “Connection reset by peer” error. After collecting the logs I tried to connect again and it worked. I’m wondering if it might have to do with the display on the server going to sleep. I’ll try to do more testing and if I can get a nice reproducible case I’ll update you.

    #50704
    gary
    Participant

    I did some further testing and the problem does seem to be with the Privacy…Blank Screen Delay setting. When the screen blanks (and there is no screen lock) I get the error from both the Mac and Ubuntu client. As soon as I wake the server screen I can connect from both Mac and Ubuntu.

    One other note – the correct Ubuntu version on both client and server is 22.04.5.

    #50727
    Britgirl
    Keymaster

    Gary, you did not submit the logs from the server side, i.e the Ubuntu machine. Enable debug on the Ubuntu machine, reproduce the problem, then gather the logs (https://kb.nomachine.com/DT07S00243).

    Journalctl logs would be helpful as well.

    #50746
    gary
    Participant

    Debug and journalctl logs sent.

     

    -Gary

    #50799
    Britgirl
    Keymaster

    Thanks for submitting them. Unfortunately the logs were incomplete. Please do the following:

    1) make sure ‘SessionLogClean 0’ is set in /usr/NX/etc/node.cfg

    2) restart nxserver

    3) reproduce the problem

    4) manually create an archive of the /home/base/.nx dir on the server

    #50835
    gary
    Participant

    I’ve been attempting to reproduce but now it is working. I don’t know what might have changed other than the OS does automatic updates. That seems unlikely to fix an issue like this.

    If I can reproduce I will send additional logs.

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

You must be logged in to reply to this topic. Please login .