search

Home  >  Q&A  >  body text

github installation - github https cannot connect

I don’t know what’s going on recently. When using git commands, such as push and clone. It always says Failed to receive SOCKS4 connect request ack.
You can access it if you change it to ssh protocol. The system is ubuntu14.04. Is there any solution, or can all https be used via ssh

黄舟黄舟2810 days ago1042

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-02 09:25:02

    Failed to receive SOCKS4 connect request ack
    See the error. You are using a proxy, and then the proxy hangs up.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:25:02

    Have you been blocked again? |_|.
    But since you said ssh can still be used, let’s change the remote url one by one:

    1. Open command line

    2. Move to the project root directory

    3. Executiongit remte origin set-url <ssh-URL>

    4. Done

    reply
    0
  • Cancelreply