Application closing after java.net.SocketTimeoutException

classic Classic list List threaded Threaded
4 messages Options
rakshita04 rakshita04
Reply | Threaded
Open this post in threaded view
|

Application closing after java.net.SocketTimeoutException

Hi Team,

We are using ignite for persistent data between two nodes running on
separate machines.
sometimes our application stops with below error logs and exception-
[01:18:39,477][SEVERE][tcp-disco-srvr-[:47500]-#3][TcpDiscoverySpi] Failed
to accept TCP connection.
java.net.SocketTimeoutException: Accept timed out
        at java.base/java.net.PlainSocketImpl.socketAccept(Native Method)
        at
java.base/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:458)
        at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:565)
        at
java.base/sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:202)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServer.body(ServerImpl.java:6353)
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServerThread.body(ServerImpl.java:6276)
        at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:61)
[01:18:39,505][SEVERE][tcp-disco-srvr-[:47500]-#3][] Critical system error
detected. Will be handled accordingly to configured handler
[hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0,
super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet
[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]],
failureCtx=FailureContext [type=SYSTEM_WORKER_TERMINATION,
err=java.net.SocketTimeoutException: Accept timed out]]
java.net.SocketTimeoutException: Accept timed out
        at java.base/java.net.PlainSocketImpl.socketAccept(Native Method)
        at
java.base/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:458)
        at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:565)
        at
java.base/sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:202)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServer.body(ServerImpl.java:6353)
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServerThread.body(ServerImpl.java:6276)
        at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:61)
[01:18:39,562][SEVERE][tcp-disco-srvr-[:47500]-#3][] JVM will be halted
immediately due to the failure: [failureCtx=FailureContext
[type=SYSTEM_WORKER_TERMINATION, err=java.net.SocketTimeoutException: Accept
timed out]]

Can you tell us why its happenning?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: Application closing after java.net.SocketTimeoutException

Hello!

I can see the following ticket in our JIRA: https://issues.apache.org/jira/browse/IGNITE-13504

However, I don't see any obvious workaround from Ignite side. Maybe it may be configured in your network stack.

Regards,
--
Ilya Kasnacheev


пн, 21 дек. 2020 г. в 19:40, rakshita04 <[hidden email]>:
Hi Team,

We are using ignite for persistent data between two nodes running on
separate machines.
sometimes our application stops with below error logs and exception-
[01:18:39,477][SEVERE][tcp-disco-srvr-[:47500]-#3][TcpDiscoverySpi] Failed
to accept TCP connection.
java.net.SocketTimeoutException: Accept timed out
        at java.base/java.net.PlainSocketImpl.socketAccept(Native Method)
        at
java.base/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:458)
        at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:565)
        at
java.base/sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:202)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServer.body(ServerImpl.java:6353)
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServerThread.body(ServerImpl.java:6276)
        at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:61)
[01:18:39,505][SEVERE][tcp-disco-srvr-[:47500]-#3][] Critical system error
detected. Will be handled accordingly to configured handler
[hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0,
super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet
[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]],
failureCtx=FailureContext [type=SYSTEM_WORKER_TERMINATION,
err=java.net.SocketTimeoutException: Accept timed out]]
java.net.SocketTimeoutException: Accept timed out
        at java.base/java.net.PlainSocketImpl.socketAccept(Native Method)
        at
java.base/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:458)
        at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:565)
        at
java.base/sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:202)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServer.body(ServerImpl.java:6353)
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$TcpServerThread.body(ServerImpl.java:6276)
        at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:61)
[01:18:39,562][SEVERE][tcp-disco-srvr-[:47500]-#3][] JVM will be halted
immediately due to the failure: [failureCtx=FailureContext
[type=SYSTEM_WORKER_TERMINATION, err=java.net.SocketTimeoutException: Accept
timed out]]

Can you tell us why its happenning?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
rakshita04 rakshita04
Reply | Threaded
Open this post in threaded view
|

Re: Application closing after java.net.SocketTimeoutException

we increased the "failureDetectionTimeout" to 4 minutes in our xml , still we
see this issue.
When are you planning to fix this issue?
Also is there any work around?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: Application closing after java.net.SocketTimeoutException

Hello!

I don't think anyone is working on this issue currently. You may try to tackle it yourself if you wish, submit a patch for inclusion.

Regards,
--
Ilya Kasnacheev


сб, 9 янв. 2021 г. в 11:27, rakshita04 <[hidden email]>:
we increased the "failureDetectionTimeout" to 4 minutes in our xml , still we
see this issue.
When are you planning to fix this issue?
Also is there any work around?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/