Request timed out before it reached the Netty4HttpHandler

0

I have converted Basic java calculator Lambda into a cient to call a coral service and its a CDK app. I have added all the dependencies including cloudauth dependencies. However I am getting below error When I try to test my lambda. { "errorMessage": "Request timed out before it reached the Netty4HttpHandler", "errorType": "com.amazon.coral.client.HttpTimeoutException", "stackTrace": [ "com.amazon.coral.client.netty4.Netty4HttpHandler.failIfRequestTimedOut(Netty4HttpHandler.java:392)", "com.amazon.coral.client.netty4.Netty4HttpHandler.before(Netty4HttpHandler.java:237)", "com.amazon.coral.service.TransmutingContinuationHandler.before(TransmutingContinuationHandler.java:50)", "com.amazon.coral.service.ChainJobWorkflow.lambda$newBeforeWork$0(ChainJobWorkflow.java:94)", "com.amazon.coral.service.ClientContinuationOrchestrator$JobExecution.run(ClientContinuationOrchestrator.java:361)", "software.amazon.common.util.concurrent.StateCapture$CapturingRunnable.run(StateCapture.java:281)", "java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)", "java.base/java.util.concurrent.FutureTask.run(Unknown Source)", "java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)", "java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)", "java.base/java.lang.Thread.run(Unknown Source)" ] }

Thanks, in advance. https://create.hub.amazon.dev/cloned-applications/ElroyKYCIntegration

P.S. Is there any way I could do this whole thing of invoking a coral service from console?

Thanks, Chaitai

已提问 23 天前166 查看次数
1 回答
0

Hello.

Is the Lambda you are using connected to a VPC?
In that case, you will need to set up a NAT Gateway etc. to access external public endpoints.
https://repost.aws/knowledge-center/internet-access-lambda-function

profile picture
专家
已回答 23 天前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则