Publishing plugin via Gradle task returns 504 Gateway Time-out, but the plugin is uploaded

The Gradle task publishPlugin returns error:

Execution failed for task ':publishPlugin'.
> Failed to upload plugin: Upload failed: Failed to upload plugin. Status code 504. <html>
  <head><title>504 Gateway Time-out</title></head>
  <body>
  <center><h1>504 Gateway Time-out</h1></center>
  </body>
  </html>

but the plugin is successfully uploaded to the marketplace. What goes wrong here? Is it something on our part or on the marketplace side?

1 Like

Hello,

We are sorry for the inconveniences! This issue (via Cradle task or directly on our website) may occur when dealing with large plugin archives that take more time to upload. While the actual upload may complete successfully on the Marketplace side, the Gradle task publishPlugin might still encounter a timeout (504 Gateway Time-out).

We are actively working on improving our system to better handle such scenarios. In the meantime, we recommend the following steps:

  • Try running the upload task again if the upload fails.

  • Consider reducing the size of your plugin archive, as smaller archives are less likely to encounter time-out issues.