79760846

Date: 2025-09-10 12:15:06
Score: 4
Natty:
Report link

(Scenario) --> In the container instance

Even though i've given like below i can't able to curl....

env:
          - name: OPTION_LIBS
            value: ignite-kubernetes,ignite-rest-http

so done below:
netstat -tulnp
and i didn't find any http 8080 in the listeners.... and configured connectorConfiguration by using the below code in config

        <property name="connectorConfiguration">
            <bean class="org.apache.ignite.configuration.ConnectorConfiguration">
                <property name="host" value="0.0.0.0"/>
                <property name="port" value="8080"/>
            </bean>
        </property>

Then i can confirm that http server is started but in the name TCP binary (I'm expecting in the HTTP).... confirmed from the logs

[11:41:19,261][INFO][main][GridTcpRestProtocol] Command protocol successfully started [name=TCP binary, host=/0.0.0.0, port=8080]

so tried to curl

wget -qO- http://127.0.0.1:8080
wget: error getting response

and in the logs i've got below warning in the logs:


[12:06:56,874][WARNING][grid-nio-worker-tcp-rest-3-#42][GridTcpRestProtocol] Client disconnected abruptly due to network connection loss or because the connection was left open on application shutdown. [cls=class o.a.i.i.util.nio.GridNioException, msg=Failed to parse incoming packet (invalid packet start) [ses=GridSelectorNioSessionImpl [worker=ByteBufferNioClientWorker [readBuf=java.nio.HeapByteBuffer[pos=0 lim=90 cap=8192], super=AbstractNioClientWorker [idx=3, bytesRcvd=0, bytesSent=0, bytesRcvd0=0, bytesSent0=0, select=true, super=GridWorker [name=grid-nio-worker-tcp-rest-3, igniteInstanceName=null, finished=false, heartbeatTs=1757506016868, hashCode=1109163085, interrupted=false, runner=grid-nio-worker-tcp-rest-3-#42]]], writeBuf=null, readBuf=null, inRecovery=null, outRecovery=null, closeSocket=true, outboundMessagesQueueSizeMetric=o.a.i.i.processors.metric.impl.LongAdderMetric@27c2862d, super=GridNioSessionImpl [locAddr=/127.0.0.1:8080, rmtAddr=/127.0.0.1:59486, createTime=1757506016868, closeTime=0, bytesSent=0, bytesRcvd=90, bytesSent0=0, bytesRcvd0=90, sndSchedTime=1757506016868, lastSndTime=1757506016868, lastRcvTime=1757506016868, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=GridTcpRestParser [marsh=JdkMarshaller [clsFilter=o.a.i.marshaller.IgniteMarshallerClassFilter@fbbedd80], routerClient=false], directMode=false]], accepted=true, markedForClose=false]], b=47]]
[12:06:56,874][WARNING][grid-nio-worker-tcp-rest-3-#42][GridTcpRestProtocol] Closed client session due to exception [ses=GridSelectorNioSessionImpl [worker=ByteBufferNioClientWorker [readBuf=java.nio.HeapByteBuffer[pos=0 lim=90 cap=8192], super=AbstractNioClientWorker [idx=3, bytesRcvd=0, bytesSent=0, bytesRcvd0=0, bytesSent0=0, select=true, super=GridWorker [name=grid-nio-worker-tcp-rest-3, igniteInstanceName=null, finished=false, heartbeatTs=1757506016868, hashCode=1109163085, interrupted=false, runner=grid-nio-worker-tcp-rest-3-#42]]], writeBuf=null, readBuf=null, inRecovery=null, outRecovery=null, closeSocket=true, outboundMessagesQueueSizeMetric=o.a.i.i.processors.metric.impl.LongAdderMetric@27c2862d, super=GridNioSessionImpl [locAddr=/127.0.0.1:8080, rmtAddr=/127.0.0.1:59486, createTime=1757506016868, closeTime=1757506016868, bytesSent=0, bytesRcvd=90, bytesSent0=0, bytesRcvd0=90, sndSchedTime=1757506016868, lastSndTime=1757506016868, lastRcvTime=1757506016868, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=GridTcpRestParser [marsh=JdkMarshaller [clsFilter=o.a.i.marshaller.IgniteMarshallerClassFilter@fbbedd80], routerClient=false], directMode=false]], accepted=true, markedForClose=true]], msg=Failed to parse incoming packet (invalid packet start) [ses=GridSelectorNioSessionImpl [worker=ByteBufferNioClientWorker [readBuf=java.nio.HeapByteBuffer[pos=0 lim=90 cap=8192], super=AbstractNioClientWorker [idx=3, bytesRcvd=0, bytesSent=0, bytesRcvd0=0, bytesSent0=0, select=true, super=GridWorker [name=grid-nio-worker-tcp-rest-3, igniteInstanceName=null, finished=false, heartbeatTs=1757506016868, hashCode=1109163085, interrupted=false, runner=grid-nio-worker-tcp-rest-3-#42]]], writeBuf=null, readBuf=null, inRecovery=null, outRecovery=null, closeSocket=true, outboundMessagesQueueSizeMetric=o.a.i.i.processors.metric.impl.LongAdderMetric@27c2862d, super=GridNioSessionImpl [locAddr=/127.0.0.1:8080, rmtAddr=/127.0.0.1:59486, createTime=1757506016868, closeTime=0, bytesSent=0, bytesRcvd=90, bytesSent0=0, bytesRcvd0=90, sndSchedTime=1757506016868, lastSndTime=1757506016868, lastRcvTime=1757506016868, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=GridTcpRestParser [marsh=JdkMarshaller [clsFilter=o.a.i.marshaller.IgniteMarshallerClassFilter@fbbedd80], routerClient=false], directMode=false]], accepted=true, markedForClose=false]], b=47]]

can anyone please help me....

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • RegEx Blacklisted phrase (0.5): anyone please help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Manoj