java.lang.RuntimeException: Artifact upload for file #### (Size: 38003857) was denied by the server. This usually happens when server runs out of disk space.. HTTP return code is 413
at com.thoughtworks.go.util.ExceptionUtils.bomb(ExceptionUtils.java:29)
at com.thoughtworks.go.publishers.GoArtifactsManipulator.publish(GoArtifactsManipulator.java:102)
at com.thoughtworks.go.work.DefaultGoPublisher.upload(DefaultGoPublisher.java:68)
at com.thoughtworks.go.domain.ArtifactPlan.uploadArtifactFile(ArtifactPlan.java:169)
at com.thoughtworks.go.domain.ArtifactPlan.publishBuildArtifact(ArtifactPlan.java:143)
at com.thoughtworks.go.domain.ArtifactPlan.publishBuiltInArtifacts(ArtifactPlan.java:131)
at com.thoughtworks.go.remote.work.artifact.ArtifactsPublisher.publishArtifacts(ArtifactsPublisher.java:75)
at com.thoughtworks.go.remote.work.BuildWork.completeJob(BuildWork.java:197)
at com.thoughtworks.go.remote.work.BuildWork.build(BuildWork.java:129)
at com.thoughtworks.go.remote.work.BuildWork.doWork(BuildWork.java:79)
at com.thoughtworks.go.agent.JobRunner.run(JobRunner.java:53)
at com.thoughtworks.go.agent.AgentHTTPClientController.retrieveWork(AgentHTTPClientController.java:149)
at com.thoughtworks.go.agent.AgentHTTPClientController.work(AgentHTTPClientController.java:121)
at com.thoughtworks.go.agent.AgentController.loop(AgentController.java:86)
at jdk.internal.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-08-10 15:46:20,983 INFO [qtp536519735-422] BuildRepositoryRemoteImpl:99 - [Agent [XXX, XXX, 63e8d22e-b360-4b84-bcc5-847ec9fb55f4, 4b178349-8d56-43cb-8d25-dc048a4d84fa]] is reporting result [Passed] for [Build [XXX]]
2020-08-10 15:46:39,061 INFO [qtp536519735-422] BuildRepositoryRemoteImpl:99 - [Agent [XXX, XXX, 63e8d22e-b360-4b84-bcc5-847ec9fb55f4, 4b178349-8d56-43cb-8d25-dc048a4d84fa]] is reporting status and result [Completed, Failed] for [Build [XXX]]
2020-08-10 15:46:39,061 INFO [qtp536519735-422] Stage:234 - Stage is being completed by transition id: 209109
--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/75f9852f-4f25-4b88-8140-59ff0fde7085o%40googlegroups.com.
If you're fronting GoCD with a reverse proxy (apache/NGINX/some LB), usually they come with some values of an upload size limit.To check if that's actually the case, you could try using the upload artifact API to upload a large file directly to the gocd server, bypassing the reverse proxy to eliminate if the root cause is the reverse proxy.You could also enable GoCD's HTTP request logging to see if it is the gocd server rejecting these requests.- Ketan
On Tue, Aug 11, 2020 at 8:35 PM Chris Payne <clp...@outlook.com> wrote:
We upgraded to 20.6.0 from 19.12 over the weekend and we're now getting problems uploading large-ish artifacts (35MB+). This didn't happen before... seeing these errors in our logs:--[go] Artifact upload for file ####### (Size: 38003857) was denied by the server. This usually happens when server runs out of disk space.[go] Failed to upload #####Is there some new limit imposed? Is there any way to configure this? My searching on this turns up the problem reported with the Linux tmp directory, but I'm not sure how that applies here at all. I don't see any other settings in the config files or in the Tanuki wrapper that could tweak this. The OS didn't change, and we have plenty of storage space on the server (over 160GB).Thanks!
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go...@googlegroups.com.