tag:help.appveyor.com,2012-11-13:/discussions/problems/28996-error-uploading-artifact-the-storageAppVeyor: Discussion 2021-03-03T01:05:54Ztag:help.appveyor.com,2012-11-13:Comment/490636922021-03-01T23:59:01Z2021-03-01T23:59:01ZError uploading artifact the storage<div><p>Could you please try defining the following environment variable on project settings UI or in <code>appveyor.yml</code>:</p>
<pre>
<code>APPVEYOR_UPLOAD_DOWNLOAD_BUFFER: 1024</code>
</pre>
<p>It will increase upload chunks to 1 MB. Before implementing retries we'd like to check if that makes uploads more stable.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T01:03:54Z2021-03-02T01:03:54ZError uploading artifact the storage<div><p>no it don't work</p>
<p><a href="https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/708a6l59rhyuevv8">https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/7...</a></p>
<blockquote>
<p>Uploading artifacts... [1/1] ygopro-1.035.2-9-win32-zh-CN.tar.gz (897,689,941 bytes)...30% Error uploading artifact the storage: The underlying connection was closed: An unexpected error occurred on a receive.</p>
</blockquote>
<p><a href="https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/builds/38012505/job/7rrd62vud2h1axtb">https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/builds/3801...</a></p>
<blockquote>
<p>Uploading artifacts... [1/1] ygopro-1.035.2-9-win32-en-US.tar.gz (974,480,830 bytes)...60% Error uploading artifact the storage: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.</p>
</blockquote></div>metag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T03:50:38Z2021-03-02T03:50:38ZError uploading artifact the storage<div><p>Alright, we did some maintenance on the build servers - let me know if you are still getting this issue.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T04:40:17Z2021-03-02T04:40:17ZError uploading artifact the storage<div><p><a href="https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/u8v8ye9ycpqf3595">https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/u...</a></p>
<p>the problem still exists</p></div>metag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T15:20:03Z2021-03-02T15:20:04ZError uploading artifact the storage<div><p>We mostly getting this error now:<br>
Error uploading artifact the storage: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.</p></div>Norbert Kardostag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T15:21:41Z2021-03-02T15:21:41ZError uploading artifact the storage<div><p>Is it with or without APPVEYOR_UPLOAD_DOWNLOAD_BUFFER applied?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T15:23:07Z2021-03-02T15:23:08ZError uploading artifact the storage<div><p>Without the buffer. The previous users wrote that it did not work, so haven't tried it.<br>
But I can test it now.</p></div>Norbert Kardostag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T15:28:27Z2021-03-02T15:28:27ZError uploading artifact the storage<div><p>Could you drop a link to a build please?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T15:34:38Z2021-03-02T15:34:39ZError uploading artifact the storage<div><p>Hi,</p>
<p>For example:<br>
<a href="https://ci.appveyor.com/project/PostForRent/p4rweb-website/builds/38023771/job/dr07g7fnxi2wklkq">https://ci.appveyor.com/project/PostForRent/p4rweb-website/builds/3...</a></p>
<p>A new build is running now with the parameter set.</p>
<p><em>From:</em> Feodor Fitsner <a href="mailto:tender2+d24b741fe8@tenderapp.com">tender2+d24b741fe8@tenderapp.com</a> <em>Sent:</em> Tuesday, March 2, 2021 4:29 PM <em>To:</em> <a href="mailto:nicke@postforrent.com">nicke@postforrent.com</a> <em>Subject:</em> Re: Error uploading artifact the storage [Problems #28996]</p></div>Norbert Kardostag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T16:04:27Z2021-03-02T16:04:28ZError uploading artifact the storage<div><p>The parameter in appveyor.yml is not helping (not sure if it was placed<br>
correctly)</p>
<p>environment:</p>
<p>…</p>
<p>APPVEYOR_UPLOAD_DOWNLOAD_BUFFER: 1024</p>
<p><a href="https://ci.appveyor.com/project/PostForRent/p4rweb-website/build/job/opxakgnligqqprsq">https://ci.appveyor.com/project/PostForRent/p4rweb-website/build/jo...</a></p>
<p>[1/1] Website\Deployment\Package-Debug.zip (710,721,088 bytes)...40%</p>
<p>Error uploading artifact the storage: You must write ContentLength bytes to<br>
the request stream before calling [Begin]GetResponse.</p></div>Norbert Kardostag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T16:46:26Z2021-03-02T16:46:28ZError uploading artifact the storage<div><p>I am having the same problem as well. And when adding the APPVEYOR_UPLOAD_DOWNLOAD_BUFFER: 1024 to the appveyor.yml file it gives me an error right off the bat. I've even reverted back to original code that worked fine and it's not that.</p></div>Matttag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T17:34:36Z2021-03-02T17:34:36ZError uploading artifact the storage<div><p>OK, we've just configured a different artifact storage. Is it better now?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T18:06:22Z2021-03-02T18:06:23ZError uploading artifact the storage<div><p>Build succeeded, fine.<br>
Thx!</p></div>Norbert Kardostag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T19:18:59Z2021-03-02T19:19:00ZError uploading artifact the storage<div><p>That fixed my problem as well. Thank you!</p></div>Matttag:help.appveyor.com,2012-11-13:Comment/490636922021-03-02T23:14:38Z2021-03-02T23:14:38ZError uploading artifact the storage<div><p>thank you, the artifacts are uploaded successfully, but the build still fails for me because the cache procedure seems failed: <a href="https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/o7vr1f1jhaarr2ld">https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/o...</a></p></div>metag:help.appveyor.com,2012-11-13:Comment/490636922021-03-03T01:04:29Z2021-03-03T01:04:29ZError uploading artifact the storage<div><p>Don't push DXSDK to the cache but download it from Microsoft directly.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/490636922021-03-03T01:05:54Z2021-03-03T01:05:54ZError uploading artifact the storage<div><p>I'll delete that after <a href="https://github.com/appveyor/ci/issues/3628">https://github.com/appveyor/ci/issues/3628</a> is fixed :D</p></div>me