
总是指向本地,导致 brew 安装 openresty 总是失败:
==> Installing openresty from openresty/brew ==> Downloading https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.1.1f-sess_set_get_cb_yield.patch ##O#- # curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443 Error: Failed to download resource "openresty-openssl111--patch" Download failed: https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.1.1f-sess_set_get_cb_yield.patch ~ dig raw.githubusercontent.com ; <<>> DiG 9.10.6 <<>> raw.githubusercontent.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32099 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;raw.githubusercontent.com. IN A ;; ANSWER SECTION: raw.githubusercontent.com. 30 IN A 0.0.0.0 ;; Query time: 10 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Fri Nov 20 14:59:20 CST 2020 ;; MSG SIZE rcvd: 70 # GitHub520 Host Start 185.199.108.154 github.githubassets.com 199.232.96.133 camo.githubusercontent.com 199.232.96.133 github.map.fastly.net 199.232.69.194 github.global.ssl.fastly.net 140.82.114.3 gist.github.com 185.199.108.153 github.io 140.82.114.4 github.com 140.82.113.5 api.github.com 199.232.96.133 raw.githubusercontent.com 199.232.96.133 user-images.githubusercontent.com 40.75.87.113 favicons.githubusercontent.com 199.232.96.133 avatars5.githubusercontent.com 199.232.96.133 avatars4.githubusercontent.com 199.232.96.133 avatars3.githubusercontent.com 199.232.96.133 avatars2.githubusercontent.com 199.232.96.133 avatars1.githubusercontent.com 199.232.96.133 avatars0.githubusercontent.com 140.82.113.9 codeload.github.com 52.216.128.147 github-cloud.s3.amazonaws.com 52.216.0.224 github-com.s3.amazonaws.com 52.216.107.188 github-production-release-asset-2e65be.s3.amazonaws.com 52.217.1.4 github-production-user-asset-6210df.s3.amazonaws.com 52.217.67.196 github-production-repository-file-5c1aeb.s3.amazonaws.com # Star me GitHub url: https://github.com/521xueweihan/GitHub520 # GitHub520 Host End 1 Rheinmetal 2020 年 11 月 20 日 只能说老老实实走代理 别整这些没用的了 |
2 julyclyde 2020 年 11 月 20 日 dig 和 hosts 没啥关系 |
4 julyclyde 2020 年 11 月 20 日 用 curl -v 访问一下那个网址看看具体错误信息 |
5 scemsjyd 2020 年 11 月 20 日 https://sm.ms/image/wGobPXjQaM5fHv3 你最好 ping 或者 curl 看一下返回的 ip 是不是正常的,还有你的 hosts 配置的 ip 可用不。 |
6 scemsjyd 2020 年 11 月 20 日  补一下图 |
7 lework1234 2020 年 11 月 20 日 这里有代理地址,连不上的时候可以用下`//mirrors.leops.cn/#/github` |
8 ysc3839 2020 年 11 月 20 日 via Android hosts 是系统 DNS 库处理的,dig 是使用自己的 DNS 客户端发请求,不会使用系统的,所以不受 hosts 影响。 |
9 lpts007 2020 年 11 月 20 日 via Android 墙现在成熟的都出口了,改个 host 对付不了它。 希望中国教材也抓紧更新 tcp 章节: 我们访问 github 时,三次握手之后会马上收到 rst 包体现了怎样的社会主义核心价值观? |
10 Jooooooooo 2020 年 11 月 20 日 改 host 5 年前估计还可以 |
11 learningman 2020 年 11 月 21 日 @lpts007 我认为主要体现了和谐和法制,侧面体现了自由和平等 |
14 baobao1270 2020 年 11 月 23 日 via Android dig 不走 hosts |
15 CodeCore OP @baobao1270 学习了。涨了波姿势。 |