AWS Lambda call timeout

0
Hi All, I am using AWS Lambda connector to invoke a function. This lambda is going to take sometime to finish execution but I am getting timeout error in Mendix. Any clue where to adjust timeout values for Lambda?    I found documention for S3 but not for Lambda. Appreciate your help. https://docs.mendix.com/refguide9/custom-settings/#amazon-s3-storage-service-settings       com.mendix.systemwideinterfaces.MendixRuntimeException: software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: Read timed out    at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) Caused by:software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: Read timed out    at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) Caused by:Unable to execute HTTP request: Read timed out    at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) Caused by:Read timed out    at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110)
asked
2 answers
1

Hi Vinay!

As of the release of AWS Authentication v3.0.0 you can add a BasicClientConfig object and adjust timeout settings (or an endpoint) in there. You can read more about this in this blogpost also:

 

https://www.mendix.com/blog/how-to-connect-to-a-custom-aws-endpoint-url/

 

Let me know if it helped! 

answered
0

Hi Vinay, I found a section in the Mendix documentation about the lambda connector. In the last paragraph an invocation type is mentioned which allows you to run asynchronously. Maybe this will help to avoid the time out?

answered