When I try to run the following command:
docker run \
--publish 5000:5000 \
--volume /data/convert:/data \
--env ASPNETCORE_ENVIRONMENT='Development' \
--env ASPOSE_PDF_CLOUD_SELFHOST_PUBLIC_KEY="{OEM_LICENSE_PUBLIC_KEY}" \
--env ASPOSE_PDF_CLOUD_SELFHOST_PRIVATE_KEY="{OEM_LICENSE_PRIVATE_KEY}" \
aspose/pdf-cloud:25.9
I encounter the following error:
Unhandled exception. System.InvalidOperationException: Authentication failed.
at Dynabic.Metered.Metered.SetMeteredKey(String publicKey, String privateKey) in C:\GitlabRunner\builds\t1_rq-3sB\0\cloud1\aspose.pdf.cloud\src\Aspose.PDF.Cloud.SelfHost.Extensions\Metered\Metered\Metered.cs:line 127
at Aspose.Pdf.Cloud.Config.PdfCloudConfigExtention.EnableMeteredPdfCloud() in C:\GitlabRunner\builds\t1_rq-3sB\0\cloud1\aspose.pdf.cloud\src\Aspose.PDF.Cloud.SelfHost.Extensions\PdfCloudExtensions.cs:line 26
at Aspose.Pdf.Cloud.Config.PdfCloudConfigExtention.AddBilling(IServiceCollection services) in C:\GitlabRunner\builds\t1_rq-3sB\0\cloud1\aspose.pdf.cloud\src\Aspose.PDF.Cloud.SelfHost.Extensions\PdfCloudExtensions.cs:line 30
at Aspose.Pdf.Cloud.Web.Configure.BuilderServices(WebApplicationBuilder builder) in C:\GitlabRunner\builds\t1_rq-3sB\0\cloud1\aspose.pdf.cloud\src\Aspose.PDF.Cloud.Web\Configure.cs:line 111
at Aspose.Pdf.Cloud.Web.Program.Main(String[] args) in C:\GitlabRunner\builds\t1_rq-3sB\0\cloud1\aspose.pdf.cloud\src\Aspose.PDF.Cloud.Web\Program.cs:line 18
Aborted (core dumped)
I have tried several different versions (including but not limited to 25.9 to 25.6, and also 24.9.0, 24.12.0, etc.), and I have also tried to reapply for a Metered OEM, but the error still persists.