Score:0

how to solve curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to raw.githubusercontent.com:443 error?

mn flag

I am trying to install the Homebrew package on my system but whenever I try to run the below command to install homebrew I am getting the above-mentioned error
Command to install homebrew:

./bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"


How can I solve this error? I am using Ubuntu 22.04.2 LTS OS
OS Type: 64 bit

lemoana avatar
ao flag
You should first check whether your server can connect to github or not, check the output using this: `curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh`
Coder_7 avatar
mn flag
No I cannot connect my server to github I checked it by running ping github.com command how can I fix it?
lemoana avatar
ao flag
This belongs to network problem and can have many aspects. You can troubleshoot this by checking these points: 1. DNS issues. 2. firewall or proxy issues. 3. HTTP proxy configuration issues. 4. GitHub accessibility issues. 5. you can try using a site that supports accelerated GitHub downloads, such as GitClone. you can get refer from [here-cannot ping GitHub.](https://askubuntu.com/questions/1254542/cannot-ping-github)
Score:0
mn flag

I read some stack exchange question which were related to my question to resolve this issue I found a hack to use VPN . In ubuntu snap store you can use Riseup VPN to solve this issue. In this scenario, router seems to be doing a transparent proxy.

If it is, then you may want to turn that off.

If you can't turn it off, then you might want to install a VPN solution that will allow you to bypass it.

You can go through this stackExchange question for more:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.