Problem

custo diagnostic client hangs in the connect to the custo diagnostic server


Diagnosis

In the newest log file "<date>-<time>.customanager.log" (Directory: "C:\Users\Public\Roaming\customed\") you can find:

2018-09-25 08:59:14,131 = DEBUG [432] (module\qtrestclient\source\qtrestclient.cpp:320) {void __thiscall NRestClient::QtRestClient::performWithErrorHandling(class CurlConnection *,class QStringList *)} - Connection problem, throwing exception QtRestClientException: Failed to connect to COMPUTERNAME port 8080: Connection refused
Enum Reason: COULD_NOT_CONNECT (20)
Stacktrace: 
2018-09-25 08:59:14,131 = DEBUG [432] (projekte\custo manager\source\connectworker.cpp:61) {void __thiscall CConnectWorker::start(void)} - Retrying to connect to "http://COMPUTERNAME:8080/diag/rest"



Reasons and Solutions

ReasonsSolutions
DNS works incorrectlyUse IP address instead DNS name of the custo diagnostic server in the CustoCfg.ini on the client computer
TCP port isnt correctIn the most cases the firewall on the computer (server and client) blocks the TCP port. Open the port incoming on the server, outgoing on the client.
TCP port 8080 (default) is used
by other process (server)
Change the TCP port in the custo diagnostic server configuration (server.xml) and restart server.



 






  • No labels