When trying to connect through a proxy server TortoiseHg for Windows says “SSL error: unknown protocol”

前端 未结 2 838
悲&欢浪女
悲&欢浪女 2021-01-04 21:19

The scenario:

You\'re behind a proxy server on Windows. You\'ve configured TortoiseHg to use a proxy server; that is you\'ve entered a server name/IP and port numbe

2条回答
  •  不知归路
    2021-01-04 21:41

    In addition to your excellent tip, I offer one more...

    If your company is using an automatic proxy script, then the proxy used for web browsing may not be the one you need for Mercurial. Thus if you try the proxy you find via netstat, and you get "getaddrinfo failed" errors in tortoise, then try this...

    1. Get the proxy script address: IE->config->Internet Options->Connection->LAN ?Settings. Copy the url from the "Address" box.
    2. Browse to that address and save the file to disk.
    3. Open that file in notepad and scroll to the end, it probably ends with something like-- return "PROXY ipaddresshere:port" that's the IP and port you need.
    4. Plug that IP and port into tortoise: right-click the repo, click settings, click proxy, put the ip and port into the Host field. I generally don't need user and password so try without it first.

提交回复
热议问题