Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout issue possibly relating to proxy #114

Open
mike-legg opened this issue Dec 19, 2016 · 2 comments
Open

timeout issue possibly relating to proxy #114

mike-legg opened this issue Dec 19, 2016 · 2 comments

Comments

@mike-legg
Copy link

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

@nsushkin
Copy link

Same here, Oracle Java 1.8 on Ubuntu 16

@nsushkin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants