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

Ivan Pavlukhin commented on IGNITE-12570:
-----------------------------------------

[~sen.shubhendra], some clarifying questions:
# How often exceptions arrive to log? Does it cause any problems for your 
deployment?
# In what network is your server located?

As Igor wrote it might be caused by some software which is not an Ignite client 
sending data to thin client port. For example, some network scanning software 
can cause it.

Also, if you do not need thin clients and ODBC/JDBC in your deployment, you can 
disable client connector in IgniteConfiguration. After that you will not see 
mentioned exceptions in logs.
{code}
IgniteConfiguration cfg = new 
IgniteConfiguration().setClientConnectorConfiguration(null);
{code}

> What is the root cause of IgniteCheckedException: Invalid handshake message
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-12570
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12570
>             Project: Ignite
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 2.7.5
>            Reporter: shubhendra sen
>            Priority: Major
>
> Two environments are there. On one environment ignite servers are working 
> properly. but on the other environment i am getting an exception.
>  
> **
> Closing NIO session because of unhandled exception.
> org.apache.ignite.IgniteCheckedException: Invalid handshake message
>  at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioServerBuffer.read(ClientListenerNioServerBuffer.java:114)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.processors.odbc.ClientListenerBufferedParser.decode(ClientListenerBufferedParser.java:59)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.processors.odbc.ClientListenerBufferedParser.decode(ClientListenerBufferedParser.java:39)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioCodecFilter.onMessageReceived(GridNioCodecFilter.java:113)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:108)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$HeadFilter.onMessageReceived(GridNioServer.java:3575)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioFilterChain.onMessageReceived(GridNioFilterChain.java:174)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.java:1150)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2411)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2178)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1819)
>  ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119) 
> ~[ignite-core-8.7.5.jar!/:8.7.5]
>  at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
>  
> So i have two Questions.
> 1) What could be the possible causes of this exception ?. and 
> 2)What re the solutions.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to