A task was cancelled
See original GitHub issueI have a problem with login with google. Exception throws when i am trying to login Exception: “A task was cancelled” after i try call
var account = await AuthAsync(google);
I have tried to check example. But It throws the same exception.
Issue Analytics
- State:
- Created 6 years ago
- Comments:32 (15 by maintainers)
Top Results From Across the Web
c# - HttpClient - A task was cancelled?
It works fine when have one or two tasks however throws an error "A task was cancelled" when we have more than one...
Read more >Task Cancellation
In the Task classes, cancellation involves cooperation between the user delegate, which represents a cancelable operation, and the code that ...
Read more >A task was canceled with IHttpClientFactory - Microsoft Q&A
Sometimes (not always) the code runs with the error above: System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.
Read more >"A task was cancelled" exception sometimes thrown
Sometimes I'll see an exception thrown that tells me “A task was cancelled” when executing "Export-PowerBIReport" cmdlet. I did come across.
Read more >Resolving HttpClient – A task was canceled
Most of the time Firewall issues are the most common reason for the task canceled exception. Resolution 3 – Do not create multiple...
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
Huge help today! Much thanks my friend.
Using the native login the data you get back is limited. However there is a convenience method: https://github.com/Clancey/SimpleAuth/blob/master/src/SimpleAuth/Providers/Google.cs#L123-L134