[GRADLE-3121] Gradle 1.12 on FreeBSD fails with "Cannot accept connection from remote address" Created: 02/Jul/14  Updated: 21/Jun/16  Resolved: 21/Jun/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 3.0-rc-1

Type: Bug
Reporter: Gradle Forums Assignee: Stefan Wolf
Resolution: Fixed Votes: 1

Attachments: PNG File RocketTab_proxy.png    

 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



 Comments   
Comment by Torben Vesterager [ 19/Nov/14 ]

I managed to recreate this on Windows and gradle 2.2 just now.
I wonder if this happened because my system was hijacked by RocketTab, which made itself proxy:

Generated at Wed Jun 30 12:40:34 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.