Failed to publish artifacts. Server status: 413 (Request Entity Too Large)

I have TeamCity server on Ubuntu 12.04 and aditional build agent on OS X
I run some simple JUnit / WebDriver test on OS X
All test passed sucessfull, but I've got some errors when publishing the artifact (~80mb zip)
Here is some logs:

[23:17:37]Checking for changes
[23:17:39]Publishing internal artifacts
[23:17:39]Clearing temporary directory: /Users/teamcity/BuildAgent/temp/buildTmp
[23:17:39]Checkout directory: /Users/teamcity/BuildAgent/work/7bc389e2382bcdf
[23:17:39]Updating sources: server side checkout
[23:17:39]Step 1/1: Maven (29s)
[23:17:39]Using watcher: /Users/teamcity/BuildAgent/plugins/mavenPlugin/maven-watcher/maven-watcher-agent.jar
[23:17:39]Initial M2_HOME = /usr/share/maven/apache-maven-3.1.1
[23:17:39]Current M2_HOME = /usr/share/maven/apache-maven-3.1.1
[23:17:39]PATH = /usr/share/maven/apache-maven-3.1.1/bin:/usr/bin:/bin:/usr/sbin:/sbin
[23:17:39]Initial MAVEN_OPTS not set
[23:17:39]Current MAVEN_OPTS not set
[23:17:39]Starting: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java -Dagent.home.dir=/Users/teamcity/BuildAgent -Dagent.name=node1 -Dagent.ownPort=9090 -Dagent.work.dir=/Users/teamcity/BuildAgent/work -Dbuild.number=4 -Dbuild.vcs.number=0acbc3f5f63eb8ea5099a7786c6726079311210d -Dbuild.vcs.number.1=0acbc3f5f63eb8ea5099a7786c6726079311210d -Dbuild.vcs.number.MPSAutoTest_GitRepoLalalaVpnMPSAutoTestRefsHeadsMaster=0acbc3f5f63eb8ea5099a7786c6726079311210d -Dclassworlds.conf=/Users/teamcity/BuildAgent/temp/buildTmp/teamcity.m2.conf -Dcom.jetbrains.maven.watcher.report.file=/Users/teamcity/BuildAgent/temp/buildTmp/maven-build-info.xml -Djava.io.tmpdir=/Users/teamcity/BuildAgent/temp/buildTmp -Dmaven.home=/usr/share/maven/apache-maven-3.1.1 -Dmaven.repo.local=/Users/teamcity/.m2/repository -Dteamcity.agent.cpuBenchmark=554 -Dteamcity.agent.dotnet.agent_url=http://localhost:9090/RPC2 -Dteamcity.agent.dotnet.build_id=337 -Dteamcity.auth.password=qu1kuNvk74Lk4URoSZ63h9G1dqN0oOTe -Dteamcity.auth.userId=TeamCityBuildId=337 -Dteamcity.build.changedFiles.file=/Users/teamcity/BuildAgent/temp/buildTmp/changedFiles7211667684944857285.txt -Dteamcity.build.checkoutDir=/Users/teamcity/BuildAgent/work/7bc389e2382bcdf -Dteamcity.build.id=337 -Dteamcity.build.properties.file=/Users/teamcity/BuildAgent/temp/buildTmp/teamcity.build2761444671111756258.properties -Dteamcity.build.tempDir=/Users/teamcity/BuildAgent/temp/buildTmp -Dteamcity.build.workingDir=/Users/teamcity/BuildAgent/work/7bc389e2382bcdf -Dteamcity.buildConfName=4. Safari -Dteamcity.buildType.id=MPSAutoTest_OSX_Safari -Dteamcity.configuration.properties.file=/Users/teamcity/BuildAgent/temp/buildTmp/teamcity.config8146945856893436204.properties -Dteamcity.maven.watcher.home=/Users/teamcity/BuildAgent/plugins/mavenPlugin/maven-watcher -Dteamcity.projectName=OSX -Dteamcity.runner.properties.file=/Users/teamcity/BuildAgent/temp/buildTmp/teamcity.runner6985732342841509538.properties -Dteamcity.tests.recentlyFailedTests.file=/Users/teamcity/BuildAgent/temp/buildTmp/testsToRunFirst2432877282273017990.txt -Dteamcity.version=8.1 (build 29879) -classpath /usr/share/maven/apache-maven-3.1.1/boot/plexus-classworlds-2.5.1.jar: org.codehaus.plexus.classworlds.launcher.Launcher -f /Users/teamcity/BuildAgent/work/7bc389e2382bcdf/pom.xml -B clean integration-test -Dwebdriver.driver=safari -Dthucydides.take.screenshots=AFTER_EACH_STEP -Dtags=Functional:DownloadPagesTest thucydides:aggregate
[23:17:39]in directory: /Users/teamcity/BuildAgent/work/7bc389e2382bcdf
[23:17:41][INFO] Scanning for projects...
[23:17:41][INFO]
[23:17:41][INFO] ------------------------------------------------------------------------
[23:17:41][INFO] Building Sample Thucydides project 1.0-SNAPSHOT
[23:17:41][INFO] ------------------------------------------------------------------------
[23:17:41]MPSAutoTests:MPSAutoTests (21s)
[23:18:03][INFO]
[23:18:03][INFO] ------------------------------------------------------------------------
[23:18:03][INFO] Building Sample Thucydides project 1.0-SNAPSHOT
[23:18:03][INFO] ------------------------------------------------------------------------
[23:18:03]MPSAutoTests:MPSAutoTests (4s)
[23:18:07][INFO] ------------------------------------------------------------------------
[23:18:07][INFO] BUILD SUCCESS
[23:18:07][INFO] ------------------------------------------------------------------------
[23:18:07][INFO] Total time: 26.036s
[23:18:07][INFO] Finished at: Fri Feb 28 15:52:01 EET 2014
[23:18:07][INFO] Final Memory: 41M/302M
[23:18:07][INFO] ------------------------------------------------------------------------
[23:18:08]Process exited with code 0
[23:18:08]Publishing artifacts
[23:18:08]Waiting for 4 service processes to complete
[23:18:08]Surefire report watcher
[23:18:08]Publishing artifacts
[23:18:08]Publishing artifacts
[23:18:08]Publishing internal artifacts
[23:18:08]Publishing artifacts
[23:18:08]Collecting files to publish: [target/site/thucydides => target/site/thucydides/safari.zip]
[23:18:08]Creating archive safari.zip
[23:18:09]Publishing using [ArtifactsCachePublisher]
[23:18:09]Publishing using [WebPublisher]
[23:18:09]Failed to publish artifacts. Failed to publish artifacts, see teamcity-agent.log for details. Server status: 413 (Request Entity Too Large)
[23:18:09][Artifacts publishing failed] {build.status.text}
[23:18:09]Build finished



Any advice?

Please sign in to leave a comment.