Can someone please shed some light on this cryptic exception being thrown when I try to connect and send a REST request to a local Ignite node ?
The request looks like this :
http://127.0.0.1:8080/ignite?cmd=top
There is no response from Ignite but I see the following in logs :
[GridTcpRestProtocol] Closing NIO session because of unhandled exception [cls=class o.a.i.i.util.nio.GridNioException, msg=Failed to parse incoming packet (invalid packet start) [ses=GridSelectorNioSessionImpl [selectorIdx=2, queueSize=0, writeBuf=null, readBuf=null, recovery=null, super=GridNioSessionImpl [locAddr=/127.0.0.1:8080, rmtAddr=/127.0.0.1:64501, createTime=1439344656124, closeTime=0, bytesSent=0, bytesRcvd=278, sndSchedTime=1439344656124, lastSndTime=1439344656124, lastRcvTime=1439344656124, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=GridTcpRestParser [jdkMarshaller=JdkMarshaller [], routerClient=false], directMode=false]], accepted=true]], b=47]]
I am not able to figure out whats going wrong here. Searching the web for this issue I did not yeild much success. Please help. Thanks in advance.
Related
I'm working on a REST API that uses Akka, we inherited it from a previous team, and none of us have experience with Akka before this.
Akka is being used to process the data the API is returning, and acting as the HTTP server.
Recently when the API was under load, we started getting failures like so:
),HttpProtocol(HTTP/1.1)), Response: HttpResponse(500 Internal Server Error,List(),HttpEntity.Strict(text/plain; charset=UTF-8,
Error Code: 500
Type: Internal Server Error
Stack Trace:
akka.stream.StreamTcpException: The connection actor has terminated. Stopping now.
),HttpProtocol(HTTP/1.1)), Time: 6430 ms
I have no idea where the above error is happening in the code, or how to appropriately handle this error when it happens.
Can anyone give suggestions on how to trace this down further, or suggestions on how to handle and recover from these types of issues?
I'm getting below error when I tried to hit kie server from java application
Exception in thread "main"
org.kie.server.client.KieServicesException: Error while creating
service response! The actual result type class
org.kie.server.api.model.KieContainerResourceList does not match
the expected type class
org.kie.server.api.model.KieServerInfo!
Can anyone please help me in resolving this
Getting error at below location in my code :
KieServicesClient client = KieServicesFactory.newKieServicesClient(config);
I suppose that you are using REST transport protocol in Kie server client.
It seems that you put wrong server URL parameter to your instance of KieServicesConfiguration. Correct URL looks like this:
http://<server>:<port>/<context>/services/rest/server
Your server URL seems to be:
http://<server>:<port>/<context>/services/rest/server/containers
Which is actually URL of endpoint for retrieving containers list in Kie server.
I have this error when I'm trying to invoke an operation of my web service. I'm using Eclipse and the web service is a simple "Say hello" one. Here's the entire error :
IWAB0135E An unexpected error has occurred.
java.net.ConnectException
Connection timed out: connect
Does anyone know how I could fix that ? Thank you in advance
It says "java.net.ConnectException Connection timed out: connect". Make sure that your end points are correct and service is listening properly.
Hi I am having an issue with the SOAP , when I call my services I get this error:
<env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Error occured while service was processing.</faultstring>
</env:Fault>
Do you know how to solve this problem then please help me.
This is not a symptom of one specific problem. All it says is that an "Error occured while service was processing.".
You'll have to look at any server logs to find out what error this was.
I am using MSMQ and java client. When I try to receive messages, I get
hr <-1072824294> . Any ideas ?
Thanks
you are getting MQ_ERROR_BUFFER_OVERFLOW error . check your code please