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

Improved reporting when git hangs on Windows agents due to socket error

XMLWordPrintable

    • 0
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      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

      Suggested Solution

      This error is not very user friendly, so Bamboo could add to or override the error.
      For example:

      Sockets unavailable, please reset WinSocks by running netsh winsock reset from the command prompt

      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

              Unassigned Unassigned
              ezeidan Ellie Z (they/them)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: