Availability Issues with Aspose PDF Metered APIs

Starting last week we are experiencing sporadic errors on the call to Aspose.Pdf.Metered.SetMeteredKey.

The key works fine most of the time, but we do observe much higher failure ratio (up to 90%) during higher load on the system. This API is called just once per application instance start, but the number of instances may go up to a 100.

Example stack trace from our logs:

Unhandled exception. System.InvalidOperationException: Authentication failed.

at Aspose.Pdf.Metered.SetMeteredKey(String publicKey, String privateKey)

Technical details:

.NET Library version: Aspose.PDF:22.12.0

Platform: Linux x64

@roman.safronov

Would you kindly try using 23.7 version of the API and if issue still persists, please share the complete error stack information with us. We will log an investigation ticket and share the ID with you.

@asad.ali, upgrade will take some time. And the error does not seem to be related to the library version. The error is coming from Aspose licensing servers. Also please note: it worked just fine until 2 weeks ago - no changes have been made in the implementation around that time.

I’d like you to take a look at this error asap. Lmk how I can provide the key details.

@roman.safronov

We have sent you a private message to share the private keys. Please respond to it. We will further proceed to assist you accordingly.