Re: [openstack-dev] [kuryr] gerrit/git review problem error code 10061
Hi, An alternative solution is to use https instead of ssh to interact with gerrit: # It requires a "recent" gitreview git config gitreview.scheme https git config gitreview.port 443 git review -s It requires to define a http password in gerrit (settings > HTTP Password) Cédric/ZZelle@IRC On Wed, Nov 11, 2015 at 10:03 AM, Znoinski, Waldemar < waldemar.znoin...@intel.com> wrote: > Hi Baohua > > If you have a socks proxy to hand then you could check ‘tsocks’ - > http://tsocks.sourceforge.net/ or check your distro’s package manager. > > It’s quite ‘transparent’ proxying (over socks 4 or 5) of pretty much any > process you run with it, i.e.: > > > > tsocks scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg > > .git\hooks\commit-msg" > > > > *From:* Baohua Yang [mailto:yangbao...@gmail.com] > *Sent:* Wednesday, November 11, 2015 2:15 AM > *To:* OpenStack Development Mailing List (not for usage questions) < > openstack-dev@lists.openstack.org> > *Subject:* Re: [openstack-dev] [kuryr] gerrit/git review problem error > code 10061 > > > > Thanks to all! > > It seems network connectivity problem. How sad again! :( > > i will try other ways. > > > > On Tue, Nov 10, 2015 at 12:52 AM, Jeremy Stanley > wrote: > > On 2015-11-09 10:13:33 +0800 (+0800), Baohua Yang wrote: > > Anyone recently meet such problem after cloning the latest code > > from kuryr? Try proxy also, but not solved. > [...] > > The following command failed with exit code 1 > > "scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg > > .git\hooks\commit-msg" > > --- > > FATAL: Unable to connect to relay host, errno=10061 > > ssh_exchange_identification: Connection closed by remote host > [...] > > I've checked our Gerrit SSH API authentication logs from the past 30 > days and find no record of any yangbaohua authenticating. Chances > are this is a broken local proxy or some sort of intercepting > firewall which is preventing your 29418/tcp connection from even > reaching review.openstack.org. > > If you use Telnet or NetCat to connect to port 29418 on > review.openstack.org directly, do you see an SSH banner starting > with a string like "SSH-2.0-GerritCodeReview_2.8.4-19-g4548330 > (SSHD-CORE-0.9.0.201311081)" or something else? > -- > Jeremy Stanley > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > > > -- > > Best wishes! > Baohua > > -- > Intel Research and Development Ireland Limited > Registered in Ireland > Registered Office: Collinstown Industrial Park, Leixlip, County Kildare > Registered Number: 308263 > > This e-mail and any attachments may contain confidential material for the > sole use of the intended recipient(s). Any review or distribution by others > is strictly prohibited. If you are not the intended recipient, please > contact the sender and delete all copies. > > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kuryr] gerrit/git review problem error code 10061
Hi Baohua If you have a socks proxy to hand then you could check ‘tsocks’ - http://tsocks.sourceforge.net/ or check your distro’s package manager. It’s quite ‘transparent’ proxying (over socks 4 or 5) of pretty much any process you run with it, i.e.: tsocks scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg<mailto:yangbao...@review.openstack.org:hooks/commit-msg> > .git\hooks\commit-msg" From: Baohua Yang [mailto:yangbao...@gmail.com] Sent: Wednesday, November 11, 2015 2:15 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [kuryr] gerrit/git review problem error code 10061 Thanks to all! It seems network connectivity problem. How sad again! :( i will try other ways. On Tue, Nov 10, 2015 at 12:52 AM, Jeremy Stanley mailto:fu...@yuggoth.org>> wrote: On 2015-11-09 10:13:33 +0800 (+0800), Baohua Yang wrote: > Anyone recently meet such problem after cloning the latest code > from kuryr? Try proxy also, but not solved. [...] > The following command failed with exit code 1 > "scp -P29418 > yangbao...@review.openstack.org:hooks/commit-msg<mailto:yangbao...@review.openstack.org:hooks/commit-msg> > .git\hooks\commit-msg" > --- > FATAL: Unable to connect to relay host, errno=10061 > ssh_exchange_identification: Connection closed by remote host [...] I've checked our Gerrit SSH API authentication logs from the past 30 days and find no record of any yangbaohua authenticating. Chances are this is a broken local proxy or some sort of intercepting firewall which is preventing your 29418/tcp connection from even reaching review.openstack.org<http://review.openstack.org>. If you use Telnet or NetCat to connect to port 29418 on review.openstack.org<http://review.openstack.org> directly, do you see an SSH banner starting with a string like "SSH-2.0-GerritCodeReview_2.8.4-19-g4548330 (SSHD-CORE-0.9.0.201311081)" or something else? -- Jeremy Stanley __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe<http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Best wishes! Baohua -- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kuryr] gerrit/git review problem error code 10061
Thanks to all! It seems network connectivity problem. How sad again! :( i will try other ways. On Tue, Nov 10, 2015 at 12:52 AM, Jeremy Stanley wrote: > On 2015-11-09 10:13:33 +0800 (+0800), Baohua Yang wrote: > > Anyone recently meet such problem after cloning the latest code > > from kuryr? Try proxy also, but not solved. > [...] > > The following command failed with exit code 1 > > "scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg > > .git\hooks\commit-msg" > > --- > > FATAL: Unable to connect to relay host, errno=10061 > > ssh_exchange_identification: Connection closed by remote host > [...] > > I've checked our Gerrit SSH API authentication logs from the past 30 > days and find no record of any yangbaohua authenticating. Chances > are this is a broken local proxy or some sort of intercepting > firewall which is preventing your 29418/tcp connection from even > reaching review.openstack.org. > > If you use Telnet or NetCat to connect to port 29418 on > review.openstack.org directly, do you see an SSH banner starting > with a string like "SSH-2.0-GerritCodeReview_2.8.4-19-g4548330 > (SSHD-CORE-0.9.0.201311081)" or something else? > -- > Jeremy Stanley > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Best wishes! Baohua __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kuryr] gerrit/git review problem error code 10061
On 2015-11-09 10:13:33 +0800 (+0800), Baohua Yang wrote: > Anyone recently meet such problem after cloning the latest code > from kuryr? Try proxy also, but not solved. [...] > The following command failed with exit code 1 > "scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg > .git\hooks\commit-msg" > --- > FATAL: Unable to connect to relay host, errno=10061 > ssh_exchange_identification: Connection closed by remote host [...] I've checked our Gerrit SSH API authentication logs from the past 30 days and find no record of any yangbaohua authenticating. Chances are this is a broken local proxy or some sort of intercepting firewall which is preventing your 29418/tcp connection from even reaching review.openstack.org. If you use Telnet or NetCat to connect to port 29418 on review.openstack.org directly, do you see an SSH banner starting with a string like "SSH-2.0-GerritCodeReview_2.8.4-19-g4548330 (SSHD-CORE-0.9.0.201311081)" or something else? -- Jeremy Stanley signature.asc Description: Digital signature __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kuryr] gerrit/git review problem error code 10061
TCP error code 10061: No connection could be made because the target machine actively refused it. find this from google, maybe helpful On Mon, Nov 9, 2015 at 10:42 AM, Iury Gregory wrote: > Not sure if this can help you, > Verify if your public key is in your gerrit account. > > Another thing you can try is to update your openstack account to foundation > member, I had a similar error a while a go. > > > 2015-11-08 23:13 GMT-03:00 Baohua Yang : >> >> Hi, >>Anyone recently meet such problem after cloning the latest code from >> kuryr? >>Try proxy also, but not solved. >> >> $ git review -s >> Problem running 'git remote update gerrit' >> Fetching gerrit >> FATAL: Unable to connect to relay host, errno=10061 >> ssh_exchange_identification: Connection closed by remote host >> fatal: Could not read from remote repository. >> >> Please make sure you have the correct access rights >> and the repository exists. >> error: Could not fetch gerrit >> Traceback (most recent call last): >> File "d:\Python27\lib\runpy.py", line 162, in _run_module_as_main >> "__main__", fname, loader, pkg_name) >> File "d:\Python27\lib\runpy.py", line 72, in _run_code >> exec code in run_globals >> File "d:\Python27\Scripts\git-review.exe\__main__.py", line 9, in >> >> File "d:\Python27\lib\site-packages\git_review\cmd.py", line 1202, in >> main >> set_hooks_commit_msg(remote, hook_file) >> File "d:\Python27\lib\site-packages\git_review\cmd.py", line 283, in >> set_hooks_commit_msg >> run_command_exc(CannotInstallHook, *cmd) >> File "d:\Python27\lib\site-packages\git_review\cmd.py", line 152, in >> run_command_exc >> raise klazz(rc, output, argv, env) >> git_review.cmd.CannotInstallHook: Problems encountered installing >> commit-msg hook >> The following command failed with exit code 1 >> "scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg >> .git\hooks\commit-msg" >> --- >> FATAL: Unable to connect to relay host, errno=10061 >> ssh_exchange_identification: Connection closed by remote host >> >> >> $ git remote show origin >> * remote origin >> Fetch URL: git://git.openstack.org/openstack/kuryr >> Push URL: git://git.openstack.org/openstack/kuryr >> HEAD branch: master >> Remote branch: >> master tracked >> Local branch configured for 'git pull': >> master merges with remote master >> Local ref configured for 'git push': >> master pushes to master (local out of date) >> >> >>Thanks! >> >> -- >> Best wishes! >> Baohua >> >> __ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > > > > -- > > ~ > Att[]'s > Iury Gregory Melo Ferreira > Master student in Computer Science at UFCG > E-mail: iurygreg...@gmail.com > ~ > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Gareth Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball OpenStack contributor, kun_huang@freenode My promise: if you find any spelling or grammar mistakes in my email from Mar 1 2013, notify me and I'll donate $1 or ¥1 to an open organization you specify. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kuryr] gerrit/git review problem error code 10061
Not sure if this can help you, Verify if your public key is in your gerrit account. Another thing you can try is to update your openstack account to foundation member, I had a similar error a while a go. 2015-11-08 23:13 GMT-03:00 Baohua Yang : > Hi, >Anyone recently meet such problem after cloning the latest code from > kuryr? >Try proxy also, but not solved. > > $ git review -s > Problem running 'git remote update gerrit' > Fetching gerrit > FATAL: Unable to connect to relay host, errno=10061 > ssh_exchange_identification: Connection closed by remote host > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > error: Could not fetch gerrit > Traceback (most recent call last): > File "d:\Python27\lib\runpy.py", line 162, in _run_module_as_main > "__main__", fname, loader, pkg_name) > File "d:\Python27\lib\runpy.py", line 72, in _run_code > exec code in run_globals > File "d:\Python27\Scripts\git-review.exe\__main__.py", line 9, in > > File "d:\Python27\lib\site-packages\git_review\cmd.py", line 1202, in > main > set_hooks_commit_msg(remote, hook_file) > File "d:\Python27\lib\site-packages\git_review\cmd.py", line 283, in > set_hooks_commit_msg > run_command_exc(CannotInstallHook, *cmd) > File "d:\Python27\lib\site-packages\git_review\cmd.py", line 152, in > run_command_exc > raise klazz(rc, output, argv, env) > git_review.cmd.CannotInstallHook: Problems encountered installing > commit-msg hook > The following command failed with exit code 1 > "scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg > .git\hooks\commit-msg" > --- > FATAL: Unable to connect to relay host, errno=10061 > ssh_exchange_identification: Connection closed by remote host > > > $ git remote show origin > * remote origin > Fetch URL: git://git.openstack.org/openstack/kuryr > Push URL: git://git.openstack.org/openstack/kuryr > HEAD branch: master > Remote branch: > master tracked > Local branch configured for 'git pull': > master merges with remote master > Local ref configured for 'git push': > master pushes to master (local out of date) > > >Thanks! > > -- > Best wishes! > Baohua > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- ~ *Att[]'sIury Gregory Melo Ferreira **Master student in Computer Science at UFCG* *E-mail: iurygreg...@gmail.com * ~ __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [kuryr] gerrit/git review problem error code 10061
Hi, Anyone recently meet such problem after cloning the latest code from kuryr? Try proxy also, but not solved. $ git review -s Problem running 'git remote update gerrit' Fetching gerrit FATAL: Unable to connect to relay host, errno=10061 ssh_exchange_identification: Connection closed by remote host fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch gerrit Traceback (most recent call last): File "d:\Python27\lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "d:\Python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "d:\Python27\Scripts\git-review.exe\__main__.py", line 9, in File "d:\Python27\lib\site-packages\git_review\cmd.py", line 1202, in main set_hooks_commit_msg(remote, hook_file) File "d:\Python27\lib\site-packages\git_review\cmd.py", line 283, in set_hooks_commit_msg run_command_exc(CannotInstallHook, *cmd) File "d:\Python27\lib\site-packages\git_review\cmd.py", line 152, in run_command_exc raise klazz(rc, output, argv, env) git_review.cmd.CannotInstallHook: Problems encountered installing commit-msg hook The following command failed with exit code 1 "scp -P29418 yangbao...@review.openstack.org:hooks/commit-msg .git\hooks\commit-msg" --- FATAL: Unable to connect to relay host, errno=10061 ssh_exchange_identification: Connection closed by remote host $ git remote show origin * remote origin Fetch URL: git://git.openstack.org/openstack/kuryr Push URL: git://git.openstack.org/openstack/kuryr HEAD branch: master Remote branch: master tracked Local branch configured for 'git pull': master merges with remote master Local ref configured for 'git push': master pushes to master (local out of date) Thanks! -- Best wishes! Baohua __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev