Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10618

subprocess_server.py fails to find a free port in IPv6 only environment

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.24.0
    • sdk-py-core
    • None

    Description

      ../apache_beam/utils/subprocess_server.py", line 294, in find_free_port
          s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        File "<embedded stdlib>/socket.py", line 144, in __init__
          _socket.socket.__init__(self, family, type, proto, fileno)
      OSError: [Errno 97] Address family not supported by protocol
      

      Attachments

        Issue Links

          Activity

            People

              bhulette Brian Hulette
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m