{
"nodeId":"62cjXxRa99MhToFv0RWUFWsoHwSE81W5@206.189.5.114",
"operationId":"d1999750-fde9-11e6-9f1b-913210792936", --- где это взять? я рандом ставлю
"sessionId": "/134.17.27.208:58008/206.189.5.114:8443-e0c7f857-9554-4831-a24a-096e21a8c086",
"payload":{
"message":"hello"
}
}
----
Ответ 500
{
"exception": "com.flashphoner.rest.server.exception.InternalErrorException",
"path": "/rest-api/data/send",
"error": "Internal Server Error",
"message": null,
"timestamp": 1616070529961,
"status": 500
}
в логах
12:28:49,960 INFO RestApiRouter - HTTPS-pool-5-thread-90 Use controller class com.flashphoner.rest.server.rest_v2.RestDataController with path /rest-api/data/send
12:28:49,961 INFO RestCallController - HTTPS-pool-5-thread-90 handleRequest /rest-api/data/send params:{nodeId=62cjXxRa99MhToFv0RWUFWsoHwSE81W5@206.189.5.114, operationId=d1999750-fde9-11e6-9f1b-913210792936, sessionId=/134.17.27.208:58008/206.189.5.114:8443-e0c7f857-9554-4831-a24a-096e21a8c086, payload={message=hello}}
12:28:49,961 ERROR RestCallController - HTTPS-pool-5-thread-90 Got remote exception while sending data to client!
com.flashphoner.server.commons.rmi.operations.exception.ClientNotFoundException
at com.flashphoner.rest.server.NodeApi.sendData(Unknown Source)
at com.flashphoner.rest.server.rest_v2.RestDataController.send(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.flashphoner.rest.server.RestApiRouter.processRequest(Unknown Source)
at com.flashphoner.server.http.handlers.RestApiRequestHandler.process(Unknown Source)
at com.flashphoner.server.http.G.messageReceived(Unknown Source)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(Unknown Source)
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(Unknown Source)
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(Unknown Source)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(Unknown Source)
"nodeId":"62cjXxRa99MhToFv0RWUFWsoHwSE81W5@206.189.5.114",
"operationId":"d1999750-fde9-11e6-9f1b-913210792936", --- где это взять? я рандом ставлю
"sessionId": "/134.17.27.208:58008/206.189.5.114:8443-e0c7f857-9554-4831-a24a-096e21a8c086",
"payload":{
"message":"hello"
}
}
----
Ответ 500
{
"exception": "com.flashphoner.rest.server.exception.InternalErrorException",
"path": "/rest-api/data/send",
"error": "Internal Server Error",
"message": null,
"timestamp": 1616070529961,
"status": 500
}
в логах
12:28:49,960 INFO RestApiRouter - HTTPS-pool-5-thread-90 Use controller class com.flashphoner.rest.server.rest_v2.RestDataController with path /rest-api/data/send
12:28:49,961 INFO RestCallController - HTTPS-pool-5-thread-90 handleRequest /rest-api/data/send params:{nodeId=62cjXxRa99MhToFv0RWUFWsoHwSE81W5@206.189.5.114, operationId=d1999750-fde9-11e6-9f1b-913210792936, sessionId=/134.17.27.208:58008/206.189.5.114:8443-e0c7f857-9554-4831-a24a-096e21a8c086, payload={message=hello}}
12:28:49,961 ERROR RestCallController - HTTPS-pool-5-thread-90 Got remote exception while sending data to client!
com.flashphoner.server.commons.rmi.operations.exception.ClientNotFoundException
at com.flashphoner.rest.server.NodeApi.sendData(Unknown Source)
at com.flashphoner.rest.server.rest_v2.RestDataController.send(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.flashphoner.rest.server.RestApiRouter.processRequest(Unknown Source)
at com.flashphoner.server.http.handlers.RestApiRequestHandler.process(Unknown Source)
at com.flashphoner.server.http.G.messageReceived(Unknown Source)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(Unknown Source)
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(Unknown Source)
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(Unknown Source)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(Unknown Source)
Last edited: