I recently got set up to run jcheck locally. However, when connected to Oracle's VPN, it fails as follows:
> git skara jcheck --ignore branches,committer,reviewers --verbose
Checking: 948d3aa3fed7e1cfa9c07fce40651c84610da99a
error: exception thrown during jcheck: java.net.ConnectException
With some judicious use of -Xlog:exceptions, it appears as though the problem occurs when trying to download the census as I see a ConnectException coming from https://github.com/openjdk/skara/blob/9a9400082adabf4856623e9943fa37870ca7cb90/census/src/main/java/org/openjdk/skara/census/Census.java#L198. Setting the https_proxy env var resolved the issue.
It would be helpful if the error message could indicate this possible cause and corrective action or at least state the URL that failed to be downloaded.
> git skara jcheck --ignore branches,committer,reviewers --verbose
Checking: 948d3aa3fed7e1cfa9c07fce40651c84610da99a
error: exception thrown during jcheck: java.net.ConnectException
With some judicious use of -Xlog:exceptions, it appears as though the problem occurs when trying to download the census as I see a ConnectException coming from https://github.com/openjdk/skara/blob/9a9400082adabf4856623e9943fa37870ca7cb90/census/src/main/java/org/openjdk/skara/census/Census.java#L198. Setting the https_proxy env var resolved the issue.
It would be helpful if the error message could indicate this possible cause and corrective action or at least state the URL that failed to be downloaded.