How to use gerrit over https

asked 2015-07-15 20:54:48 -0600

xiangfeiz gravatar image

updated 2015-08-20 02:39:50 -0600

The Developer Guide says we can use Gerrit over https [1]. But I always got an error saying not able to connect to ssh://<project>.git


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-07-15 20:58:57 -0600

xiangfeiz gravatar image

updated 2015-07-16 03:46:58 -0600

It took me a while to get it working so I'd like to share my findings. The root cause is that git-review prior to version 1.25 does not support gerrit over https.

git-review version 1.25.0 was released on Jun 12, 2015. So most of people should not have this problem any more.

The previous version, 1.24, does not support gerrit over https. So I assume people must get git-review from latest source code from master branch or some unofficial build.

To check git-review version, run

git review --version
edit flag offensive delete link more


I am facing a similar issue. My git-review version is 1.12. How can i update it to resolve this issue?

sanjana gravatar imagesanjana ( 2015-08-19 23:08:15 -0600 )edit

I used pip to upgrade git-review to 1.25.

pip install --upgrade git-review
xiangfeiz gravatar imagexiangfeiz ( 2015-08-20 02:41:39 -0600 )edit

answered 2015-08-20 02:13:47 -0600

updated 2015-08-20 03:48:22 -0600

Could you try the following and tell us if this is working for you ? Check that git-review's directory is properly setup in your PATH environment variable...

# OS-installed one
$ which git-review
$ git review --version
git-review version 1.23
$ dpkg-query -L git-review | grep 'bin/git-review'

$ git clone
$ cd git-review
$ python install --user
$ export PATH=$HOME/.local/bin:$PATH

# New one from upstream source repository
$ which git-review 
$ git review --version
git-review version
edit flag offensive delete link more


When i try "which git-review" , i don't get a path. But when i try sudo apt-get install git-review, it says git-review is already the newest version

sanjana gravatar imagesanjana ( 2015-08-20 03:11:32 -0600 )edit

And if you do the remaining ?

vincent-legoll gravatar imagevincent-legoll ( 2015-08-21 02:10:14 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-07-15 20:54:48 -0600

Seen: 337 times

Last updated: Aug 20 '15