[infinispan-issues] [JBoss JIRA] (ISPN-6930) ERROR logged when consuming events with SSL

Gustavo Fernandes (JIRA) issues at jboss.org
Fri Aug 5 07:17:00 EDT 2016


Gustavo Fernandes created ISPN-6930:
---------------------------------------

             Summary: ERROR logged when consuming events with SSL
                 Key: ISPN-6930
                 URL: https://issues.jboss.org/browse/ISPN-6930
             Project: Infinispan
          Issue Type: Bug
            Reporter: Gustavo Fernandes


When closing the remote cache manager that has an event listener and connects via SSL, the Hot Rod client logs an ERROR

{noformat}
2016-08-05 12:14:53 [Client-Listener-org.infinispan.spark.suites.JavaStreamApiSecureSuite-3219f3f2007a4ba4] ERROR ClientListenerNotifier:278 - ISPN004043: Unrecoverable error reading event from server localhost/127.0.0.1:11222, exiting event reader thread
org.infinispan.client.hotrod.exceptions.TransportException:: java.net.SocketException: Socket closed
	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:207)
	at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305)
	at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147)
	at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:262)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.infinispan.client.hotrod.event.ClientListenerNotifier.lambda$null$0(ClientListenerNotifier.java:78)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
	at java.net.SocketInputStream.read(SocketInputStream.java:203)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:202)
	... 9 more

{noformat}

The error is not throw when not using SSL.



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


More information about the infinispan-issues mailing list