Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A task was cancelled

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:32 (15 by maintainers)

github_iconTop GitHub Comments

brittonbeckhamcommented, Oct 17, 2017

Huge help today! Much thanks my friend.

Clanceycommented, Oct 17, 2017

Using the native login the data you get back is limited. However there is a convenience method:

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found