constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 148 forks source link

gb vendor fetch fails when Bitbucket two factor auth enabled #582

Open lancecarlson opened 8 years ago

lancecarlson commented 8 years ago
gb vendor fetch bitbucket.org/***/***
Username for 'https://bitbucket.org':
Password for 'https://***@bitbucket.org':
remote: Two-step verification is enabled. Please use SSH instead: https://confluence.atlassian.com/x/zYoMEg
fatal: unable to access 'https://bitbucket.org/***/***/': The requested URL returned error: 403
skipping insecure protocol: git://bitbucket.org/***/***
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
skipping insecure protocol: http://bitbucket.org/***/***
skipping insecure protocol: http://bitbucket.org/***/***
FATAL: command "fetch" failed: unknown repository type
FATAL: command "vendor" failed: exit status 1
lancecarlson commented 8 years ago

Did I miss the mark on this being an issue? @davecheney

davecheney commented 8 years ago

Sorry, I haven't had a chance to look at this. Private repos are always a problem.

On Wed, 30 Mar 2016, 02:37 Lance Carlson, notifications@github.com wrote:

Did I miss the mark on this being an issue? @davecheney https://github.com/davecheney

— You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub https://github.com/constabulary/gb/issues/582#issuecomment-202961566

lancecarlson commented 8 years ago

No worries! I thought I saw this same issue addressed for github so figured bitbucket should probably receive some attention too. =D