On Windows agents, Git checkout can fail due to a socket error. The error, coming from Windows, is
java.io.IOException: An operation was attempted on something that is not a socket
This error is not very user friendly, so Bamboo could add to or override the error.
Sockets unavailable, please reset WinSocks by running netsh winsock reset from the command prompt
To work around this error, please reset WinSocks as follows:
- Open the Command Prompt with elevated permissions (Run as Admin)
- Run the following command at the command prompt: netsh winsock reset
- Press Enter, and restart the computer