"Error pushing artifact: The operation has timed out" when calling appveyor PushArtifact
I'm trying to manually deploy artifacts to AppVeyor using the following command:
appveyor PushArtifact
.\fakepackage.Rcheck\tests\test-all.Rout
I keep getting the error message
"Error pushing artifact: The operation has timed out"
and no artifacts appear for the build. What am I doing wrong?
Thanks! (The project is open-source, all configuration is in the
.yml
.)
Comments are currently closed for this discussion. You can start a new one.
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 15 Aug, 2014 12:14 AM
What is the size of that file? Does it exist? is it sporadic error?
I've tested pushing an existing small file using the same command (https://ci.appveyor.com/project/appvyr/appveyor-bot-0904-0540/build...) as well as pushing a newly created empty file (https://ci.appveyor.com/project/appvyr/appveyor-bot-0904-0540/build...).
2 Posted by Kirill Müller on 15 Aug, 2014 06:13 AM
The file exists, it's in the kilobytes, the error persists.
Thanks for testing, but I haven't found this project on GitHub and hence cannot see what's different. I'll try to replicate this in an empty
.yml
project.3 Posted by Kirill Müller on 15 Aug, 2014 06:51 AM
I think I can replicate the problem: https://ci.appveyor.com/project/krlmlr/appveyor-artifact-test/build... . The project is on GitHub, I'm using the following
.yml
(not strictly minimal, but small enough I hope):Support Staff 4 Posted by Feodor Fitsner on 15 Aug, 2014 07:04 AM
So the problem is in pushing a 0 file?
5 Posted by Kirill Müller on 15 Aug, 2014 08:10 AM
No, it also happens with a non-empty file: https://ci.appveyor.com/project/krlmlr/appveyor-artifact-test/build... . Two timestamps are printed before and after the push attempt, the timeout is around two minutes.
Support Staff 6 Posted by Feodor Fitsner on 15 Aug, 2014 06:18 PM
Sure, will look into that. Thanks for the test project.
Support Staff 7 Posted by Feodor Fitsner on 16 Aug, 2014 04:05 AM
I've tried everything. I still don't know why, but there is something wrong with
Get-Date
ininit
section.Remove
Get-Date
and everything works: https://ci.appveyor.com/project/appvyr/appveyor-artifact-test/build...Put it back and it timeouts all calls to Agent API: https://ci.appveyor.com/project/appvyr/appveyor-artifact-test/build...
8 Posted by tomasz on 26 Nov, 2014 11:07 AM
Hi
I'm now having a similar problem in one of my projects. See log here.
Here's my
appveyor.yml
is simple as 123Regards,
Tom
Support Staff 9 Posted by Feodor Fitsner on 26 Nov, 2014 02:39 PM
Will take a look.
-Feodor
Support Staff 10 Posted by Feodor Fitsner on 27 Nov, 2014 05:44 AM
It's been fixed. Give it another try and let me know how it goes.
11 Posted by tomasz on 27 Nov, 2014 07:11 AM
Now I simply got
Error pushing artifact: The operation has timed out
Support Staff 12 Posted by Feodor Fitsner on 27 Nov, 2014 07:27 AM
OK, try using PS to upload artifact:
13 Posted by tomasz on 27 Nov, 2014 11:44 AM
PowerShell worked.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.