If you are using an IPV6-only host then this issue occurs when you want to pull something from GitHub. To date, GitHub doesn’t support IPV6 addresses and hence you get this error.
In this blog, You will learn how to get around this issue. Remember, this is only a temporary fix until GitHub officially supports IPV6-only servers (or hosts).
Use a Proxy Server
You can use a proxy server that proxy your IPV6 request to GitHub. It means You use the IPV4 address of the proxy server to access GitHub.
There are many proxy servers available to use for this purpose, but I find
https://danwin1210.de:1443 is working and consistent.
Let’s take an example. You want to clone https://github.com/facebook/react repository to your IPV6-only host. To achieve this, just replace the
https://danwin1210.de:1443. So the final URL should look like
git clone https://danwin1210.de:1443/facebook/react
Use Alternative Services
GitLab and Bitbucket support IPV6 by default. It is preferable to host your repository to either GitLab or BitBucket. They are almost the same as GitHub and offer the same services for developers.
- Solve error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 22.214.171.124:443: connect: network is unreachable
- Solve Gnome Boxes Virtualization Settings Are Unavailable on Your System
- Solve Username Is Not in the Sudoers File Debian Error
- How to deploy svelte app in Github Pages
- How to Install Nodejs in Linux