conscript icon indicating copy to clipboard operation
conscript copied to clipboard

timeout issue possibly relating to proxy

Open mike-legg opened this issue 8 years ago • 2 comments

When I run: $ cs foundweekends/giter8

I get (after a minute or so): An unexpected error occurred: Please check your internet connection. Exception message: connection timed out: api.github.com/192.30.253.116:443 to https://api.github.com/repos/foundweekends/giter8/git/refs/heads/master

Internet connection is OK (can access that from other tools, e.g. curl)

have set proxy using JAVA_OPTS eg:

$ echo $JAVA_OPTS -Dhttp.proxyHost=my.proxy.server -Dhttp.proxyPort=1234 -Dhttps.proxyHost=my.proxy.server -Dhttps.proxyPort=1234

plus everything else on my system seems happy proxy wise

I am on centos 7.3 Java 1.8

mike-legg avatar Dec 19 '16 14:12 mike-legg

Same here, Oracle Java 1.8 on Ubuntu 16

nsushkin avatar Jan 31 '17 19:01 nsushkin

As per Using Dispatch behind Proxy, adding -Dcom.ning.http.client.AsyncHttpClientConfig.useProxyProperties=true to JAVA_OPTS solved the issue for me.

nsushkin avatar Jan 31 '17 19:01 nsushkin