添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

问题描述:

Ubuntu下连接raw.githubusercontent.com失败

wget https://raw.githubusercontent.com/madmashup/targeted-marketing-predictive-engine/master/banking.csv
--2020-05-17 17:00:19--  https://raw.githubusercontent.com/madmashup/targeted-marketing-predictive-engine/master/banking.csv
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Network is unreachable.

解决方法:

step-1

在 https://site.ip138.com/raw.Githubusercontent.com/

输入raw.githubusercontent.com查询IP地址

step-2

修改hosts Ubuntu,CentOS及macOS直接在终端输入

sudo vi /etc/hosts

添加以下内容保存即可 (IP地址查询后相应修改,可以ping不同IP的延时 选择最佳IP地址)

# GitHub Start
52.74.223.119 github.com
192.30.253.119 gist.github.com
54.169.195.247 api.github.com
185.199.111.153 assets-cdn.github.com
151.101.76.133 raw.githubusercontent.com
151.101.108.133 user-images.githubusercontent.com
151.101.76.133 gist.githubusercontent.com
151.101.76.133 cloud.githubusercontent.com
151.101.76.133 camo.githubusercontent.com
151.101.76.133 avatars0.githubusercontent.com
151.101.76.133 avatars1.githubusercontent.com
151.101.76.133 avatars2.githubusercontent.com
151.101.76.133 avatars3.githubusercontent.com
151.101.76.133 avatars4.githubusercontent.com
151.101.76.133 avatars5.githubusercontent.com
151.101.76.133 avatars6.githubusercontent.com
151.101.76.133 avatars7.githubusercontent.com
151.101.76.133 avatars8.githubusercontent.com
# GitHub End

参考: https://www.cnblogs.com/sinferwu/p/12726833.html

解决 方法 在Wget后面添加"–no-check-certificate"如下所示: wget --no-check-certificate 你要下载的SSL网址 第二种 解决 办法就是 安装ca-certificates apt-get install ca-certificates -y apt-get install ssl-cert . . . 1 . 查找 raw . github usercontent . com的IP地址 点击下方的链接 https://site . ip138 . com/ raw . Github usercontent . com/ 输入 raw . github usercontent . com 2 . 打开/etc/hosts文件 sudo vim etc/hosts 将 raw . github usercontent . com和相应的IP地址添加到文件中。 参考与https://www . cnblogs . c https://site . ip138 . com/ raw . Github usercontent . com/ 输入 raw . github usercontent . com 查询IP地址 修改hosts Ubuntu,CentOS及macOS直接在终端输入 sudo vi /etc/hosts 添加以下内容保存即可 (IP地址查询后相应修改,可以 . . .
原文https://mp . weixin . qq . com/s/SrKGoSG6mfHCQqk3Ol6eOw 这是webpack系列文章的十一篇,整理了一些关于webpack的面试题,对之前的内容做一次总结 webpack官网https://webpack . js . org/ webpack中文网https://www . webpackjs . com/ 什么是webpack webpack是一个打包模块化 . . .
sh -c "$(wget -O- https:// raw . github usercontent . com/ohmyzsh/ohmyzsh/master/tools/install . sh)" 然后就会遇到如下错误 正在解析主机 raw . github usercontent . com ( raw . github usercontent . com) . . . 0 . 0 . 0 . 0 正在 连接 raw . github usercontent . com ( raw . github usercontent . com 当不能从网址https:// raw . github usercontent . com获取信息时,需要进行对应的处理 ~]# /usr/local/bin/certbot-auto renew --dry-run /usr/local/bin/certbot-auto has insecure permissions! To learn how to fix them, visit https://community . letsencrypt . org/t/certbot-auto-deployment
问题: github 的 raw 文件访问不了 简单的说就是域名被DNS污染了 在hosts文件加上:199 . 232 . 4 . 133 raw . github usercontent . com 这样就行了 在/etc/hosts添加ip到域名的映射如下,把xxx替换为真实的ip地址 xxx . xxx . xxx . xxx raw . github usercontent . com mac电脑操作命令如下: sudo vi /etc/hosts 参考链接: https://joveh-h . blog . csdn . net/article/details/106681211 . . .
是 github 用来存储用户上传文件(不是项目仓库的文件,而是issue里的图片之类的)的服务地址。放在亚马逊s3上。是 github 的素材服务器 (assets server), 避免跟主服务抢占负载 常规 github 界面 1、访问网址:https://site . ip138 . com/ raw . Github usercontent . com/ C:\Windows\System32\drivers\etc hosts文件 添加 以下内容并保存即可恢复 151 . 101 . 76 . 133 raw . github usercontent . com
好几个星期之前本人就发现自己的 github 在网页打开显示不了图片的问题了,不过当时没在意。 今天强迫症逼迫我一定要搞定它,于是去找了一些方法,自己做个记录,有相同问题的伙伴可以参考一下。 比如随便打开一个项目,图片都挂掉了,我头像都没了 打开控制台显示 主要报错是Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID 查了 . . .
使用Google Chrome可以访问https:// github . com, 但是下载文件时提示报错, 如下: 使用ping检查地址 raw . github usercontent . com, ping失败,显示域名解析失败。 上网使用域名查询工具 https://site . ip138 . com/, 输入 raw . github usercontent . com 解决 方式 如果主机是Linux系统,可在文件/etc/hosts后追加如下,使用IP地址代替域名访问: 151 . https://hub . fastgit . org 上面的镜像就是一个克隆版的 Github ,可以访问上面的镜像网站,网站的内容跟 Github 是完整同步的镜像,然后在这个网站里面进行下载克隆等操作。 2、 GitHub 文件加速 利用 Cloudflare Workers 对 github release 、archive 以及项目文件进行加速,部署无需服务器且自带CDN . https://hunsh . net/archi 网址:https://site . ip138 . com/ raw . Github usercontent . com/ 输入 raw . github usercontent . com,查询IP地址 修改host 路径:C:\Windows\System32\drivers\etc 修改hosts文件,最后添加:151 . 101 . 76 . 133 raw . github usercontent . com 找不到 raw . github usercontent . com 的服务器 DNS 地址 我们只需要修改 C:\Windows\System32\drivers\etc\hosts 文件: 在其最后面加入 151 . 101 . 76 . 133 raw . github usercontent . com hosts文件需要有管理员权限才能修改的话,我们只需要用管理员权限打开记事本