<div dir="ltr">Do you know if you have SSH access to the outside world through the firewall?<div><br></div><div>Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with:</div><div><br></div><div>Host <a href="http://review.openstack.org">review.openstack.org</a></div><div> ProxyCommand corkscrew <proxy-host> 80 %h %p</div><div><br></div><div>The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80.</div><div><br></div><div>HTHs,</div><div><br></div><div>PCM</div><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID <<a href="mailto:dk068x@att.com">dk068x@att.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">Thanks for replying.<u></u><u></u></span></p>
<p class="MsoNormal" style="border:none;padding:0in"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">% git review -vs<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">2015-06-11 09:30:38.399021 Running: git remote<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">2015-06-11 09:30:38.401033 Running: git config --get gitreview.username<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">No remote set, testing ssh://<a href="http://dk068x@review.openstack.org:29418/openstack/horizon.git" target="_blank">dk068x@review.openstack.org:29418/openstack/horizon.git</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://<a href="http://dk068x@review.openstack.org:29418/openstack/horizon.git" target="_blank">dk068x@review.openstack.org:29418/openstack/horizon.git</a> --all<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">ssh://<a href="http://dk068x@review.openstack.org:29418/openstack/horizon.git" target="_blank">dk068x@review.openstack.org:29418/openstack/horizon.git</a> did not work.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">Could not connect to gerrit.<u></u><u></u></span></p>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">Enter your gerrit username:<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a"><u></u> <u></u></span></p>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">This output is interesting, because I followed the instructions to set the scheme and port to https and 443, which can be seen from:<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">% git config --global -l<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a"><a href="http://user.name" target="_blank">user.name</a>=David Karr<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">user.email=<a href="mailto:dk068x@att.com" target="_blank">dk068x@att.com</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">gitreview.scheme=https<u></u><u></u></span></p>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">gitreview.port=443<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">Concerning the question ‘Do you have "gerrit" remote already configured?’, I guess I’d have to say I don’t know. I’ve followed instructions for setting up my pub key,
but I’m not sure exactly what is entailed in “gerrit remote”.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">I can get to
<a href="https://review.openstack.org/" target="_blank">https://review.openstack.org/</a> from my browser and from the command line with curl.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a">The “ls-remote” command returns without error (or any other output).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Inconsolata;color:#44546a"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Yuriy Taraday [mailto:<a href="mailto:yorik.sar@gmail.com" target="_blank">yorik.sar@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, June 11, 2015 9:19 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] Looking for help getting git-review to work over https<u></u><u></u></span></p>
</div>
</div></div></div></div><div lang="EN-US" link="blue" vlink="purple"><div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p>On Thu, Jun 11, 2015, 18:09 KARR, DAVID <<a href="mailto:dk068x@att.com" target="_blank">dk068x@att.com</a>> wrote:<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p>I could use some help with setting up git-review in a slightly unfriendly firewall situation.<u></u><u></u></p>
<p>I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks the non-standard ssh port. I'm following the instructions at
<a href="http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https" target="_blank">
http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https</a> , for configuring git-review to use https on port 443, but this still isn't working (times out with "Could not connect to gerrit"). I've confirmed that I can reach other
external sites on port 443.<u></u><u></u></p>
<p>Can someone give me a hand with this?<u></u><u></u></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p><u></u> <u></u></p>
</blockquote>
<p><u></u> <u></u></p>
<p>Hello.<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>- Can you please post all output from "git review -vs"?<u></u><u></u></p>
<p>- Do you have "gerrit" remote already configured?<u></u><u></u></p>
<p>- Do you have access to <a href="https://review.openstack.org/" target="_blank">
https://review.openstack.org/</a> from your browser?<u></u><u></u></p>
<p>- Can you access it from command line (via "curl -I <a href="https://review.openstack.org/" target="_blank">
https://review.openstack.org/</a>" for example)?<u></u><u></u></p>
<p>- Does "git ls-remote <a href="https://review.openstack.org/openstack/nova" target="_blank">https://review.openstack.org/openstack/nova</a> > /dev/null" produce and error?<u></u><u></u></p>
</div>
</div></div></div>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div></div>