Pull request hangs or first request fatally fails (TaskCanceledException encountered) Edited

I just installed Win8.1 64-bit (installed fresh about 10 days ago) and a fresh copy of SourceTree today.  During the installation, I went ahead and cloned a copy of a git repository stored on Atlassian Bitbucket.  Everything looks good and then I go to do a pull request to make sure everything is working and I notice it takes several seconds longer than normal.  I get an error in the Full Output:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: TaskCanceledException encountered.
   A task was canceled.

But it moves on to the next task

git -c diff.mnemonicprefix=false -c core.quotepath=false pull --log origin master
From https://bitbucket.org/4EverMaAT/[project1]
* branch master -> FETCH_HEAD

Already up-to-date.
Completed successfully.


And finishes.

But I want to know why it hangs with the "fetch origin" request?

I had a previous install where it just kept hanging.  No explanation or tips.   I also got an error on the previous install about "warning: templates not found" .


edit:  now I tried a push request (staged a test .txt file) and it took 3 minutes for it to get past this request"


git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\[winuser]\AppData\Local\Temp\ztvwqmv1.eus

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master

Why is it taking so long?



Before it took seconds.

1 answer

0 votes


It seems likely it is an error occurring in the Git Credential Manager. The time is being taken during the authentication to and fro with Bitbucket.

What version of Git and GCM are you running?

You can see both by opening the Terminal from the repo tab in Sourcetree and running

>git version


>git credential-manager version

As requested, I opened SourceTree and clicked "Terminal" and the following appeared:

mkdir: cannot change permissions of '/dev/shm': Permission denied
mkdir: cannot change permissions of '/dev/mqueue': Permission denied
'C:\Windows\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\Windows\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\Windows\system32\drivers\etc\services' -> '/etc/services'
'C:\Windows\system32\drivers\etc\networks' -> '/etc/networks'

[winuser]@[localhost] MINGW32 /c/[filepath]/git (master)

$ git version
git version 2.14.1.windows.1

$ git credential-manager version
Git Credential Manager for Windows version 1.12.0


I only use Bitbucket.org and SourceTree on my local computer.  So whatever SourceTree installs by default, that is what I am using. 

Do I need another program?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,224 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you