-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
None
-
None
-
None
-
Severity 3 - Minor
-
Summary
If sockets are not available on Windows agents, source code checkouts will fail with a Windows socket error
Steps to Reproduce
- Set up a Windows agent with invalid WinSocks configuration that needs to be refreshed
- Set up a build with source code checkout
- Run the build
Expected Results
The build runs as expected
Actual Results
The below exception is thrown in the atlassian-bamboo.log file:
2017-07-20 17:29:26,299 WARN [sshd-SshServer[1272c81]-nio2-thread-1] [Nio2Acceptor] Caught IOException while accepting incoming connection from /127.0.0.1:53265: An operation was attempted on something that is not a socket java.io.IOException: An operation was attempted on something that is not a socket
Workaround
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
Related
Improvement request: