Last time we started watching nodejs hanging on several TeamCity build agents when they builds website static content with webpack. Hanging was detected when nodejs was loading npm-package from our locally installed GitLab Community repository (here and after gitlab.com):
- nodejs cloned git-repository by ssh
- git executes ssh
ssh thought git-host untrusted and issue user prompt for adding this host to known_hosts file like:
The authenticity of host 'gitlab.com (<ip-address>)' can't be established. RSA key fingerprint is SHA256:<public-key>. Are you sure you want to continue connecting (yes/no)?
executing git-cloning hanging until user enters