我想在Windows 8.1下使用this script和最后版本的Mingw + Msys2构建ffmpeg,但是从bitbucket.org获取任何hg克隆都会出错,例如:
$ hg clone https://bitbucket.org/multicoreware/x265
abort:错误:网络无法访问
在互联网上搜索后,我看到this page,并意识到这是因为bitbucket.org有IPv6,我无法访问它。 请参阅以下命令的结果:
$ ping -n 10 bitbucket.org
Pinging bitbucket.org [104.192.143.2] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 104.192.143.2:
Packets: Sent = 10, Received = 0, Lost = 10 (100% loss),
$ ping -n 10 -6 bitbucket.org
Ping request could not find host bitbucket.org. Please check the name and try again
$ tracert bitbucket.org
Tracing route to bitbucket.org [104.192.143.1]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 192.168.1.1
2 30 ms 29 ms 9 ms 81.12.120.2
3 20 ms 40 ms 12 ms 81.12.120.1
4 6 ms 8 ms 10 ms 192.168.8.41
5 21 ms 24 ms 19 ms 192.168.8.1
6 * * * Request timed out.
7 52 ms 56 ms 54 ms 192.168.170.241
8 35 ms 25 ms * 10.10.53.61
9 27 ms 32 ms 32 ms 10.201.47.142
10 30 ms 44 ms 38 ms 10.201.42.117
11 40 ms 33 ms 67 ms 10.201.147.242
12 46 ms 38 ms 59 ms 85.132.90.201
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
...
注意:另外,我在stackoverflow.com上看过一些帖子,如this。但它似乎只适用于Linux,因为我在我的/ etc / hosts中添加了104.192.143.2 bitbucket.org但没有用。
请指导我。
答案 0 :(得分:2)
这不是IPv6问题 - 如果是这种情况,您在ping -6
中拥有完整的[2401:1d80:1010 :: 150]地址。
相反,看起来你是从伊朗(81.12.120.0/24由伊朗ISP拥有)连接的。由于美国政府对伊朗实施制裁,而且由于Bitbucket的基础设施在美国,因此Bitbucket服务器必须放弃伊朗的请求。