Warning "Could not reach server within 5 seconds" when installing agent on Windows
search cancel

Warning "Could not reach server within 5 seconds" when installing agent on Windows

book

Article ID: 402793

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • You are deploying an agent on Windows. In the configuration step you got an error message: "Could not reach server within 5 seconds"
  • If you complete the installation, there is no communication with the server
  • Installation problem unable to polls Logs server

 

Environment

VMware Aria Operations for Logs 8.x
VMware Cloud Foundation Operations for Logs 9.0

Cause

The Windows computer does not trust the Operations for Logs certificate. Entries like below are seen in the C:\ProgramData\VMware\Log Insight Agent\log\liagent_<date>.log file

<trace> CFApiTransport:130 | Connecting to server <ip/fqdn>:9543
<warng> SSLVerifyContex:165| Certificate pre-verify error = 19 while trying connect to '<ip/fqdn>'. self signed certificate in certificate chain
<error> CurlConnection:707 | Transport error while trying to connect to '<ip/fqdn>': SSL peer certificate or SSH remote key was not OK

Resolution

  1. Open the C:\ProgramData\VMware\Log Insight Agent\liagent.ini file with a text editor
  2. Add the following line in the [server] section
    ssl_accept_any=yes
  3. Save the file

Note: The agent will automatically detect the file change and apply the settings.

Additional Information