Minifying your code. The SSL handshake can fail due to numerous different reasons so the error message may offer some additional clues. LDAP search failed. "npm --prefix ./functions/ run build" Please look at your application logs/dump or debug your code package for more details.