Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3121

Gradle 1.12 on FreeBSD fails with "Cannot accept connection from remote address"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-rc-1

      Description

      I'm running my build in a FreeBSD jail which does not have a loopback address, localhost host resolves to 192.168.200.44.
      On upgrading to 1.12 or 2.0 I get the error below:

      $ ./gradlew clean
      :buildSrc:clean
      :buildSrc:compileJava UP-TO-DATE
      :buildSrc:compileGroovy
      Cannot accept connection from remote address /192.168.200.44.
      :buildSrc:compileGroovy FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':compileGroovy'.
        > Unable to connect to the child process 'Gradle Compiler Daemon 1'.
        It is likely that the child process have crashed - please find the stack trace in the build log.
        This exception might occur when the build machine is extremely loaded.
        The connection attempt hit a timeout after 120.0 seconds (last known process state: STARTED, running: true).
      • Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

      BUILD FAILED

      Possible regression [1]http://issues.gradle.org/browse/GRADL... ?

      Full debug:
      [2]https://gist.github.com/phillashworth...
      ----------------------------------------------------------------------------------------
      [1] http://issues.gradle.org/browse/GRADLE-2265
      [2] https://gist.github.com/phillashworth/c5f0a6a4ae55a4bd9a6b

        Attachments

          Activity

            People

            Assignee:
            wolf Stefan Wolf
            Reporter:
            forums Gradle Forums
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: