Pushing git repo, authentication problem

433 views
Skip to first unread message

Stephen Moore

unread,
May 20, 2016, 6:11:45 PM5/20/16
to google-cloud-sdk
After initializing as suggested below, then attempting to push the repo, I receive the warning about
the invalid credential line and authentication fails.

$ gcloud init && git config credential.helper gcloud.sh
$ git remote add google \ https://source.developers.google.com/p/nimbostrati-blog/r/blogcontent
$ git push --all google

warning: invalid credential line: ssl: /var/lib/ca-certificates/ca-bundle.pem Username for 'https://source.developers.google.com':

-------
Google Cloud SDK 110.0.0

bq 2.0.24
bq-nix 2.0.24
core 2016.05.13
core-nix 2016.04.14
gcloud 
gsutil 4.19
gsutil-nix 4.19
kubectl 
kubectl-linux-x86_64 1.2.4
----------
on opensuse tumbleweed
----------

Thanks,
Stephen

Arthur Cherba

unread,
May 20, 2016, 7:29:52 PM5/20/16
to Stephen Moore, google-cloud-sdk
Do you have gcloud in your path?
  $ which gcloud

Are you able to do
  $ gcloud source repos clone blogcontent --project nimbostrati-blog

If still does not work can you post the issue at
also include OS and git versions, and output of 
  $ gcloud info


--
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-s...@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/ed9064b9-fb9f-4787-bc74-ad2c8b38bd3f%40googlegroups.com.

Stephen Moore

unread,
May 22, 2016, 6:47:24 PM5/22/16
to google-cloud-sdk
Resolved:

Must have been configuration or corruption problem. I reinstalled cloud sdk and python, now no authentication problem.

Opensuse (tumbleweed) and httplib2 in the sdk work better with .boto config variable ca-certificates_file = /var/lib/ca-certificates/ca-bundle.pem
at least for gsutil, not obvious whether the git credential helper uses it.
Reply all
Reply to author
Forward
0 new messages