SubscriberMessageReader:read Exception

aaaaaaaa
aaaaaaaa Unconfirmed, Member Posts: 1

Hi, I've been trying to setup Solace in Java using solace-java-spring-boot-starter. Was able to publish and subscribe to and from a remote server however, IOException is being thrown a lot of times and it won't stop. I'm not really sure how to trace the issue. Has anyone encountered the same issue?

SubscriberMessageReader:read Exception
java.io.IOException: Operation timed out
at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[na:1.8.0_221]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[na:1.8.0_221]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[na:1.8.0_221]
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[na:1.8.0_221]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[na:1.8.0_221]
at com.solacesystems.jcsmp.protocol.nio.impl.AbstractSMFReadHandler.drainSocketData(AbstractSMFReadHandler.java:43) ~[sol-jcsmp-10.6.3.jar:na]

Tagged:

Best Answer

Answers

  • Aaron
    Aaron Member, Administrator, Moderator, Employee Posts: 508 admin

    Some kind of timeout, eh? Is this when it's waiting, trying to retrieve a message when there is none published?

    Is it possible to turn up the Solace API logging to DEBUG, usually via a log4j configuration file, or something similar?