Given the error, all we can really say is that it doesn't look like an Ignite issue -- the error is "can't write to socket" which is lower-level than even Java.
On Wed, 9 Oct 2024 at 05:23, Charlin S <[email protected]> wrote: > Hi Stephen, > Thank you for your email. > Why is it not happening? for other client nodes which are there in the > same network. > > Regards, > > > On Tue, 8 Oct 2024 at 18:22, Stephen Darlington <[email protected]> > wrote: > >> It's likely something to do with your network configuration. Firewall, >> routing, something like that. Basically, Ignite tried to write to a port >> and the OS wouldn't allow it. >> >> On Mon, 7 Oct 2024 at 12:55, Charlin S <[email protected]> wrote: >> >>> Hi All, >>> I am having a requirement to start/add a new Ignite client node based on >>> utilization. >>> Client nodes started but got below exception in some time. New Ignite >>> client node configuration same as other existing client node configuration. >>> >>> Failed to send message: TcpDiscoveryClientMetricsUpdateMessage >>> [super=TcpDiscoveryAbstractMessage [sndNodeId=null, >>> id=3e288d84291-01eb85a2-7a69-4c1f-a37e-f1060a0e44a7, verifierNodeId=null, >>> topVer=0, pendingIdx=0, failedNodes=null, isClient=true]] >>> class org.apache.ignite.IgniteCheckedException: Failed to serialize >>> object: TcpDiscoveryClientMetricsUpdateMessage >>> [super=TcpDiscoveryAbstractMessage [sndNodeId=null, >>> id=3e288d84291-01eb85a2-7a69-4c1f-a37e-f1060a0e44a7, verifierNodeId=null, >>> topVer=0, pendingIdx=0, failedNodes=null, isClient=true]] >>> at >>> org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal0(JdkMarshaller.java:102) >>> at >>> org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.marshal(AbstractNodeNameAwareMarshaller.java:68) >>> at >>> org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10597) >>> at >>> org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.writeToSocket(TcpDiscoverySpi.java:1764) >>> at >>> org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.writeToSocket(TcpDiscoverySpi.java:1701) >>> at >>> org.apache.ignite.spi.discovery.tcp.ClientImpl$SocketWriter.body(ClientImpl.java:1445) >>> at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:58) >>> Caused by: java.net.SocketException: Software caused connection abort: >>> socket write error >>> >>> Client config >>> <?xml version="1.0" encoding="UTF-8"?> >>> <beans xmlns="http://www.springframework.org/schema/beans" >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xmlns:util="http://www.springframework.org/schema/util" >>> xsi:schemaLocation="http://www.springframework.org/schema/beans >>> >>> http://www.springframework.org/schema/beans/spring-beans.xsd >>> http://www.springframework.org/schema/util >>> >>> http://www.springframework.org/schema/util/spring-util.xsd"> >>> <bean class="org.apache.ignite.configuration.IgniteConfiguration"> >>> <property name="clientMode" value="true"/> >>> <property name="clientFailureDetectionTimeout" value="120000"/> >>> <property name="igniteInstanceName" value="staticcache-grid-dev"/> >>> <property name="longQueryWarningTimeout" value="4000"/> >>> <property name="failureDetectionTimeout" value="120000"/> >>> <property name="localHost" value="IPAddress of localhost"/> >>> <property name="segmentationPolicy" value="RESTART_JVM"/> >>> <property name="segmentCheckFrequency" value="20000"/> >>> <property name="segmentationResolveAttempts" value="10"/> >>> <property name="discoverySpi"> >>> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> >>> <property name="localPort" value="53500"/> >>> <property name="ipFinder"> >>> <bean >>> class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> >>> <property name="addresses"> >>> <list> >>> <value>IPaddress of Ignite server:53500</value> >>> </list> >>> </property> >>> </bean> >>> </property> >>> </bean> >>> </property> >>> <property name="communicationSpi"> >>> <bean >>> class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi"> >>> <property name="sharedMemoryPort" value="-1"/> >>> <property name="localPort" value="53605"/> >>> </bean> >>> </property> >>> </bean> >>> </beans> >>> Please suggest me if any >>> >>> Thanks >>> Charlin >>> >>> >>> >>>
