Authentication failed for Bitbucket. Where SmartGit store credentials?

1,433 views
Skip to first unread message

Greg D

unread,
Aug 28, 2016, 7:11:45 AM8/28/16
to SmartGit
Hi all,

I'm a Linux user and I have a license for SmartGit 6.5.9. Some months ago Atlassian changed authentication for Bitbucket service. Since then, every time I try to do a push from the SmartGit on my desktop, I get:

   Push: Authentication failed for 'https://bitbucket.org/...'
       
Environment variable smartgit.remoteId undefined

       remote
: Invalid username or password. If you log in via third party service you must ensure you have an account password set in your account profile.

       
Authentication failed for 'https://bitbucket.org/...'
       
Authentication failed for 'https://bitbucket.org/...'



I've tried many things, nothing has worked so far:
  •  Edit -> Preferences -> Authentication: I'v removed all known credentials.
  •  I've removed whole `~/.smartgit` directory.
  •  I've done a fresh clone.

Thus, I'm forced to use a git console for pushing commits - it works fine, but the drawback is that I have to type my password every time.

It is a really strange problem for me, because I have exactly the same version of SmartGit on three computers: Windows 7, laptop Ubuntu, desktop Ubuntu.
I don't have any problems with accessing this Bitbucket repo via SmartGit from my Windows 7 machine. And also from my laptop with Ubuntu I can do a push from SmartGit without any problems. Only desktop Ubuntu doesn't work.

The only difference between my both linux machines is that on the laptop, SmartGit prompts me every time for a password. Whereas on desktop it doesn't (I've typed my password years ago and clicked "Remember password").

So the problem may be related to a password stored somewhere in the system...
Any help highly appreciated.

Kind Regards,
Greg

syntevo Support

unread,
Aug 28, 2016, 11:48:47 AM8/28/16
to smar...@googlegroups.com
> I'm a Linux user and I have a license for SmartGit 6.5.9. Some months ago
> Atlassian changed authentication for Bitbucket service. Since then, every
> time I try to do a push from the SmartGit on my desktop, I get:
>
> Push: Authentication failed for 'https://bitbucket.org/...'
> Environment variable smartgit.remoteId undefined

Please invoke Help|Check for Latest Build and let me know if the problem is still reproducible. Also, give version 7.1 a try.

--
Best regards,
Marc Strapetz
syntevo GmbH
http://www.syntevo.com


08/28/2016 13:20 - Greg D wrote:

> Hi all,
>
> I'm a Linux user and I have a license for SmartGit 6.5.9. Some months ago
> Atlassian changed authentication for Bitbucket service. Since then, every
> time I try to do a push from the SmartGit on my desktop, I get:
>
> Push: Authentication failed for 'https://bitbucket.org/...'
> Environment variable smartgit.remoteId undefined
>
> remote: Invalid username or password. If you log in via third party
> service you must ensure you have an account password set in your account
> profile.
>
> Authentication failed for 'https://bitbucket.org/...'
> Authentication failed for 'https://bitbucket.org/...'
>
>
>
> I've tried many things, nothing has worked so far:
>
> - Edit -> Preferences -> Authentication: I'v removed all known
> credentials.
> - I've removed whole `~/.smartgit` directory.
> - I've done a fresh clone.
>
>
> Thus, I'm forced to use a git console for pushing commits - it works fine,
> but the drawback is that I have to type my password every time.
>
> It is a really strange problem for me, because I have exactly the same
> version of SmartGit on three computers: Windows 7, laptop Ubuntu, desktop
> Ubuntu.
> I don't have any problems with accessing this Bitbucket repo via SmartGit
> from my Windows 7 machine. And also from my laptop with Ubuntu I can do a
> push from SmartGit without any problems. Only desktop Ubuntu doesn't work.
>
> The only difference between my both linux machines is that on the laptop,
> SmartGit prompts me every time for a password. Whereas on desktop it
> doesn't (I've typed my password years ago and clicked "Remember password").
>
> So the problem may be related to a password stored somewhere in the
> system...
> Any help highly appreciated.
>
> Kind Regards,
> Greg
>
> --
> You received this message because you are subscribed to the Google Groups
> "SmartGit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> smartgit+u...@googlegroups.com.
> To post to this group, send email to smar...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/smartgit/e9b02f77-d0a0-477f-87f5-de6813d1f1a5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

Greg D

unread,
Aug 30, 2016, 12:54:30 PM8/30/16
to SmartGit, smar...@syntevo.com
Hi Marc,
I've tried your both advices. Not much luck.

Unfortunately, I've clicked `Help|Check for Latest Build`, downloaded version 6.5.10, but the problem stays the same.

SmartGit 7.1.4 worked fine, but upgrade (due to costs) it's not an option for me at the present day.

I'm stuck. Can somebody explain me why SmartGit 6.5.x doesn't prompt me for password - even when I've removed literally all `Hosting Providers` and `Known credentials` in the `Preferences` dialog and then restarted whole application?

Regards,
Greg

syntevo Support

unread,
Sep 1, 2016, 10:02:18 AM9/1/16
to smar...@googlegroups.com
> I'm stuck. Can somebody explain me why SmartGit 6.5.x doesn't prompt me for
> password - even when I've removed literally all `Hosting Providers` and
> `Known credentials` in the `Preferences` dialog and then restarted whole
> application?

The problem is most likely caused by your OS forbidding "." as part of environment variable names. You could work around the problem by configuring Git to not ask SmartGit for your BitBucket password:

http://stackoverflow.com/questions/5343068

--
Best regards,
Marc Strapetz
syntevo GmbH
http://www.syntevo.com



> > > smartgit+u...@googlegroups.com <javascript:>.
> > > To post to this group, send email to smar...@googlegroups.com
> > <javascript:>.
> > > To view this discussion on the web visit
> > >
> > https://groups.google.com/d/msgid/smartgit/e9b02f77-d0a0-477f-87f5-de6813d1f1a5%40googlegroups.com.
> >
> > > For more options, visit https://groups.google.com/d/optout.
> > >
>
> --
> You received this message because you are subscribed to the Google Groups
> "SmartGit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> smartgit+u...@googlegroups.com.
> To post to this group, send email to smar...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/smartgit/bb857045-5e4c-4c3c-949a-9a3b66b0e87d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages