Page 1 of 1

[Solved] Remote Core Connection

Posted: Thu Nov 20, 2025 3:24 pm
by sharkless
I am having issues getting a remote core to connect to the main server. I know that they can ping each other and that the port is open to each of them. On the remote core I am getting this in the log.

2025-11-20 10:24:24.266 INFO 953 --- [conn-retry-1] .t.c.CustomTcpNioClientConnectionFactory : Connecting to 10.21.100.21:8085, timeout: 5000 ms
2025-11-20 10:24:24.272 INFO 953 --- [conn-retry-1] s.n.t.c.i.CoreConnectionLogger : Connected '10.21.100.21:8085:58846:9111ef51-ce79-40a3-8b38-5379fcb310b7'
2025-11-20 10:24:24.377 WARN 953 --- [pool-2-thread-2045] s.netcore.tcp.client.SpringTcpClient : Deserialization exception caught on connection

java.io.IOException: Expected STX to begin message
at software.netcore.tcp.ByteArrayStxEtxBlockSerializer.deserialize(ByteArrayStxEtxBlockSerializer.java:56)
at software.netcore.tcp.ByteArrayStxEtxBlockSerializer.deserialize(ByteArrayStxEtxBlockSerializer.java:20)
at software.netcore.tcp.client.connection.serializer.ClientJsonSerializer.deserialize(ClientJsonSerializer.java:61)
at software.netcore.tcp.client.connection.serializer.ClientJsonSerializer.deserialize(ClientJsonSerializer.java:26)
at org.springframework.integration.ip.tcp.connection.TcpNioConnection.getPayload(TcpNioConnection.java:187)
at org.springframework.integration.ip.tcp.connection.TcpMessageMapper.toMessage(TcpMessageMapper.java:176)
at org.springframework.integration.ip.tcp.connection.TcpMessageMapper.toMessage(TcpMessageMapper.java:63)
at org.springframework.integration.mapping.InboundMessageMapper.toMessage(InboundMessageMapper.java:43)
at org.springframework.integration.ip.tcp.connection.TcpNioConnection.convert(TcpNioConnection.java:385)
at org.springframework.integration.ip.tcp.connection.TcpNioConnection.run(TcpNioConnection.java:255)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

2025-11-20 10:24:24.378 INFO 953 --- [pool-2-thread-2044] s.n.t.c.i.CoreConnectionLogger : Closed '10.21.100.21:8085:58846:9111ef51-ce79-40a3-8b38-5379fcb310b7'

Re: Remote Core Connection

Posted: Sun Nov 30, 2025 2:35 pm
by Tomas
sharkless wrote:
Thu Nov 20, 2025 3:24 pm
I am having issues getting a remote core to connect to the main server. I know that they can ping each other and that the port is open to each of them. On the remote core I am getting this in the log.

2025-11-20 10:24:24.266 INFO 953 --- [conn-retry-1] .t.c.CustomTcpNioClientConnectionFactory : Connecting to 10.21.100.21:8085, timeout: 5000 ms
Hello,

You are using port 8085, which is the web interface port. The Core connects on port 5509 :)
More info here as well: https://wiki.unimus.net/display/UNPUB/P ... +by+Unimus