TeamCity times out trying to download large artifacts from Google storage

Hey there,

I've got GCP S3 storage set up for my artifacts, which are all >2GB. I can successfully download those artifacts directly from the Google Cloud Console, but when I try to download them from within the TeamCity interface, I get a “504 Gateway Time-out” error.

Is this a known issue with large artifacts stored on external S3 storage?

I noticed this other issue, but it's outdated & doesn't have any answers at the moment.

We're running TeamCity Professional 2024.12.3 (build 174541)

0
3 comments

Just noting here that when I click on “Download all” on the Artifacts tab of a build, my download manager doesn't even start, but rather the page seems unresponsive for a few seconds, and then I drop out to a generic 504 page.

0

Hi Nick,

Could you please reproduce the “Download all” issue and capture a set of server thread dumps? You can make the server save 60 thread dumps with a 1-second interval by adding the below records to your internal properties. The server will start making the thread dumps as soon as you add the properties.

teamcity.diagnostics.periodicThreadDumps.name=automatic_batch
teamcity.diagnostics.periodicThreadDumps.count=60
teamcity.diagnostics.periodicThreadDumps.period.ms=1000

When it is done, please share it with us, together with the teamcity-server.log and the teamcity-clouds.log covering the same time period, via our secure upload server:

https://uploads.jetbrains.com/

Please share the upload id with us so that we can check what is going wrong.

Regards,

Guilherme

0

Alright, I believe I have the logs to cover that period, listed below. Let me know if anything's missing!

Upload id: 2025_03_25_quBhoSJhYbHmAU7RLLiSmU (file: ticket 25255017710354 logs.zip)

Upload id: 2025_03_25_HKs57G3bjZR61H3WSwirRE (file: tc-logs.zip)

0

Please sign in to leave a comment.