Building a second Windows release gives a task was cancelled error
See original GitHub issue- 6.3.1:
- Squirrel.Windows:
I successfully built a first windows release and create a release on my github repository with the relevant build files attached. I have a squirrel server that is correctly finding these builds and I can install my application from the packages perfectly.
When I try to build a new version of the app, the build errors out with the below error. I am not entirely sure what the actual error is here. What is this /RELEASES url? Is that valid?
Here is the relevant config from my package.json:
"build": {
"appId": "<redacted>",
"category": "public.app-category.utilities",
"asar": false,
"win": {
"iconUrl": "<redacted>",
"remoteReleases": "https://github.com/tom-james-watson/artpip-app",
"remoteToken": "<redacted>"
}
},
"directories": {
"output": "releases"
},
Any pointers? Let me know if you need more info.
Error:
Building Squirrel.Windows installer
Error: mono exited with code 255
Output:
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Error output:
Attempting to sync URL as remote RELEASES folder
Failed to sync URL as GitHub repo: A task was canceled.
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: 404 (Not Found)
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode () <0x1138b6200 + 0x000f0> in <filename unknown>:0
at System.Net.Http.HttpClient+<GetStringAsync>c__async6.MoveNext () <0x1138b48b0 + 0x00277> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
......
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (19 by maintainers)
Top Results From Across the Web
A task was canceled when building a project in Visual C++
I have a solution with two (moderately large) independent C++ projects. Before lunch, it was building and running correctly. I power down the...
Read more >Visual Studio 2013 error - "A task was canceled" - MSDN
A few minutes ago, my project would build, and now, any time I perform any build related task, it just says "A task...
Read more >c# - HttpClient - A task was cancelled? - Stack Overflow
There's 2 likely reasons that a TaskCanceledException would be thrown: Something called Cancel() on the CancellationTokenSource associated ...
Read more >Error when publishing an app: "Error: A task was canceled"
I am trying to publish an app using bcinsider.azurecr.io/bcsandbox-master:ca image (Build 22070) and al language extension 0.15.14407 and ...
Read more >Debugging Wednesday at Criteo — Cancel this task! - Medium
In the test, the service is created: Two Task instances are created in the constructor (for background processing irrelevant for this discussion) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
GH_TOKEN
now reused for Squirrel.Windows sync releases.This is resolved. Issue was due to trust certificates with mono for fetching resource over https://.