I am trying to setup Rest API for gerrit trigger jenkins plugin. I have created a service user in git.
But now when i am entering the http username/password for service user and pressing test connection . I am getting Http connection unauthorized connection.
HTTP password is nothing but the SSH public key added in the gerrit config UI.
Best Regards, Saurav
I was facing similar problem and then I found the solution here: https://dev.vaadin.com/review/Documentation/dev-rest-api.html#_authentication
The gerrituser and httppassword should be used from http://gerrit-url/#/settings/http-password link. You can test that with .netrc file as well.
I don't know how your gerrit was configured so I suggest you should also try to switch from basic_auth to digest_auth. eg: