Go to All Forums

Error in WinHttpSendRequest 12002

Dear Team,

The Agent automatically stops and also domain, IP and port has been whitelisted/open.

Also no proxy has been placed in the environment.  Kindly guide us for this issue

Below given is the logs of Site24x7 Windows Monitoring :

2020/07/28  13:51:43:314 RotateLogger : LoggerMaxFiles 9
2020/07/28  13:51:43:314 RotateLogger : LoggerMaxSize 1000000 bytes .
2020/07/28  13:51:43:317 ServiceMain :: 13:51:43 Site24x7 Agent Service is started successfully2020/07/28  13:51:43:338 MonitoringEnabled :: TRUE
2020/07/28  13:51:43:340 upTimeMonitoring : 02020/07/28  13:51:43:517 proxy server Enabled : 2020/07/28  13:51:43:517 Current working directory D:\SITE24x7_HW\WinAgent\monitoring\bin 
2020/07/28  13:52:01:624 InternetGetRequestEx :  Error in WinHttpSendRequest [169.254.169.254] -> 120022020/07/28  13:52:04:624 InternetGetRequestEx :  Error in WinHttpSendRequest [169.254.169.254] -> 120022020/07/28  13:52:07:625 InternetGetRequestEx :  Error in WinHttpSendRequest [169.254.169.254] -> 120022020/07/28  13:52:10:625 InternetGetRequestEx :  Error in WinHttpSendRequest [169.254.169.254] -> 120022020/07/28  13:52:10:628 GetServerLocation :: server - plus.site24x7.com secondary server - plus2.site24x7.com2020/07/28  13:52:10:630 GetServerLocation :: server - plus.site24x7.com secondary server - plus2.site24x7.com2020/07/28  13:52:10:638 Going to Register Agent on Date: 28-07-20, Time 13:52:10
2020/07/28  13:52:32:096 Customer ID : AgentKey 
2020/07/28  13:52:32:096 IP Address  : Masked_For_Safety 
2020/07/28  13:52:32:096 OperatingSystem : Windows 2008 R2 
2020/07/28  13:52:32:096 MonitoringAent DNS : TESTSERVER.COM 
2020/07/28  13:52:32:096 Product Version : 19.7.2 
2020/07/28  13:52:32:096 Register Agent :: datatosend :: ?custID=AgentKey&monagentID=TESTSERVER&monagentKey=SITE24X7&IpAddress=Masked_For_Safety&osName=Windows 2008 R2&agentUniqueID=1595921547&category=Server&monagentDNS=TESTSERVER.COM&updateStatus=yes&agentVersion=9.0.9&productVersion=19.7.2&isMasterAgent=NO&MACAddress=00:0a:f7:57:fc:76,00:0a:f7:57:fc:74&installer=STANDALONE&freeServiceFormat=json&bno=1972&upTime=67183&uuid=49B4754F-7CB6-11E4-91A8-40F2E9C34118&DomainName=ADCCBCBS.COM&OsArch=64&timeStamp=15959245520952020/07/28  13:52:34:630 SubString returned NULL for NSPORT
2020/07/28  13:52:34:630 SubString returned NULL for timeDiff
2020/07/28  13:52:34:631 InternetGetRequestEx : Status -> [plus.site24x7.com] ->  2002020/07/28  13:52:34:631 Register Agent :: Data Posted Successfully2020/07/28  13:52:34:631 agent Run flag is set to FALSE. Shutting down the agent2020/07/28  13:52:34:633 ************13:52:34 Service Control Stop notification is received************2020/07/28  13:52:34:671 Status update :: datatosend :: /plus/StatusUpdateServlet?agentKey=SITE24X7&agentStatus=AGENT_DOWN&serviceName=Site24x7 Windows Agent&CUSTOMERID=AgentKey&AGENTUNIQUEID=1595921547&timeStamp=15959245546712020/07/28  13:52:35:204 InternetGetRequestEx : Failed with the http status code 4042020/07/28  13:52:35:204 SendAgentStatus - Failed to post the data to server with error code [13]2020/07/28  13:52:35:497 Inside FreeAllResources()

Like (2) Reply
Replies (3)

Re: Error in WinHttpSendRequest 12002

Hi,

Please follow the troubleshooting steps given in this article if the server monitor fails to show up on your Site24x7 web client even after successful installation of the agent.
 
 
If the issue still persists, please send the agent logs to support@site24x7.com for further analysis.
 
 
Regards,
Hisham
Like (0) Reply

Re: Diego Alfaro

Hello, can you correct the problem with what 24X7 support proposed

Like (0) Edit Delete Reply

Re: Re: Diego Alfaro

Hi,

Please follow the troubleshooting steps given in this article to fix this issue. We believe that the above user also resolved the issue the same way, as they did not share their logs to our support ID.

We recommend you to follow that article and check if the monitor shows as Up. If the issue still persists, please send the agent logs to support@site24x7.com for further analysis.

 

Regards,

Hisham

Like (0) Reply

Was this post helpful?