Ah, the same problem with desktop client also. So it's a different problem, then initially in this topic.
Is netxmsd process actually running at the moment, when you are trying to connect?
On what OS netxms server is running?
If it's linux, try to capture threads at the moment, when you are unable to connect. To do this, run this script: https://raw.githubusercontent.com/netxms/netxms/master/tools/capture_netxmsd_threads.sh
This script requires gdb to be installed on the system. Run the script 3 times with 10-20 seconds interval. It will produce files in /tmp. Please share these files.
Is netxmsd process actually running at the moment, when you are trying to connect?
On what OS netxms server is running?
If it's linux, try to capture threads at the moment, when you are unable to connect. To do this, run this script: https://raw.githubusercontent.com/netxms/netxms/master/tools/capture_netxmsd_threads.sh
This script requires gdb to be installed on the system. Run the script 3 times with 10-20 seconds interval. It will produce files in /tmp. Please share these files.