成长值: 252 签到天数: 4709 天 [LV.Master]伴坛终老
|
发表于 2020/10/16 03:04
|
显示全部楼层
|阅读模式
|Google Chrome 86.0.4240.75 |Windows 10
cloudflare 跳错 cf cdn报 429 Too Many Requests,Retry-After间隔 如何关闭禁用HTTP DDoS防火墙触发拦截?
例子
HTTP request sent, awaiting response... 429 Too Many Requests
2020-10-15 19:03:39 ERROR 429: Too Many Requests.
解决方法未知,不知道如何解决
通过wget测试,19:12:07-19:13:08,发现间隔为1分钟,每1分钟只能wget一次,第二次就会跳出429的错误
此时使用--header绑定源站服务器进行访问,尝试测试请求源站服务器10次,都没有任何异常情况发生。
cloudflare 错误完整响应如下
HTTP request sent, awaiting response...
HTTP/1.1 429 Too Many Requests
Date: Thu, 15 Oct 2020 19:20:41 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 16
Connection: close
Set-Cookie: __cfduid=d8ec225af21a6bb15d7ab0c4f0892c8001602789641; expires=Sat, 14-Nov-20 19:20:41 GMT; path=/; domain=.itzmx.com; HttpOnly; SameSite=Lax
Retry-After: 59
X-Frame-Options: SAMEORIGIN
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
cf-request-id: 05cf4e23c800001fa7d4379000000001
Report-To: {"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report?lkg-colo=4&lkg-time=1602789641"}],"group":"cf-nel","max_age":604800}
NEL: {"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 5e2be6194af41fa7-SJC
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
2020-10-15 19:20:41 ERROR 429: Too Many Requests.
观察后台,可以看到触发了HTTP DDoS防火墙,可能和这个有关
通过检索服务器IP,果然发现了相关的HTTP DDoS触发拦截
HTTP DDoS防火墙介绍:https://www.cloudflare.com/zh-cn/learning/ddos/http-flood-ddos-attack/
我怀疑和这有关,网站请求全部跳这错误,这是误杀啊!渣渣CF,限制10个都好啊,,居然1分钟只能访问1次!
https://support.cloudflare.com/hc/zh-cn/articles/115001635128
https://support.cloudflare.com/hc/zh-cn/articles/115003014512
实锤了,就是CF的锅,正好有 Retry-After: 59 的响应头,刚好是1分钟
折腾了半天,,发现这破玩意,,还关不掉
连接关闭,允许,阻止一气呵成
cloudflare cf cdn何时会启用HTTP DDoS防火墙触发拦截?我是否能关闭它?
https://bbs.itzmx.com/thread-96605-1-1.html
|
|