Export excel 504 Gateway Timeout

Hi team!

I got an error when I tried to export Excel.

Please help.


1 Reply

BP Babu Periyasamy Syncfusion Team February 19, 2024 03:05 PM UTC

Hi Ngoc Hoang,


We have checked your reported issue with the provided screenshot. And based on the screenshot, we suspect that you are using Japanese (Ja) culture and we have created a sample with ‘ja’ culture. And then, we have created a dummy excel file with reference to the provided screenshot and checked your reported issue by saving the excel file. We have checked by using both hosted open/save Url and local service for open/Save Url, but we are not able to replicate your reported issue in our end. We have attached the prepared sample, dummy excel file and video demonstration below for your reference.


Stackblitz sample: https://stackblitz.com/edit/react-ajgayy-cat8ym?file=index.js


Hosted Url video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Save_issue_-_Hosted_service157312326


Local Url video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Save_issue_-_Local_service1211547201


Prepared excel filehttps://www.syncfusion.com/downloads/support/directtrac/general/ze/Save_issue_Excel308201800


Local service: Please see the attachment.


If you are facing issue while using the hosted open/save Url, then kindly check your reported issue with the above sample with the attached local service in your end. Also, we suspect that your issue may be due to,

  1. Server overload - A temporary network glitch may cause the error. Reloading the page might resolve it.
  2. Network Issues - Ensure that your network connection is stable and functioning properly.
  3. Firewall or Security Measures - Sometimes, strict firewall rules or security measures can block or delay requests, leading to timeouts.

Note: Launch the service first before running the sample.


After running the sample, change the open and save Url of the Spreadsheet component based on the launched local service like in the below code snippet,


openUrl=''https://localhost:{port number}/api/spreadsheet/open'

saveUrl='https://localhost:{port number}/api/spreadsheet/save'

 

Example:

openUrl=''https://localhost:44354/api/spreadsheet/open'

saveUrl='https://localhost:44354/api/spreadsheet/save'


Kindly, check the above information and check in your end. If you are still facing the issue, please share the below information for further validation,

  1. Share how you rendering the Spreadsheet whether you are rendering inside any other components, if yes, kindly share those details.
  2. If you are doing any customization before saving the file, share the customization codes.
  3. Share the information of how you are saving the file whether using the file menu options or save using save method.
  4. Share the features that you are using inside the Spreadsheet component.
  5. If possible share the issue replicating excel file with dummy values or modify the shared excel file with your issue replicating.
  6. If possible, share the clear details of the issue that you are facing.
  7. If possible, replicate your reported issue in the above sample and sent back to us for further validation.

Kindly, share the above requested details in your end. Based on that, we will validate and provide you the better solution quickly.


Attachment: WebAPI_f8af029b.zip

Loader.
Up arrow icon