gpt4 book ai didi

python - 模组安全 : Output filter: Failed to read bucket (rc 104): Connection reset by peer

转载 作者:太空狗 更新时间:2023-10-29 21:57:35 25 4
gpt4 key购买 nike

我正在向使用 django 和活塞上传文件的休息服务发出 POST 请求,但是当我发出请求时,我得到这个(奇怪的?)错误:

[Sun Jul 04 16:12:38 2010] [error] [client 79.39.191.166] ModSecurity: Output filter: Failed to read bucket (rc 104): Connection reset by peer [hostname "url"] [uri "/api/odl/"] [unique_id "TDEVZEPNBIMAAGLwU9AAAAAG"]

这是什么意思?我该如何调试它?

最佳答案

Output filtering是管理员检查所有通过 Apache 的特定字符串集的文本,然后阻止这些请求的方法。

你有两个选择:

  1. 查看您的 apache 配置中的 mod_security 过滤规则。
  2. 从输出中删除一半文本,看看它是否有效。如果是,则问题字符串位于该文本 block 内。重复越来越小的文本 block ,直到找到有问题的字符串。

关于python - 模组安全 : Output filter: Failed to read bucket (rc 104): Connection reset by peer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3176536/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com