git clone error
fatal: unable to access 'https://github.com/pirobot/rbx1.git/': Failed to connect to 127.0.0.1 port 35173: Connection refused
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
fatal: unable to access 'https://github.com/pirobot/rbx1.git/': Failed to connect to 127.0.0.1 port 35173: Connection refused
I have a very dirty fix for you, it should work.
git config --global http.sslVerify false
And then
git clone http://192.30.253.113/pirobot/rbx1.git
It works for me (though I don't have the local IP problem), hope it works for you too. If it does not work, you might want to set the sslVerify back to true
Thank you for your answer! I follow your method,but get the following error!
gzh@gzh-virtual-machine:/etc$ git config --global http.sslVerify false gzh@gzh-virtual-machine:/etc$ git clone http://192.30.253.113/pirobot/rbx1.git fatal: could not create work tree dir 'rbx1'.: Permission denied
@1059682127@qq.com">@1059682127@qq.com Sounds good. Now you just have to get user permissions to write in the folder where you are trying to clone. Right now you are cloning into /etc which is not a good idea. Try the command: cd ~ Before calling the git clone
It may not be the main problem! I change it still get the mistake!
gzh@gzh-virtual-machine:~$ git clone http://192.30.255.112/pirobot/rbx1.git Cloning into 'rbx1'... fatal: unable to access 'http://192.30.255.112/pirobot/rbx1.git/': Couldn't connect to server
Thanks! I have tried many ways but can't solve the problem! I can ping github.com but I can't ping https://github.com
I have solve the question by unset http.proxy and https.proxy! And check it as below:
env|grep -i proxy
Asked: 2017-11-15 01:58:11 -0500
Seen: 3,076 times
Last updated: Nov 15 '17
That looks like a local IP address and port number; not the public address for github. Do you have a proxy or something else installed that might be interfering with your network connectivity?
How can I check if I have a proxy?Thank you|
The error appears when I git clone,show as follows: $ git clone https://github.com/pirobot/rbx1.git Cloning into 'rbx1'... fatal: unable to access 'https://github.com/pirobot/rbx1.git/': Failed to connect to 127.0.0.1 port 35173: Connection refused
I can successfully view https://github.com/pirobot/rbx1.git in the browser,and I can successfully ping 127.0.0.1
127.0.0.1 is address of your own computer.
Make sure you can
ping github.com
. If you can't, there are lots of networking help sites. This might help: https://unix.stackexchange.com/questi...I can ping github.com . The result is shown below: PING github.com (192.30.255.112) 56(84) bytes of data. 64 bytes from lb-192-30-255-112-sea.github.com (192.30.255.112): icmp_seq=1 ttl=128 time=348 ms 64 bytes from lb-192-30-255-112-sea.github.com (192.30.255.112): icmp_seq=2 ttl=128 time=316 ms 64