Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18570

Socket failure on Windows agents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • None
    • None
    • None
    • None

      Summary

      If sockets are not available on Windows agents, source code checkouts will fail with a Windows socket error

      Steps to Reproduce

      1. Set up a Windows agent with invalid WinSocks configuration that needs to be refreshed
      2. Set up a build with source code checkout
      3. 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:

      1. Open the Command Prompt with elevated permissions (Run as Admin)
      2. Run the following command at the command prompt: netsh winsock reset
      3. Press Enter, and restart the computer

      Related

      Improvement request:

            Unassigned Unassigned
            ezeidan Elias Zeidan (they/them)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: