如图
[[email protected]~]# wget https://www.zfcdn.xyz/test.zip
--2019-10-15 22:51:20-- https://www.zfcdn.xyz/test.zip
Resolving www.zfcdn.xyz (www.zfcdn.xyz)... 39.104.125.39
Connecting to www.zfcdn.xyz (www.zfcdn.xyz)|39.104.125.39|:443... connected.
HTTP request sent, awaiting response... No data received.
Retrying.
--2019-10-15 22:51:22-- (try: 2) https://www.zfcdn.xyz/test.zip
Connecting to www.zfcdn.xyz (www.zfcdn.xyz)|39.104.125.39|:443... connected.
HTTP request sent, awaiting response... No data received.
Retrying.
--2019-10-15 22:51:24-- (try: 3) https://www.zfcdn.xyz/test.zip
Connecting to www.zfcdn.xyz (www.zfcdn.xyz)|39.104.125.39|:443... connected.
HTTP request sent, awaiting response... No data received.
Retrying.
尝试解决方法:
通过报错关键字在百度搜索了一下,并未找到精确处理方法,(有类似报错,但不完全一样)说得最多的是该dns、该hosts解析等,按照网上的说法都操作后仍有问题,于是反复搜索反复尝试,该问题困扰了我三个小时。可悲。
我的解决过程:
1、在搜索解决访问时,突然发现一篇wget的使用方法中介绍了user-agent代理的使用方法,突然猛然想到,之前为了屏蔽不知名的蜘蛛ua抓取以及一些恶意ua抓取,在站点配置文件中屏蔽了不少于10个不知名的蜘蛛ua,
2、于是打开站点访问日志看,果然wget请求被拒绝了,如图,(屏蔽规则可参考教程https://www.zfcdn.xyz/showinfo-36-35757-0.html)
就此,困扰了我2-3小时的问题,终于解决了,哎呀,
文章评论 本文章有个评论