We are getting a red message while we are using a paid package for aspose. This is a PROD ISSUE

image.png (20.6 KB)

image.png (8.7 KB)

Please look at the above message and let us know. It is very urgent for us as it is impacting our production.

1 Like

We are using aspose words cloud docker image in on-premise with license keys for this conversion. We pay the bill through a credit card on a post paid basis. Aspose team , we need immediate assistance on this issue, as we are facing this in production. We have been using a self hosted instance for about an year now and the bill for the last month is also paid.
Screenshot 2024-01-09 at 1.50.19 PM.png (13.4 KB)

@jayakrishnaalwar

We are looking into the issue and will get back to you shortly.

hi @tilal.ahmad. Is there anything that can help? It is a production issue and is very critical for us

we are seeing below logs in aspose pod:

Application startup exception: System.InvalidOperationException: Authentication failed.
   at qa.Yf(Object a)
   at qa.Ve(Object a)
   at qa.Bb(qa a, u b)
   at qa.Nf()
   at qa.Ee(Boolean a)
   at qa.Yf(Object a)
   at qa.Ve(Object a)
   at qa.Qf()
   at qa.Ng(Object a, UInt32 b)
   at qa.Ee(Boolean a)
   at qa.zg(Object[] a, Type[] b, Type[] c, Object[] d)
   at qa.Xf(Stream a, String b, Object[] c, Type[] d, Type[] e, Object[] f)
   at qa.bg(Stream a, String b, Object[] c)
   at qa.Hf(Stream a, String b, Object[] c)
   at Aspose.Words.Metered.SetMeteredKey(String publicKey, String privateKey)
   at Aspose.Words.Cloud.LicenseInitializer.InitMeteredLicense(String , String )
   at Aspose.Words.Cloud.WebApp.Startup.InitLicense() in C:\Build\src\Aspose.Words.Cloud.WebApp\Startup.cs:line 299
   at Aspose.Words.Cloud.WebApp.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in C:\Build\src\Aspose.Words.Cloud.WebApp\Startup.cs:line 281
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
   at Microsoft.Extensions.DependencyInjection.AutoRegisterMiddleware.<>c__DisplayClass4_0.<Configure>b__0(IApplicationBuilder app)
   at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.InvalidOperationException: Authentication failed.
         at qa.Yf(Object a)
         at qa.Ve(Object a)
         at qa.Bb(qa a, u b)
         at qa.Nf()
         at qa.Ee(Boolean a)
         at qa.Yf(Object a)
         at qa.Ve(Object a)
         at qa.Qf()
         at qa.Ng(Object a, UInt32 b)
         at qa.Ee(Boolean a)
         at qa.zg(Object[] a, Type[] b, Type[] c, Object[] d)
         at qa.Xf(Stream a, String b, Object[] c, Type[] d, Type[] e, Object[] f)
         at qa.bg(Stream a, String b, Object[] c)
         at qa.Hf(Stream a, String b, Object[] c)
         at Aspose.Words.Metered.SetMeteredKey(String publicKey, String privateKey)
         at Aspose.Words.Cloud.LicenseInitializer.InitMeteredLicense(String , String )
         at Aspose.Words.Cloud.WebApp.Startup.InitLicense() in C:\Build\src\Aspose.Words.Cloud.WebApp\Startup.cs:line 299
         at Aspose.Words.Cloud.WebApp.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in C:\Build\src\Aspose.Words.Cloud.WebApp\Startup.cs:line 281
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
         at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
         at Microsoft.Extensions.DependencyInjection.AutoRegisterMiddleware.<>c__DisplayClass4_0.<Configure>b__0(IApplicationBuilder app)
         at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
Unhandled exception. System.InvalidOperationException: Authentication failed.
   at qa.Yf(Object a)
   at qa.Ve(Object a)
   at qa.Bb(qa a, u b)
   at qa.Nf()
   at qa.Ee(Boolean a)
   at qa.Yf(Object a)
   at qa.Ve(Object a)
   at qa.Qf()
   at qa.Ng(Object a, UInt32 b)
   at qa.Ee(Boolean a)
   at qa.zg(Object[] a, Type[] b, Type[] c, Object[] d)
   at qa.Xf(Stream a, String b, Object[] c, Type[] d, Type[] e, Object[] f)
   at qa.bg(Stream a, String b, Object[] c)
   at qa.Hf(Stream a, String b, Object[] c)
   at Aspose.Words.Metered.SetMeteredKey(String publicKey, String privateKey)
   at Aspose.Words.Cloud.LicenseInitializer.InitMeteredLicense(String , String )
   at Aspose.Words.Cloud.WebApp.Startup.InitLicense() in C:\Build\src\Aspose.Words.Cloud.WebApp\Startup.cs:line 299
   at Aspose.Words.Cloud.WebApp.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in C:\Build\src\Aspose.Words.Cloud.WebApp\Startup.cs:line 281
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
   at Microsoft.Extensions.DependencyInjection.AutoRegisterMiddleware.<>c__DisplayClass4_0.<Configure>b__0(IApplicationBuilder app)
   at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
   at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
   at Aspose.Words.Cloud.WebApp.Program.Main(String[] args) in```

The above logs are in aspose cloud words pod deployed in our premises, we are using the private public license keys. Looks like the licenses got expired, do we have a rotation policy for the licenses ?. This is a paid account with metered billing, not sure why the license stopped working suddenly even if the payments are done on time.

@rajatdpw

Can you please check now and confirm?

@tilal.ahmad - Now it is working, Can you please let us know the root cause behind this issue ?

@jayakrishnaalwar

We have investigated the problem and found that while your license expired, your calls were rejected by our API rate limiter. We have whitelisted the user; you should not encounter this issue anymore.

We are again receiving this error in production , we are getting serious escalations from our customers. Please provide a permanent fix for this issue. @tilal.ahmad

@jayakrishnaalwar

We are truly sorry for the inconvenience caused. We are looking into the issue and will update you soon.

@tilal.ahmad - We are still facing the issue and it is impacting our customers. Please let us know the update on this issue.

@jayakrishnaalwar

I have tested the scenario with my credentials, and it is working as expected. We are further investigating the issue. Meanwhile, please also share your public and private keys with us via a private message.

@tilal.ahmad I have messaged you the details. Please note that when we restart the pod, the issue gets resolved for some time and pops up again in some time.

1 Like

@jayakrishnaalwar

Thanks for sharing the additional information. We are trying to replicate the issue and investigate it.

@jayakrishnaalwar

Kindly check the private message. It appears there was an issue with your private key, which was causing the problem.