We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Converting XLSX to PDF throws timeout error

Starting a few hours ago, we started receiving these errors when converting relatively small excel documents (less than 500k) to PDF.

Aspose.Cells.Cloud.SDK.Client.ApiException

“Error calling CellsSaveAsPostDocumentSaveAs: The request timed-out.”
“Error calling CellsWorksheetsDeleteWorksheets: The operation has timed out”

When I was testing the same operations approx 16 hours before this, it appeared to be working fine. It’s occurring in all of our environments so I believe I’ve ruled out it being a code issue. Would you be able to verify that the Cells Cloud API isn’t having any issues?

EDIT: We’ve done some testing with smaller files and are find that anything about about 125kb is triggering a timeout.

@pdige,

Could you provide the email that is login in https://dashboard.aspose.cloud?
We will try to check the issues from logs.

I believe the email/account login we’re using is asposeadmin@pulte.com

Thanks!!!

@pdige,
Amazon had internet connectivity problems these days.
We had reset it. Please try it.
If you still face the issues, please inform us ASAP

I am having the same issue right now. I am trying to convert my xlsx into PDF and it gives me socket timeout exception every time. Can you guide how i can resolve this?

@ahmedtariq,

Could you provide simple test codes here and tell us your file size?
We will analyze them and give you suggestions.

Thankyou so much for your response.

CellsApi cellsApi = new CellsApi(clientId, clientSecret);
File excelFile = new File(“src/main/resources/test.xls”);
File outputPDF = cellsApi.cellsWorkbookPutConvertWorkbook(excelFile, “pdf”, null, null, storage);

Filesize is 189kb. I am using aspose-cells-cloud v22.1

@ahmedtariq,
We reproduced your issue. Please set the parameter of ‘storageName’ to null.

cellsApi.cellsWorkbookPutConvertWorkbook(file, “pdf”, null, null, null);

okay thank you