Agents no longer communicating with server properly
Agents no longer communicating with server properly. We have only 14 out of almost 900 endpoints successfully sending scan data via AssetExplorer back to the server.
Here is an agent log from one of the failing machines:
[03/17/17][13:32:27][AEAgent.cpp][66][INFO][7632] ::**************** Test AEAgent (1.0.24)Started. ****************
[03/17/17][13:32:27][AEAgent.cpp][66][INFO][3748] ::**************** Test AEAgent (1.0.24)Started. ****************
[03/17/17][13:32:27][AEAgent.cpp][70][INFO][7632] ::execute the agent with the parameter POST_SCAN_DATA
[03/17/17][13:32:27][AEAgent.cpp][70][INFO][3748] ::execute the agent with the parameter POST_SCAN_DATA
[03/17/17][13:32:27][AEAgent.cpp][93][INFO][7632] ::Invalid argument for aeagent.exe: POST_SCAN_DATA
[03/17/17][13:32:27][AEAgent.cpp][93][INFO][3748] ::Invalid argument for aeagent.exe: POST_SCAN_DATA
[03/17/17][13:32:27][AEAgent.cpp][996][INFO][5360] ::Time after system bootup : 75484
[03/17/17][13:32:27][AEAgent.cpp][996][INFO][5452] ::Time after system bootup : 75500
[03/17/17][13:32:27][AEAgent.cpp][999][INFO][5360] ::Scan at boot, so scan after 5 min
[03/17/17][13:32:27][AEAgent.cpp][999][INFO][5452] ::Scan at boot, so scan after 5 min
[03/17/17][13:32:27][AEAgent.cpp][632][INFO][92] ::start to take delta scan.
[03/17/17][13:32:27][AEAgent.cpp][632][INFO][668] ::start to take delta scan.
[03/17/17][13:32:27][AEAgent.cpp][508][INFO][92] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[03/17/17][13:32:27][AEAgent.cpp][508][INFO][668] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[03/17/17][13:32:27][SSLTransport.cpp][44][INFO][3748] ::Failed to bind to port 9000 with the error code 10048.
[03/17/17][13:32:27][AEAgent.cpp][131][INFO][3748] ::Failed in create_server_sock. The port may be occupied by some other applications, try restarting the agent after 30 minutes
[03/17/17][13:32:52][AgentUtil.cpp][63][INFO][92] ::ExitCode is 0 and return.
[03/17/17][13:32:52][AEAgent.cpp][514][INFO][92] ::The command executed successfully.
[03/17/17][13:32:52][AEAgent.cpp][508][INFO][92] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat deltascan
[03/17/17][13:32:52][AgentUtil.cpp][63][INFO][92] ::ExitCode is 0 and return.
[03/17/17][13:32:52][AEAgent.cpp][514][INFO][92] ::The command executed successfully.
[03/17/17][13:32:52][AEAgent.cpp][639][INFO][92] ::Periodic Delta scan succeed.
[03/17/17][13:37:27][AEAgent.cpp][1003][INFO][5360] ::start to post data to the server..
[03/17/17][13:37:27][AEAgent.cpp][508][INFO][5360] ::Command to execute C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\aeagent.bat scan
[03/17/17][13:37:42][AgentUtil.cpp][63][INFO][5360] ::ExitCode is 0 and return.
[03/17/17][13:37:42][AEAgent.cpp][514][INFO][5360] ::The command executed successfully.
[03/17/17][13:37:42][FileAccess.cpp][79][INFO][5360] ::Success in opening a file C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\agentdata.xml to readEntireFile.
[03/17/17][13:37:42][httphandler.cpp][478][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server -> web1
[03/17/17][13:37:42][httphandler.cpp][479][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][13:37:42][httphandler.cpp][480][INFO][5360] ::InternetSendRequestEx : URL to Post -> /discoveryServlet/WsDiscoveryServlet?computerName=L-1606-002&agentId=L-1606-001_1468966661787
[03/17/17][13:38:03][httphandler.cpp][579][ERROR][5360] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][13:38:03][httphandler.cpp][48][ERROR][5360] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:38:03][FileAccess.cpp][79][INFO][5360] ::Success in opening a file C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\agentdata.xml to readEntireFile.
[03/17/17][13:38:03][httphandler.cpp][478][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server -> 10.135.2.2
[03/17/17][13:38:03][httphandler.cpp][479][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][13:38:03][httphandler.cpp][480][INFO][5360] ::InternetSendRequestEx : URL to Post -> /discoveryServlet/WsDiscoveryServlet?computerName=L-1606-002&agentId=L-1606-001_1468966661787
[03/17/17][13:38:24][httphandler.cpp][579][ERROR][5360] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][13:38:24][httphandler.cpp][48][ERROR][5360] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:38:24][AEAgent.cpp][1043][INFO][5360] ::Failed to upload the scanned data, try after 30 minutes
[03/17/17][13:44:42][AEAgent.cpp][159][INFO][7632] ::Get Connection from : 10.135.2.2
[03/17/17][13:44:42][AEAgent.cpp][160][INFO][7632] ::Port for send data is 37879
[03/17/17][13:44:42][SSLSocket.cpp][170][INFO][7632] ::Error after SSL_read : 0
[03/17/17][13:44:42][AEAgent.cpp][1066][INFO][7632] ::*********start to send data to the server.. (/AgentTaskDetails?WSNAME=L-1606-002.pnwboces.edu&AUTH_TOKEN=b4f00248e0e56d08950d8c19f48983117fd95c55&AGENTID=L-1606-001_1468966661787&TASK=DELTASCAN)
[03/17/17][13:44:42][httphandler.cpp][478][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server -> web1
[03/17/17][13:44:42][httphandler.cpp][479][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][13:44:42][httphandler.cpp][480][INFO][7632] ::InternetSendRequestEx : URL to Post -> /AgentTaskDetails?WSNAME=L-1606-002.pnwboces.edu&AUTH_TOKEN=b4f00248e0e56d08950d8c19f48983117fd95c55&AGENTID=L-1606-001_1468966661787&TASK=DELTASCAN
[03/17/17][13:45:03][httphandler.cpp][579][ERROR][7632] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][13:45:03][httphandler.cpp][48][ERROR][7632] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:45:03][httphandler.cpp][478][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server -> 10.135.2.2
[03/17/17][13:45:03][httphandler.cpp][479][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][13:45:03][httphandler.cpp][480][INFO][7632] ::InternetSendRequestEx : URL to Post -> /AgentTaskDetails?WSNAME=L-1606-002.pnwboces.edu&AUTH_TOKEN=b4f00248e0e56d08950d8c19f48983117fd95c55&AGENTID=L-1606-001_1468966661787&TASK=DELTASCAN
[03/17/17][13:45:24][httphandler.cpp][579][ERROR][7632] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][13:45:24][httphandler.cpp][48][ERROR][7632] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:45:24][AEAgent.cpp][1076][INFO][7632] ::Failed to update the status to the server :12029
[03/17/17][13:45:24][httphandler.cpp][48][ERROR][7632] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:45:24][AEAgent.cpp][1080][INFO][7632] ::*********response from the server.. ()
[03/17/17][13:45:24][AEAgent.cpp][228][INFO][7632] :: ***** getAgentTask response : (SERVER_COMMUNICATION_FAILED)
[03/17/17][13:45:24][SSLSocket.cpp][163][INFO][7632] ::Error code after SSL_write is 0 .
Number of byte write :27
[03/17/17][13:45:24][SSLTransport.cpp][72][INFO][7632] ::Successfully send the response.
[03/17/17][13:45:24][AEAgent.cpp][461][INFO][7632] :: authToken Authenticate Failed
[03/17/17][13:45:24][AEAgent.cpp][477][INFO][7632] ::After closing the the current connection.
[03/17/17][13:54:34][AEAgent.cpp][159][INFO][7632] ::Get Connection from : 10.135.2.2
[03/17/17][13:54:34][AEAgent.cpp][160][INFO][7632] ::Port for send data is 44285
[03/17/17][13:54:34][SSLSocket.cpp][170][INFO][7632] ::Error after SSL_read : 0
[03/17/17][13:54:34][AEAgent.cpp][1066][INFO][7632] ::*********start to send data to the server.. (/AgentTaskDetails?WSNAME=l-1606-002.pnwboces.edu&AUTH_TOKEN=8b4b33e57089c946a5e99e87c8febfb090409992&AGENTID=L-1606-001_1468966661787&TASK=NEWSCAN)
[03/17/17][13:54:34][httphandler.cpp][478][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server -> web1
[03/17/17][13:54:34][httphandler.cpp][479][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][13:54:34][httphandler.cpp][480][INFO][7632] ::InternetSendRequestEx : URL to Post -> /AgentTaskDetails?WSNAME=l-1606-002.pnwboces.edu&AUTH_TOKEN=8b4b33e57089c946a5e99e87c8febfb090409992&AGENTID=L-1606-001_1468966661787&TASK=NEWSCAN
[03/17/17][13:54:55][httphandler.cpp][579][ERROR][7632] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][13:54:55][httphandler.cpp][48][ERROR][7632] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:54:55][httphandler.cpp][478][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server -> 10.135.2.2
[03/17/17][13:54:55][httphandler.cpp][479][INFO][7632] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][13:54:55][httphandler.cpp][480][INFO][7632] ::InternetSendRequestEx : URL to Post -> /AgentTaskDetails?WSNAME=l-1606-002.pnwboces.edu&AUTH_TOKEN=8b4b33e57089c946a5e99e87c8febfb090409992&AGENTID=L-1606-001_1468966661787&TASK=NEWSCAN
[03/17/17][13:55:16][httphandler.cpp][579][ERROR][7632] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][13:55:17][httphandler.cpp][48][ERROR][7632] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:55:17][AEAgent.cpp][1076][INFO][7632] ::Failed to update the status to the server :12029
[03/17/17][13:55:17][httphandler.cpp][48][ERROR][7632] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][13:55:17][AEAgent.cpp][1080][INFO][7632] ::*********response from the server.. ()
[03/17/17][13:55:17][AEAgent.cpp][228][INFO][7632] :: ***** getAgentTask response : (SERVER_COMMUNICATION_FAILED)
[03/17/17][13:55:17][SSLSocket.cpp][163][INFO][7632] ::Error code after SSL_write is 0 .
Number of byte write :27
[03/17/17][13:55:17][SSLTransport.cpp][72][INFO][7632] ::Successfully send the response.
[03/17/17][13:55:17][AEAgent.cpp][461][INFO][7632] :: authToken Authenticate Failed
[03/17/17][13:55:17][AEAgent.cpp][477][INFO][7632] ::After closing the the current connection.
[03/17/17][14:08:24][FileAccess.cpp][79][INFO][5360] ::Success in opening a file C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\agentdata.xml to readEntireFile.
[03/17/17][14:08:24][httphandler.cpp][478][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server -> web1
[03/17/17][14:08:24][httphandler.cpp][479][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][14:08:24][httphandler.cpp][480][INFO][5360] ::InternetSendRequestEx : URL to Post -> /discoveryServlet/WsDiscoveryServlet?computerName=L-1606-002&agentId=L-1606-001_1468966661787
[03/17/17][14:08:45][httphandler.cpp][579][ERROR][5360] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][14:08:45][httphandler.cpp][48][ERROR][5360] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][14:08:45][FileAccess.cpp][79][INFO][5360] ::Success in opening a file C:\Program Files (x86)\ManageEngine\AssetExplorer\bin\agentdata.xml to readEntireFile.
[03/17/17][14:08:45][httphandler.cpp][478][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server -> 10.135.2.2
[03/17/17][14:08:45][httphandler.cpp][479][INFO][5360] ::InternetSendRequestEx : AssetExplorer Server Port-> 8080
[03/17/17][14:08:45][httphandler.cpp][480][INFO][5360] ::InternetSendRequestEx : URL to Post -> /discoveryServlet/WsDiscoveryServlet?computerName=L-1606-002&agentId=L-1606-001_1468966661787
[03/17/17][14:09:07][httphandler.cpp][579][ERROR][5360] ::InternetSendRequestEx : Error in HttpSendRequestEx -> 12029
[03/17/17][14:09:07][httphandler.cpp][48][ERROR][5360] ::HttpGetLastError: The attempt to connect to the server failed.
[03/17/17][14:09:07][AEAgent.cpp][1043][INFO][5360] ::Failed to upload the scanned data, try after 30 minutes
New to ADSelfService Plus?