diff --git a/src/smartnode/smartnode.cpp b/src/smartnode/smartnode.cpp index 11d2fab7..fbc035b6 100644 --- a/src/smartnode/smartnode.cpp +++ b/src/smartnode/smartnode.cpp @@ -821,11 +821,11 @@ bool CSmartnodePing::CheckAndUpdate(CSmartnode* pmn, bool fFromNewBroadcast, int hostname = hostname.substr(0, pos); } // Try connecting to the SAPI port of the node - if (!ConnectSocketByName(nodeAddr, hSocket, hostname.c_str(), DEFAULT_SAPI_SERVER_PORT, 1000, NULL)) { + if (!ConnectSocketByName(nodeAddr, hSocket, hostname.c_str(), DEFAULT_SAPI_SERVER_PORT, 2000, NULL)) { LogPrintf("CSmartnodePing::CheckAndUpdate -- Ping invalid 1/2, SAPI connection failed for SmartNode %s\n ", pmn->addr.ToString()); CloseSocket(hSocket); - if (!ConnectSocketByName(nodeAddr, hSocket, hostname.c_str(), DEFAULT_SAPI_SERVER_PORT, 2000, NULL)) { + if (!ConnectSocketByName(nodeAddr, hSocket, hostname.c_str(), DEFAULT_SAPI_SERVER_PORT, 10000, NULL)) { LogPrintf("CSmartnodePing::CheckAndUpdate -- Ping invalid 2/2, SAPI connection failed for SmartNode %s\n ", pmn->addr.ToString()); CloseSocket(hSocket);