Aspose.Diagram Cloud: Systemic 504 Gateway Timeouts on PUT /v3.0/diagram/{name}/convert

Hello,

We are experiencing consistent 504 Gateway Timeout errors using the Aspose.Diagram Cloud v3.0 REST API. The timeouts occur after exactly 3 minutes (180 seconds).

To isolate the issue, we have performed the following tests:

Sent requests with a dead-simple “Hello World” .vsdx file containing only one rectangle shape to rule out document complexity/corruption.

Attempted conversions to both pdf and png to rule out format-specific engine issues.

Used raw binary streaming (–data-binary) with application/octet-stream to ensure payload integrity.

In all cases, the payload uploads instantly (confirmed by upload completely sent off), but Nginx hangs for 180 seconds before throwing a 504.

Endpoint: PUT /v3.0/diagram/08-174.vsdx/convert?format=pdf

Nginx Response Headers:

HTTP/2 504

x-cluster: cloud-01

x-lb: TLR

Could the engineering team please check if there is an issue or queue backup with the Diagram Cloud rendering worker container on cloud-01? Thank you!

@SeabankAspose
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): DIAGRAMAPP-3264

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.

We apologize for not getting back to you sooner.
It appears that there might be an issue with your API call method. The correct endpoints are:

  • /v3.0/diagram/xxx.pdf/convert?sourceFileName=08-174.vsdx
  • /v3.0/diagram/xxx.pdf/convert

Please do not use /v3.0/diagram/08-174.vsdx/convert?format=pdf .
Kindly adjust your request accordingly.

Thank you for your response - I appreciate this.

Ok, noted on the API calls - thank you for the clarification.

Thank you for your prompt confirmation.

I’m glad the clarification was helpful. Please don’t hesitate to reach out if you encounter any further issues with the API calls or if you need additional assistance.

We’ll proceed with the correct endpoints as you’ve noted. Feel free to let us know if you need any sample code or documentation references.

Looking forward to your successful integration.