On 31/10/13 12:46 , "Prathamesh P Ghanekar" <[email protected]> wrote:
In case if your company proxy is not able to access git or gerrit ports (9418/29418), then you have only one choice to clone over https. Please get your gerrit HTTP password from https://review.tizen.org/gerrit/#/settings/http-password and then you should be able to clone via URLs https://review.tizen.org/gerrit/p/ ... >Hi Alexander, > >As you said, the problem seems to be with the corporate proxy we are >using. The 'nc' command gives 'broken pipe' error. >Is there any other solution if we have to work under this constraint? > >Regards, >Prathamesh > >-----Original Message----- >From: Kanevskiy, Alexander [mailto:[email protected]] >Sent: 31 October 2013 15:39 >To: Prathamesh P Ghanekar; [email protected] >Cc: Sathishkumar Sivagurunathan; Jay D Bhatt >Subject: Re: [Tizen General] unable to clone tizen repositories via ssh > >On 31/10/13 08:28 , "Prathamesh P Ghanekar" ><[email protected]<mailto:[email protected]>> >wrote: > >Please check that your proxy is allowing connections to outside world for >required ports. > >If proxy is behaiving correctly, you should see similar output like below: > >$ nc -v -x proxy.company.com:1080 review.tizen.org 29418 Connection to >review.tizen.org port 29418 [tcp/*] succeeded! >SSH-2.0-GerritCodeReview_2.6.1.20130902 (SSHD-CORE-0.6.0) > > > >Hi, >I wish to build TIZEN IVI for FreeScale iMX.6 board using GBS build >system. >I started with the steps mentioned in the developers’ guide.( >https://source.tizen.org/documentation/developer-guide/clone-tizen-source) > >1)My .ssh/config file looks like follows: >Host tizen > Hostname review.tizen.org > IdentityFile /home/patni/.ssh/id_rsa > User prathamesh > Port 29418 > >Host review.tizen.org > Hostname review.tizen.org > IdentityFile /home/patni/.ssh/id_rsa > User prathamesh > Port 29418 >ProxyCommand nc -X5 -x <proxyuser>:<proxypassword>@<proxyserver>:8080 %h >%p > >2)And following is my ~/.gitconfig file: >[user] > name = prathamesh ghanekar > email = >[email protected]<mailto:[email protected]> >[http] > proxy = "http://<user>:<password>@<proxyserver>:8080" >[https] > proxy = >https://<user>:<password>@<proxyserver>:8080<https://%3cuser%3e:%3cpasswor >d%3e@%3cproxyserver%3e:8080> > >3)After uploading SSH public key and generating https password from TIZEN >gerrit,I tried all of the following commands, but none worked: >>ssh tizen >>ssh review.tizen.org >>ssh review.tizen.org –p 29418 > >All of them gave me the same error as follows: >>ssh: connect to host review.tizen.org port 29418: Connection refused > >4) Since, this did not work, I chose the other option i.e. cloning >repositories using https instead of ssh. >After downloading repo, I tried to initialize repo with following command: >>repo init -u >>https://prathamesh:<HTTP_Password>@review.tizen.org/gerrit/p/scm/manife >>st -b tizen -m >>ivi.xml<https://prathamesh:%[email protected]/gerrit/ >>p/scm/manifest%20-b%20tizen%20-m%20ivi.xml> > >But, I ended up getting following error: >fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle >fatal: error [Errno -2] Name or service not known > >N.B. My firewall(ufw) is disabled and iptables are cleared. > >Could you please help me out with these errors?? >Thanks in advance. > >Regards, >Prathamesh > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Information contained and transmitted by this e-mail is confidential and >proprietary to iGATE and its affiliates and is intended for use only by >the recipient. If you are not the intended recipient, you are hereby >notified that any dissemination, distribution, copying or use of this >e-mail is strictly prohibited and you are requested to delete this e-mail >immediately and notify the originator or >[email protected]<mailto:[email protected]>. iGATE does not enter >into any agreement with any party by e-mail. Any views expressed by an >individual do not necessarily reflect the view of iGATE. iGATE is not >responsible for the consequences of any actions taken on the basis of >information provided, through this email. The contents of an attachment >to this e-mail may contain software viruses, which could damage your own >computer system. While iGATE has taken every reasonable precaution to >minimise this risk, we cannot accept liability for any damage which you >sustain as a result of software viruses. You should carry out your own >virus checks before opening an attachment. To know more about iGATE >please visit www.igate.com<http://www.igate.com>. >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >-- >Best regards, Alexander Kanevskiy. >--------------------------------------------------------------------- >Intel Finland Oy >Registered Address: PL 281, 00181 Helsinki Business Identity Code: >0357606 - 4 Domiciled in Helsinki > >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. > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Information contained and transmitted by this e-mail is confidential and >proprietary to iGATE and its affiliates and is intended for use only by >the recipient. If you are not the intended recipient, you are hereby >notified that any dissemination, distribution, copying or use of this >e-mail is strictly prohibited and you are requested to delete this e-mail >immediately and notify the originator or [email protected] ><mailto:[email protected]>. iGATE does not enter into any agreement >with any party by e-mail. Any views expressed by an individual do not >necessarily reflect the view of iGATE. iGATE is not responsible for the >consequences of any actions taken on the basis of information provided, >through this email. The contents of an attachment to this e-mail may >contain software viruses, which could damage your own computer system. >While iGATE has taken every reasonable precaution to minimise this risk, >we cannot accept liability for any damage which you sustain as a result >of software viruses. You should carry out your own virus checks before >opening an attachment. To know more about iGATE please visit >www.igate.com <http://www.igate.com>. >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -- Best regards, Alexander Kanevskiy. --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki 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. _______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
