今天使用privoxy代理出现如下错误:
Invalid header received from client.

解决方法:
在proxy.exe配置文件config.txt中加入如下配置项即可:
accept-intercepted-requests 1

---------------------------
官方对该参数的解释如下:
. accept-intercepted-requests

Specifies:
Whether intercepted requests should be treated as valid.

Type of value:
0 or 1

Default value:
0

Effect if unset:
Only proxy requests are accepted, intercepted requests are treated as invalid.

Notes:
If you don't trust your clients and want to force them to use Privoxy, enable this option and configure your packet filter to redirect outgoing HTTP connections into Privoxy.

Note that intercepting encrypted connections (HTTPS) isn't supported.

Make sure that Privoxy's own requests aren't redirected as well. Additionally take care that Privoxy can't intentionally connect to itself, otherwise you could run into redirection loops if Privoxy's listening port is reachable by the outside or an attacker has access to the pages you visit.

If you are running Privoxy as intercepting proxy without being able to intercept all client requests you may want to adjust the CGI templates to make sure they don't reference content from config.privoxy.org.

Examples:

accept-intercepted-requests 1

privoxy Invalid header received from client.相关推荐

  1. Java打包问题之一:打包出现java.io.IOException: invalid header field

    前言 java的打包工具jar有时候会出一些莫名其妙的问题,比如不合法的头部字段等等.这些问题之前也没注意,因为一直是用eclipse打包.后来在公司的时候,要求统一编写shell脚本来进行打包. 其 ...

  2. Invalid header signature; read 0x3C0A0D0A0DBFBBEF, expected 0xE11AB1A1E011CFD0

    读取word文档报错 错误信息 Invalid header signature; read 0x3C0A0D0A0DBFBBEF, expected 0xE11AB1A1E011CFD0 priva ...

  3. Tomcat、Invalid message received with signature、AjpMessage.processHeader Invalid message

    工作中项目一直放在测试环境中测试,但最近在正式环境中,有一次与同事联调的过程中,Tomcat 服务器出现异常,百思不得其解,之前一直正常的 Tomcat 出现异常,服务器窗口不间断输出 org.apa ...

  4. NotOLE2FileException: Invalid header signature

    今天处理excel表格导入数据库遇到了这个问题 NotOLE2FileException: Invalid header signature; read 0xC2DFCF09C5BAF2D0, exp ...

  5. 错题集(已解决):爬虫中碰到请求头header里有冒号‘:‘在key前面,直接调用requests报错valueError: Invalid header name b‘:authority‘

    不说闲话直接入题: 碰到如下这样有冒号':'在前面的请求标头,如果直接在requests的headers参数里写冒号的话会报错 具体报错如下ValueError: Invalid header nam ...

  6. Invalid header signature; read 0x6D78206C6D74683C, expected 0xE11AB1A1E011CFD0(错误excel文件导入头)

    1. ​ 报错来源: 用 POI 读取 Excel 文件时报错,报错信息org.apache.poi.poifs.filesystem.NotOLE2FileException: Invalid he ...

  7. Invalid message received with signature 18245

    报错信息如下: <span style="font-family:SimSun;font-size:18px;">五月 27, 2015 7:02:07 上午 org. ...

  8. http缓存探究Config HTTP Header For Better Client Perfo

    文章地址:http://morganchengmo.spaces.live.com/blog/cns!9950CE918939932E!2132.entry Config HTTP Header Fo ...

  9. ESP32-C3烧录后打印报错invalid header: 0xffffffff【flash_download_tool_3.9.3.exe工具烧录】

    ESP32-C3没有一键下载电路的情况下是使用的乐鑫官方下载工具flash_download_tool_3.9.3.exe [工具 | 乐鑫科技 (espressif.com.cn)] 在下载工具中, ...

最新文章

  1. python3x 中如何使用tkMessageBox
  2. 干货:五分钟带你看懂NestedScrolling嵌套滑动机制
  3. 使用shiro安全管理
  4. C语言二进制标识符,C语言入门基础大全,自学C语言必备知识!
  5. 《Docker——容器与容器云》:第一章 从容器到容器云
  6. Jconsole配置与连接
  7. 原核表达常见问题解答
  8. Java8 LinkedHashMap 源码阅读
  9. Java基础知识(一)
  10. 书写README的各种markdown语法
  11. 边缘AI:国内首个高性能神经网络认知+项目实战发布
  12. 卷积神经网络之AlexNet
  13. IOS 创建简单表视图
  14. Ubuntu18.04之man中文版
  15. 广州市车联网先导区建设总体技术规范
  16. 语言学句法分析树形图怎么画_科学网—《泥沙龙笔记:漫谈自动句法分析和树形图表达》 - 李维的博文...
  17. element-admin/若依主题风格设计
  18. python中如何打开csv文件_Python如何读取csv文件
  19. java-php-python-ssm新生报到管理计算机毕业设计
  20. SpringBoot - 错误: 找不到或无法加载主类

热门文章

  1. To be contine ,NW NMM backup sqlserver failed.
  2. 基于AI深度学习的缺陷检测系统
  3. 【赶紧收藏】22款设计师必备色彩工具,轻松打造别样的“视觉诱惑”
  4. 微模块化炙手可热,数据中心走向智能化取胜
  5. WebAR技术尝试与基本环境搭建
  6. 【python 下载神器】你应该知道的下载神器you-get
  7. 【电子通识】PE和SQE是什么职位
  8. [附源码]计算机毕业设计Python4S店汽车售后服务管理系统(程序+源码+LW文档)
  9. [Ubuntu]Ubuntu下用雷鸟 Thunderbird 导入 Outlook 导出的 .pst 文件
  10. Outlook邮件归档pst文件合并