ModSecurity:输出过滤器:无法读取存储桶(rc 104):连接被对等方重置
我正在向使用 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"]
这是什么意思?我该如何调试它?
I'm doing a POST request to a rest service made with django and piston uploading a file, but when I do the request i get this (strange?) error:
[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"]
What does it mean? And how can I debug it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
输出过滤是一种方法管理员可以检查通过 Apache 的所有文本以查找特定的字符串集,然后阻止这些请求。
您有两个选择:
Output filtering is a way for an administrator to check all text that go through Apache for a specific set a strings, and then block those requests.
You have two options:
我相信您需要按照 https://docs 实施 CRSF 保护。 djangoproject.com/en/dev/ref/contrib/csrf/#ajax
I believe you need to implement CRSF protection as per https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax