• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CreatePDFOperation.Execute and DocumentMergeOperation.Execute sometimes hang

New Here ,
Jun 05, 2023 Jun 05, 2023

Copy link to clipboard

Copied

We are using the Adobe.PDFServicesSDK NuGet package version 3.2.0.0 in a .NET 6 AWS Lambda.

 

Sometimes (but not always) the calls to CreatePDFOperation.Execute and DocumentMergeOperation.Execute never return. AWS Lambdas have a maximum lifetime of 15 minutes and after 15 minutes the Lambda is automatically terminated by AWS. This is what is happening. The call doesn't timeout AFAICS, it just never returns. We have logging in place executes immediately before and after the call - we see that the call is started but never returns. No exception is thrown - if it were then our code would log it but even if it failed to log it the Lambda would finish naturally and not be terminated by AWS after 15 minutes.

 

This issue is not reproducible on demand. Sometimes we see it happen and sometimes not.

TOPICS
.NET SDK , AWS , Bug , PDF Services API

Views

212

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 05, 2023 Jun 05, 2023

Copy link to clipboard

Copied

LATEST

It looks like the issue is not a case of the Lambda running out of memory. Here is what AWS Lambda reports in CloudWatch upon termination:-

Guy28295022oxzc_0-1685954566688.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources