Re: [google-cloud-sdk] gcloud clone authentication failed

369 views
Skip to first unread message

Zachary Newman

unread,
Aug 22, 2016, 12:39:11 PM8/22/16
to Darrel Sapp, Google Cloud Developers
-google-cloud-sdk
+google-cloud-dev

On Sun, Aug 21, 2016 at 11:38 PM, Darrel Sapp <n077...@gmail.com> wrote:
All I am trying to do is clone the gcloud repo. I keep getting Auth problems
C:\Users\work\Documents\appengine\local-repo>gcloud source repos clone default -
-project=esoteric-throne-140904
Cloning into 'C:\Users\work\Documents\appengine\local-repo\default'...
fatal: Authentication failed for 'https://source.developers.google.com/p/esoteri
c-throne-140904/r/default/'
ERROR: (gcloud.source.repos.clone) Command '['git', 'clone', 'https://source.dev
elopers.google.com/p/esoteric-throne-140904/r/default', 'C:\\Users\\work\\Docume
nts\\appengine\\local-repo\\default', '--config', 'credential.helper="gcloud.cmd
"']' returned non-zero exit status 128

I've done 
gcloud auth login 
gcloud init
Ive tried using the making of the git credentials and cloning that way and I still get the same error. I really feel this is a lot harder than it should be -.- What am I missing



What is the output of 'gcloud info'?

C:\Users\work\Documents\appengine\local-repo>gcloud info
Google Cloud SDK [122.0.0]

Platform: [Windows, x86_64]
Python Version: [2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Int
el)]]
Python Location: [C:\Users\work\AppData\Local\Google\Cloud SDK\google-cloud-sdk\
platform\bundledpython\python.exe]
Site Packages: [Disabled]

Installation Root: [C:\Users\work\AppData\Local\Google\Cloud SDK\google-cloud-sd
k]
Installed Components:
  bundled-python: [2.7.10]
  bq-win: [2.0.24]
  core: [2016.08.16]
  core-win: [2016.08.05]
  gcloud: []
  windows-ssh-tools: [2016.05.13]
  gsutil: [4.20]
  bq: [2.0.24]
  powershell: [0.1.3]
  gsutil-win: [4.20]
System PATH: [C:\Users\work\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\
..\bin\sdk;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD
APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\S
ystem32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program File
s\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\ATI Technologies\ATI
.ACE\Core-Static;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\nodej
s\;C:\ProgramData\chocolatey\bin;C:\Program Files\Java\jdk1.8.0_92\bin;C:\Progra
m Files\Git\cmd;C:\Program Files (x86)\Novosoft\C2J\Bin;C:\Program Files\Intel\W
iFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\work\AppDa
ta\Local\atom\bin;C:\Users\work\AppData\Roaming\npm;C:\Users\work\AppData\Local\
Google\Cloud SDK\google-cloud-sdk\bin]
Cloud SDK on PATH: [True]

Installation Properties: [C:\Users\work\AppData\Local\Google\Cloud SDK\google-cl
oud-sdk\properties]
User Config Directory: [C:\Users\work\AppData\Roaming\gcloud]
Active Configuration Name: [default]
Active Configuration Path: [C:\Users\work\AppData\Roaming\gcloud\configurations\
config_default]

Account: [n077...@gmail.com]
Project: [esoteric-throne-140904]

Current Properties:
  [core]
    project: [esoteric-throne-140904]
    account: [n077...@gmail.com]
    disable_usage_reporting: [False]

Logs Directory: [C:\Users\work\AppData\Roaming\gcloud\logs]
Last Log File: [C:\Users\work\AppData\Roaming\gcloud\logs\2016.08.20\10.01.32.92
4000.log]

--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sdk+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/86b264b6-6945-4cb9-a547-9047bfc11210%40googlegroups.com.

Zachary Newman

unread,
Aug 22, 2016, 2:58:07 PM8/22/16
to Darrel Sapp, Google Cloud Developers
I changed the mailing list; the google-cloud-sdk@ list is no longer used/monitored.

On Mon, Aug 22, 2016 at 2:56 PM, Darrel Sapp <n077...@gmail.com> wrote:
not sure i understand
-google-cloud-sdk
+google-cloud-dev

To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sdk+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/google-cloud-sdk.

Adam Rafuse

unread,
Aug 26, 2016, 5:36:35 PM8/26/16
to Google Cloud Developers, n077...@gmail.com
Have you installed Git before installing the Cloud SDK? The documentation states:

Note: You must install Git before you install the Cloud SDK in order to authorize access to Google Cloud Platform using the credential.helper script, as described later in this Quickstart.

You may need to reinstall the Cloud SDK for the credential helper to work.
-google-cloud-sdk
+google-cloud-dev

To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.

Arthur Cherba

unread,
Sep 6, 2016, 9:02:13 AM9/6/16
to Darrel Sapp, google-cloud-sdk, google-c...@googlegroups.com

On Mon, Aug 22, 2016 at 2:56 PM, Darrel Sapp <n077...@gmail.com> wrote:
not sure i understand
-google-cloud-sdk
+google-cloud-dev

To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sdk+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/google-cloud-sdk.
Reply all
Reply to author
Forward
0 new messages