Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Askpass.exe application error

I get this popup when running SourceTree 3.3.8. It seems to go away after I push something and login using SourceTree, but eventually comes back after a time. This is reproducible with 3.3.8 and 3.3.4. Any ideas would be appreciated.


2 answers

1 accepted

12 votes
Answer accepted

I had the same issue after upgrading to 3.3.8

It was resolved after deleting some old accounts and edit the other ones under Tools >> Options >> Accounts

At the same time all my checked out repositories were showing a red exclamation mark on the "Remote" icon.  Clicking on Remote was trowing an error from winscp "Putty.exe not found".
So I installed putty but without success.  The exclamation mark was still there and clicking on the icon was now trowing 'Server refused to start a shell/command'.

Next thing I tried was to do a new Clone and that was working.  So I compared the "Remote Account" settings under Settings >>  Remotes >> origin >> Edit and it seems that for my previously cloned repositories this settings were not correct anymore after the upgrade.  Changing them solved the issue with the Remote.  Clicking on Remote was sending me now to the right repository location in a browser.

Thanks, I deleted my saved password under Tools >> Options >> Authentication, and then the next time I did an action that required authentication, it re-saved my password. The saved password was a little odd looking in that it said "Rest-Saved Passwords" in the dialog, which was different from a co-worker's so it made sense that this might be the culprit. Afterwards, the title changed to"Git Save Passwords". After this, then the problem went away. Thanks!

Like Inti likes this

Sourcetree doesn't make it easy to delete the passwords. There were around 20 to delete, each one taking several clicks. Hope this works!

Your solution worked for me, too.  Yesterday I had switched over my Github and Bitbucket accounts/repos to the SSH they are now requiring.   AskPass errors ALL day long.

Opened each repo, clicked Settings, double clicked the URL for the repo (to edit the entry), they were all set to "Generic Host" instead of my specific saved Bitbucket and Github save logins.  Switched them to that, and they went away.

The "Generic Host" entry should die.

Like # people like this

Doesn't work for me!

I had the same error.

I was able to reproduce the error message on demand by going to Repository > Refresh Remote Status.

I then noticed I didn't start Sourcetree as Administrator.

When I restarted Sourcetree as Administrator and then tried to reproduce the issue it didn't occur anymore.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,055 views 5 13
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you