ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Konstantinov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-7067) web agent throws SocketTimeoutException instead of userfriendly error message
Date Wed, 06 Dec 2017 04:12:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279632#comment-16279632
] 

Pavel Konstantinov commented on IGNITE-7067:
--------------------------------------------

The reason of that is the some other service was bound on port 8080

> web agent throws SocketTimeoutException instead of userfriendly error message
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-7067
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7067
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Pavel Konstantinov
>
> This happens on Ubuntu on OpenJDK  "1.8.0_151"
> {code}
> openjdk version "1.8.0_151"
> OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
> OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
> [2017-11-29 16:49:33,546][INFO ][main][AgentLauncher] Starting Apache Ignite Web Console
Agent...
> ...
> [2017-11-29 16:49:33,950][INFO ][main][AgentLauncher] Connecting to: http://localhost
> [2017-11-29 16:49:34,079][INFO ][EventThread][AgentLauncher] Connection established.
> [2017-11-29 16:49:34,143][INFO ][EventThread][AgentLauncher] Authentication success.
> [2017-11-29 16:49:44,152][ERROR][pool-1-thread-1][ClusterListener] WatchTask failed
> 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 okhttp3.internal.platform.Platform.connectSocket(Platform.java:124)
> 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:221)
> 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:147)
> 	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:192)
> 	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121)
> 	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100)
> 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
> 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
> 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
> 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
> 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
> 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
> 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
> 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
> 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
> 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
> 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
> 	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)
> 	at okhttp3.RealCall.execute(RealCall.java:69)
> 	at org.apache.ignite.console.agent.rest.RestExecutor.sendRequest(RestExecutor.java:153)
> 	at org.apache.ignite.console.agent.rest.RestExecutor.topology(RestExecutor.java:220)
> 	at org.apache.ignite.console.agent.handlers.ClusterListener$WatchTask.run(ClusterListener.java:257)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message