Here are some error codes that a user may experience when running our Stub Installer and what they mean.
- Exit Code 0: This means that the stub has completed its installation, and the machine has successfully registered. You should now be able to see it on Portal.
- Exit Code 1: This means the stub failed to properly complete. This can happen for a variety of reasons, and would most likely be accompanied by other errors that would explain what happened.
- Exit Code 28: This exit code may be seen when the stub is running cURL against our APIs. It typically means that there was a timeout in reaching our API, resulting in a failure of the cURL call. A suggestion for this is to increase the curl_connect_timeout that can be found at the beginning of our stub in the following lines. A good suggestion would be to increase it to 60, and then continue to increase if the same issue arises.
CURL_CONNECT_TIMEOUT=${CURL_CONNECT_TIMEOUT:-10}
CURL_MAX_TIME=${CURL_MAX_TIME:-900} - Exit Code 60: This exit code is usually seen when the stub runs a cURL against our first API. It indicates that SSL Certificate verification has failed as the certificate chain cannot be validated against trusted Certificate Authorities. In this scenario, TL generally recommends to disable SSL Inspection for this machine or the network it is attached to for the installation to complete, and should leave it disable so it can continue to function as intended. Further information about SSL Inspection with TL may be found here. SSL Inspection | ThreatLocker Help Center
Help Center