I investigated some more. So, looking at the logs when running the (working) build from my machine, it seems the first request goes to
/batch/index. When I try to
wget that URL, the connection is established, the request arrives, the server responds with a
200 (same as in build) but
wget doesn’t terminate within reasonable time. Here’s the
wget output (hostname and IP changed):
--2019-10-09 07:36:33-- http://myserver.com:9000/batch/index
Resolving myserver.com (myserver.com)... 184.108.40.206
Connecting to myserver.com (myserver.com)|220.127.116.11|:9000... connected.
HTTP request sent, awaiting response...
OK, weird, at least the server gets and logs the request. I also tried to
/batch_bootstrap/index which again worked fine.
When browsing to
/batch/index with Firefox from my workstation, I get the (seemingly) normal response
Could it be that the response is missing some terminator?
BTW, is it normal that the user string of the request is “ScannerGradle/2.8-SNAPSHOT/4.9”, even if I am running plugin v2.7.1?
I also tried with Gradle 5.6.2 and got the same results.