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

How to increase timeout? #109

Closed
paulvi opened this issue Nov 5, 2014 · 3 comments
Closed

How to increase timeout? #109

paulvi opened this issue Nov 5, 2014 · 3 comments

Comments

@paulvi
Copy link
Contributor

paulvi commented Nov 5, 2014

codenvy> info pc
Error executing command: java.net.ConnectException: Connection timed out: connect

How to increase timeout value?

@benoitf
Copy link
Contributor

benoitf commented Nov 5, 2014

Paul, are you behind a firewall ?

@paulvi
Copy link
Contributor Author

paulvi commented Nov 5, 2014

I am behind Great China FireWall in Beijing, sharing Internet connection with 1000 colleagues.

So while I can download some movies at 5MB/s, access to international resource is picky. e.g. all google* servers are not avaialble (together with Facebook, Twitter, Youtube)

Internet id different in China.

Consider it as general, slow and unreliable Internet connection, that can loose packages

@benoitf
Copy link
Contributor

benoitf commented Nov 5, 2014

With system properties you can increase timeout, else it's default timeout of the JVM

http://docs.oracle.com/javase/8/docs/technotes/guides/net/properties.html
sun.net.client.defaultConnectTimeout
sun.net.client.defaultReadTimeout

@benoitf benoitf closed this as completed in 7da506f Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants