Skip to content

Bootstrap failed: Failed to establish TLS connection: underlying network error () #5384

Answered by olehermanse
olehermanse asked this question in Q&A
Discussion options

You must be logged in to vote

Some things to check:

  1. Correct IP: Is the IP address correct? The --bootstrap argument should always have the IP address where you can reach the hub (both when running the command on the hub and on clients).
  2. Firewalls: Are any firewalls blocking the connection? For the bootstrap to work, inbound connections to the hub on port 5308 must be allowed. In general, for file transfer, reporting, and remote agent runs to work, port 5308 should be open on all CFEngine hosts.
  3. Network test: It can be beneficial to test the network connection with separate tools. For example: ping 1.2.3.4, or cf-net -H 1.2.3.4 connect.
  4. Server logs: On the hub, look for any connections or errors in the cf-serverd logs;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by olehermanse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant