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

asked 11 days ago151 views
1 Answer
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
EXPERT
answered 11 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions