[rdo-dev] Fwd: unable to talk with rdo gerrit using api-key
ssbarnea at redhat.com
Mon Mar 18 18:19:33 UTC 2019
Based on RDO documentation, when talking with https://review.rdoproject.org/ Gerrit we are supposed to use the API key from https://review.rdoproject.org/sf/user_settings.html page.
Still, with my account this does not work and I always get 401 from Gerrit, even if I use HTTP Basic or Digest.
I tried using gertty and had to enable full debugging in order to see discover this.
gertty -d --debug-sync rdo
- name: rdo
# from https://review.rdoproject.org/sf/user_settings.html
Mainly what happens is:
2019-03-18 18:03:05,397 Starting new HTTPS connection (1): review.rdoproject.org:443
2019-03-18 18:03:06,081 https://review.rdoproject.org:443 "GET /r/a/config/server/version HTTP/1.1" 401 12
2019-03-18 18:03:06,082 HTTP status code: 401
This is not supposed to get a 401, and the same URL works from within the browser, but browser does not use same auth.
Any idea about what is wrong? -- I even used curl with the same results.
curl --user ssbarnea:xxx https://review.rdoproject.org/r/a/config/server/version
More information about the dev