Bug 11398 - Cannot change git credentials
Summary: Cannot change git credentials
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 4.0.3
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2013-03-25 17:35 UTC by belial239
Modified: 2014-04-28 11:06 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description belial239 2013-03-25 17:35:26 UTC
If you get your GIT password incorrect when setting up source control in xamarin it doesn't give you option to re-enter it, instead subsequent requests give you this error

NGit.Errors.TransportException: https://[removed]@bitbucket.org/[removed]/[repo].git: not authorized
  at NGit.Transport.TransportHttp.Connect (System.String service) [0x001e7] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/TransportHttp.cs:572 


If you then remove the password from keychain you are prompted again, but now you get his error (password was define lay correct)

System.Exception: Could not find internet password: An invalid record was encountered.
  at MonoDevelop.MacInterop.Keychain.FindInternetPassword (System.Uri uri) [0x0008e] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/addins/MacPlatform/MacInterop/Keychain.cs:386 
  at MonoDevelop.MacDev.MacKeychainPasswordProvider.GetWebPassword (System.Uri uri) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/MacKeychainPasswordProvider.cs:42 
  at MonoDevelop.Core.PasswordService.GetWebPassword (System.Uri url) [0x00016] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/PasswordService.cs:48 
  at MonoDevelop.VersionControl.Git.GitCredentials.TryGetUsernamePassword (NGit.Transport.URIish uri, NGit.Transport.CredentialItem[] items, NGit.Transport.Password& passwordItem) [0x00076] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitCredentials.cs:122 
  at MonoDevelop.VersionControl.Git.GitCredentials.Get (NGit.Transport.URIish uri, NGit.Transport.CredentialItem[] items) [0x0001f] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitCredentials.cs:60 
  at NGit.Transport.HttpAuthMethod.Authorize (NGit.Transport.URIish uri, NGit.Transport.CredentialsProvider credentialsProvider) [0x00012] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/HttpAuthMethod.cs:121 
  at NGit.Transport.TransportHttp.Connect (System.String service) [0x001c4] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/TransportHttp.cs:570 
  at NGit.Transport.TransportHttp.OpenPush () [0x00006] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/TransportHttp.cs:454 
  at NGit.Transport.PushProcess.Execute (NGit.ProgressMonitor monitor) [0x00012] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/PushProcess.cs:137 
  at NGit.Transport.Transport.Push (NGit.ProgressMonitor monitor, ICollection`1 toPush) [0x00072] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:1359 
  at MonoDevelop.VersionControl.Git.GitRepository.Push (IProgressMonitor monitor, System.String remote, System.String remoteBranch) [0x0005d] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:1025 
  at MonoDevelop.VersionControl.Git.GitService+<Push>c__AnonStorey11.<>m__1D (System.Object ) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitService.cs:70
Comment 1 Jeffrey Stedfast 2013-07-08 11:32:05 UTC
What version of OS X are you experiencing this on?
Comment 2 Tommy Baggett 2013-07-08 12:08:16 UTC
I'm not the original bug reporter, but it happens for me on Mountain Lion 10.8.4.
Comment 3 Marius Ungureanu 2014-04-28 11:06:40 UTC
This should be fixed in newer versions.