Error uploading artifact the storage
Collecting artifacts... Found artifact 'ygopro-1.035.2-9-win32-zh-CN.tar.gz' matching 'ygopro-1.035.2-9-win32-zh-CN.tar.gz' path
Uploading artifacts...
[1/1] ygopro-1.035.2-9-win32-zh-CN.tar.gz (897,688,638 bytes)...30% Error uploading artifact the storage: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.
keep getting this error several times: https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/history
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 01 Mar, 2021 11:59 PM
Could you please try defining the following environment variable on project settings UI or in
appveyor.yml
:It will increase upload chunks to 1 MB. Before implementing retries we'd like to check if that makes uploads more stable.
2 Posted by me on 02 Mar, 2021 01:03 AM
no it don't work
https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/7...
https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/builds/3801...
Support Staff 3 Posted by Feodor Fitsner on 02 Mar, 2021 03:50 AM
Alright, we did some maintenance on the build servers - let me know if you are still getting this issue.
4 Posted by me on 02 Mar, 2021 04:40 AM
https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/u...
the problem still exists
5 Posted by Norbert Kardos on 02 Mar, 2021 03:20 PM
We mostly getting this error now:
Error uploading artifact the storage: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.
Support Staff 6 Posted by Feodor Fitsner on 02 Mar, 2021 03:21 PM
Is it with or without APPVEYOR_UPLOAD_DOWNLOAD_BUFFER applied?
7 Posted by Norbert Kardos on 02 Mar, 2021 03:23 PM
Without the buffer. The previous users wrote that it did not work, so haven't tried it.
But I can test it now.
Support Staff 8 Posted by Feodor Fitsner on 02 Mar, 2021 03:28 PM
Could you drop a link to a build please?
9 Posted by Norbert Kardos on 02 Mar, 2021 03:34 PM
Hi,
For example:
https://ci.appveyor.com/project/PostForRent/p4rweb-website/builds/38023771/job/dr07g7fnxi2wklkq
A new build is running now with the parameter set.
*From:* Feodor Fitsner <[email blocked]>
*Sent:* Tuesday, March 2, 2021 4:29 PM
*To:* [email blocked]
*Subject:* Re: Error uploading artifact the storage [Problems #28996]
10 Posted by Norbert Kardos on 02 Mar, 2021 04:04 PM
The parameter in appveyor.yml is not helping (not sure if it was placed
correctly)
environment:
…
APPVEYOR_UPLOAD_DOWNLOAD_BUFFER: 1024
https://ci.appveyor.com/project/PostForRent/p4rweb-website/build/job/opxakgnligqqprsq
[1/1] Website\Deployment\Package-Debug.zip (710,721,088 bytes)...40%
Error uploading artifact the storage: You must write ContentLength bytes to
the request stream before calling [Begin]GetResponse.
11 Posted by Matt on 02 Mar, 2021 04:46 PM
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.
Support Staff 12 Posted by Feodor Fitsner on 02 Mar, 2021 05:34 PM
OK, we've just configured a different artifact storage. Is it better now?
13 Posted by Norbert Kardos on 02 Mar, 2021 06:06 PM
Build succeeded, fine.
Thx!
14 Posted by Matt on 02 Mar, 2021 07:18 PM
That fixed my problem as well. Thank you!
15 Posted by me on 02 Mar, 2021 11:14 PM
thank you, the artifacts are uploaded successfully, but the build still fails for me because the cache procedure seems failed: https://ci.appveyor.com/project/mercury233/ygopro-a6lpm/build/job/o...
Support Staff 16 Posted by Feodor Fitsner on 03 Mar, 2021 01:04 AM
Don't push DXSDK to the cache but download it from Microsoft directly.
17 Posted by me on 03 Mar, 2021 01:05 AM
I'll delete that after https://github.com/appveyor/ci/issues/3628 is fixed :D