errorcode":"messaging.adaptors.http.ServerError" after upgrade from 15.01 to 15.07

asurajpai
Participant V

Hi,

I have upgraded from 15.01 to 15.07.

After the upgrade none of the api proxy are getting hit and the response is the error code as follows;

{"fault":{"faultstring":"Internal server error Received unknown request for Organization:vlaborg;Environment:vlab;APIProxy:google;Revision:2","detail":{"errorcode":"messaging.adaptors.http.ServerError"}}}

curl -u $pass http://localhost:8080/v1/o/vlaborg/apis/google/deployments { "environment" : [ { "name" : "vlab", "revision" : [ { "configuration" : { "basePath" : "/", "steps" : [ ] }, "name" : "2", "server" : [ { "status" : "deployed", "type" : [ "message-processor" ], "uUID" : "b1a8bdba-ac73-4f26-b833-7f6a8ad4fd46" }, { "status" : "deployed", "type" : [ "message-processor" ], "uUID" : "a139f998-e380-4059-84d0-a619c17c3b9c" }, { "status" : "deployed", "type" : [ "router" ], "uUID" : "16b6fb1b-6d3b-4f56-aa86-9961e85b1055" }, { "status" : "deployed", "type" : [ "router" ], "uUID" : "87d36bbf-41aa-4ae1-a52f-7d591498e969" } ], "state" : "deployed" } ] } ], "name" : "google", "organization" : "vlaborg"

Above command displays that it is deployed but why the error?

Please let know how to resolve this issue.

1 4 2,015
4 REPLIES 4

asurajpai
Participant V

Also find the message processor log when I hit the proxy.

2015-12-19 18:07:56,778 172.x.x.x message-processor NIOThread@3 ERROR ADAPTORS.HTTP.FLOW - AbstractRequestListener.onException() : Request: GET, uri: /google, message Id:null, exception:com.apigee.kernel.exceptions.spi.UncheckedException{ code = messaging.runtime.UnknownAPIProxy, message = Received unknown request for Organization:vlaborg;Environment:vlab;APIProxy:google;Revision:2, associated contexts = []} context:ClientInputChannel(ClientChannel[A:172.x.x.x:8998 Remote host:172.xx.xx.xx:60858]@30 useCount=1 bytesRead=0 bytesWritten=0 age=5ms lastIO=3ms )) 2015-12-19 18:07:56,778 172.x.x.x message-processor NIOThread@3 ERROR ADAPTORS.HTTP.FLOW - AbstractRequestListener.onException() : Exception caught com.apigee.kernel.exceptions.spi.UncheckedException: Received unknown request for Organization:vlaborg;Environment:vlab;APIProxy:google;Revision:2 at com.apigee.messaging.configuration.MessageProcessorServiceImpl.process(MessageProcessorServiceImpl.java:618) ~[message-processor-1.0.0.jar:na] at com.apigee.messaging.adaptors.http.configuration.MessageProcessorHttpSkeletonFactory$MessageProcessorRequestListener.init(MessageProcessorHttpSkeletonFactory.java:288) [http-adaptor-1.0.0.jar:na] at com.apigee.messaging.adaptors.http.configuration.MessageProcessorHttpSkeletonFactory$MessageProcessorRequestListener.onHeaders(MessageProcessorHttpSkeletonFactory.java:347) [http-adaptor-1.0.0.jar:na] at com.apigee.protocol.http.HTTPServer$Context$1.onHeaders(HTTPServer.java:521) [http-1.0.0.jar:na] at com.apigee.protocol.http.io.MessageReader.onRead(MessageReader.java:100) [http-1.0.0.jar:na] at com.apigee.protocol.http.HTTPServer$Context.startReading(HTTPServer.java:590) [http-1.0.0.jar:na] at com.apigee.messaging.adaptors.http.configuration.MessageProcessorHttpSkeletonFactory$MessageProcessorRequestListener.onStart(MessageProcessorHttpSkeletonFactory.java:191) [http-adaptor-1.0.0.jar:na] at com.apigee.protocol.http.HTTPServer$Context$1.setBufferUnprocessed(HTTPServer.java:429) [http-1.0.0.jar:na] at com.apigee.protocol.http.io.MessageReader.onRead(MessageReader.java:71) [http-1.0.0.jar:na] at com.apigee.nio.channels.DefaultNIOSupport$DefaultIOChannelHandler.onIO(NIOSupport.java:51) [nio-1.0.0.jar:na] at com.apigee.nio.handlers.NIOThread.run(NIOThread.java:121) [nio-1.0.0.jar:na]

asurajpai
Participant V

@Anil Sagar @Maruti Chand @Mukundha Madhavan @sriki77 @arghya das:

Previously you have worked on this similar issue. Can you please help out with this case?

Can you attach the output of the below API?

curl -v http://localhost:8081/v1/classification/tree on routers. @Suraj Pai

Not applicable

Is the virtual host configuration correct. Seems like that might be the cause for not handling the request. Let me know.