[jbosstools-issues] [JBoss JIRA] (JBIDE-22969) Make sure OpenShift Tools support proxies

Dmitrii Bocharov (JIRA) issues at jboss.org
Tue Sep 13 14:17:00 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-22969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitrii Bocharov updated JBIDE-22969:
-------------------------------------
    Attachment: proxy_settings_2.png


Thanks to CDK guys i could do `vagrant up` successfully with [configured proxy| https://gist.github.com/LalatenduMohanty/5062050ac78721eda9676bbc15ecfd25] and [environment variables|https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/using.rst#using-the-adb-behind-http-proxy]. For more links and info see related JIRA.

However i couldn't start CDK from Eclipse. If i do nothing in Eclipse settings, then while starting Eclipse it throws the exception in the Error Log:
{code:java}
org.apache.http.conn.ConnectTimeoutException: Connect to tools.jboss.org:443 [tools.jboss.org/209.132.182.95] failed: connect timed out
	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:134)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
	at org.apache.http.client.fluent.Executor.execute(Executor.java:206)
	at org.eclipse.epp.internal.logging.aeri.ide.server.mars.IO.request(IO.java:205)
	at org.eclipse.epp.internal.logging.aeri.ide.server.mars.IO.refreshConfiguration(IO.java:68)
	at org.eclipse.epp.internal.logging.aeri.ide.server.mars.ServerConnection.startUp(ServerConnection.java:101)
	at com.google.common.util.concurrent.AbstractIdleService$2$1.run(AbstractIdleService.java:54)
	at com.google.common.util.concurrent.Callables$3.run(Callables.java:93)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:244)
	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
	... 16 more
{code}
And while starting the CDK after and Error windows pops up, which says "Server Container Development Environment failed to start.An exception stack trace is not available."

Then i tried to set proxy in Eclipse preferences, see [^proxy_settings_2.png]. And exception remained the same, but had another message: _Server ‘org.jboss.tools’ failed with exception: Connect to 10.70.49.109:3128 [/10.70.49.109] failed: connect timed out. ; version: 2.0.1.v20160605-1811_ and i still couldn't start the CDK.

[~lalatendum], i'll continue to disturb you with this task, i'm sorry =) if you have and suggestions, that would be great.
[~rob.stryker], maybe you also have any ideas?


> Make sure OpenShift Tools support proxies
> -----------------------------------------
>
>                 Key: JBIDE-22969
>                 URL: https://issues.jboss.org/browse/JBIDE-22969
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: openshift
>            Reporter: Alexey Kazakov
>            Assignee: Dmitrii Bocharov
>             Fix For: 4.4.2.AM1
>
>         Attachments: proxy_settings.png, proxy_settings_2.png
>
>
> CDK is now support proxy servers. We also should make sure OpenShift Tools works fine with proxies too.
> If devstudio and cdk are installed using DevSuite installer and user configured proxy server correctly then everything should just work on Eclipse side.
> This issue covers:
> - testing
> - creating all needed (currently missing) automated tests (including reddeer/swt bot Integration Tests)
> - fixing any problems we have in OpenShift tooling regarding proxy support.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list