Sometime its gives below error.
Fatal error: Uncaught Aspose\Cells\Cloud\ApiException: [502] Server error: `POST
https://api.aspose.cloud/v3.0/cells/export?objectType=worksheet&format=pdf` resulted in a 502 Bad Gateway
response:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>ngin (truncated…)
in C:\inetpub\vhosts\seqrdoc.com\httpdocs\pdf2pdf\sdk\vendor\aspose\cells-sdk-php\lib\Api\LightCellsApi.php:1328
Stack trace:
#0 C:\inetpub\vhosts\seqrdoc.com\httpdocs\pdf2pdf\sdk\vendor\aspose\cells-sdk-php\lib\Api\LightCellsApi.php(1303):
Aspose\Cells\Cloud\Api\LightCellsApi->postExportWithHttpInfo()
#1 C:\inetpub\vhosts\seqrdoc.com\httpdocs\pdf2pdf\sdk\excel2pdf_api.php(38):
Aspose\Cells\Cloud\Api\LightCellsApi->postExport()
#2 C:\inetpub\vhosts\seqrdoc.com\httpdocs\pdf2pdf\sdk\excel2pdf_api.php(139): Workbook->runCloudAPI()
#3 {main}
thrown in
C:\inetpub\vhosts\seqrdoc.com\httpdocs\pdf2pdf\sdk\vendor\aspose\cells-sdk-php\lib\Api\LightCellsApi.php on line
1328
@seqrdocs ,
Network problems usually cause 502, and we will do further checks as soon as possible.
@wangtao ,
Today again we are facing same issue. Please check.
@wangtao , It occurs oftenly. Sometime its works and some time its not.
@seqrdocs ,
Can you provide some information about the account you are calling the API (e.g. clientId), as well as the frequency of calls to the API and the size of the file being processed, we’ll continue to look at the system logs.
@wangtao ,
Thanks for quick response.
Client Id : df5a409f-b8a8-4b73-aa8a-1d0cfed271da
PDF size : 82kb
Converting xlsm to pdf.
Code Snippest:
$pageType=“Single”;
$workbook = new Workbook(ExelFileName,PdfFileName,$pageType);
$output=$workbook->runCloudAPI();
@seqrdocs ,
Thank you for your provided information. We will check it ASAP.
@wangtao ,
Please revert ASAP. Still we are facing same issue.
@seqrdocs
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SUP-5828
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@wangtao ,
Any update on Issue ID(s): SUP-5828 ?
@seqrdocs ,
A colleague in the platform group is checking this issue. High latency after cloud infrastructure migration to Tyler. I suspect that the high latency is causing the problem you are experiencing, and we are conducting further checks to determine the issue’s specific cause.
@wangtao,
Thank you for the update. Please continue to keep us informed.
@seqrdocs ,
We will keep you informed of any information.
@wangtao ,
Again we are facing issue. Please resolve it on priority. Client asking for permanent solution.
@seqrdocs ,
Our colleagues are looking for a better solution.
@wangtao ,
Thanks for response.
Previously sometime it was working and sometime it was giving 500 Internal server error.
But now all the time its showing 500 Internal server error.
@seqrdocs ,
My colleague is working on this, and I’m testing it too. Hopefully, it will be resolved soon.
@seqrdocs ,
My colleague fixed it. Please check if it is normal.
@wangtao ,
Yes I checked, Its working now.
Thanks for your assistance.
@seqrdocs ,
Thank you for using our products.