In order to confirm the issue you can check both the localhost and the IP of the BOSH Director to rule out if the issue is with the UAA / Credhub or outside of the BOSH Director VM. This can be done using the following commands which we have modified for the purpose of this test from the code snipped mentioned above:
curl --max-time 5 --connect-timeout 2 https://localhost:8443/healthz -k
curl --max-time 5 --connect-timeout 2 https://IP:8443/healthz -k
If the above commands give you an output similar to the one below, Then this there is an issue outside of the BOSH Director:
curl --max-time 5 --connect-timeout 2 https://localhost:8443/healthz -k
ok
curl --max-time 5 --connect-timeout 2 https://IP:8443/healthz -k
curl: (28) Operation timed out after 5001 milliseconds with 0 bytes received
To scope down the issue further you can also perform the following test:
It is possible the problem is miss-configured or not configured Reverse DNS zones in the your environment. To verify this you can run
nslookup
to the IP address of the BOSH Director from another appliance with access to the same DNS server. You will probably observe a timeout or an error.
Based on the results of the troubleshooting steps above the miss-configuration in the environment has to be resolved.
Possible causes can be:
- Wrong DNS server
- Firewall blocking the communication between BOSH Director and DNS server
- No routing between BOSH Director and the DNS server
- Missing Reverse DNS zone in the DNS server configuration
- Other networking issue preventing correct DNS functionality