alibaba / alibaba/anyproxy

微信公众号五月底Anyproxy代理正常,现在不能解析https,显示验证失效

Open
#519 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Plese fill the template when you reporting a new issue, thanks!

#### Which platform are you running AnyProxy

Mac
#### The version of the AnyProxy

4.1.0

#### Your expected behavior of AnyProxy

五月底我通过anyproxy能够拦截公众号文章https响应,看到明文信息。现在只能看到图片(也是https),没有文章文本信息。而且请求的第一个URL是进行验证的,我觉得是和这个有关,附上URL:
https://mp.weixin.qq.com/mp/geticon?__biz=MjM5MzA0MTg2MA==&r=0.3363449561230647,html中说,“失效的验证页面”。
同时日志显示will forward to local https server
证书经过多次卸载重装确认是没有问题的。期待官方反馈。
#### The actual behavior of AnyProxy

不能解析公众号https文本信息
#### The log of the error

[AnyProxy Log][2019-09-24 15:35:02]: [internal https]proxy server for sina.cn established
[AnyProxy ERROR][2019-09-24 15:35:02]: Error: read ECONNRESET
[AnyProxy Log][2019-09-24 15:35:06]: received https CONNECT request mmbiz.qpic.cn
[AnyProxy Log][2019-09-24 15:35:06]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:06]: [internal https]proxy server for mmbiz.qpic.cn established
[AnyProxy ERROR][2019-09-24 15:35:06]: Error: read ECONNRESET
[AnyProxy Log][2019-09-24 15:35:09]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2019-09-24 15:35:09]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2019-09-24 15:35:09]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2019-09-24 15:35:09]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:09]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:09]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:09]: [internal https]proxy server for mp.weixin.qq.com established
[AnyProxy Log][2019-09-24 15:35:09]: [internal https]proxy server for mp.weixin.qq.com established
[AnyProxy Log][2019-09-24 15:35:09]: [internal https]proxy server for mp.weixin.qq.com established
[AnyProxy ERROR][2019-09-24 15:35:09]: Error: read ECONNRESET
[AnyProxy Log][2019-09-24 15:35:09]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2019-09-24 15:35:09]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2019-09-24 15:35:09]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:09]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:09]: [internal https]proxy server for mp.weixin.qq.com established
[AnyProxy Log][2019-09-24 15:35:09]: [internal https]proxy server for mp.weixin.qq.com established
[AnyProxy Log][2019-09-24 15:35:10]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2019-09-24 15:35:10]: received request to: GET mp.weixin.qq.com/mp/jsreport?1=1&key=2&content=biz:MzU5NDM0MjEzNA==,mid:2247484669,uin:[key2]ajax_err&r=0.4475706874181671
[AnyProxy Log][2019-09-24 15:35:10]: received request to: GET mp.weixin.qq.com/mp/geticon?__biz=MzU5NDM0MjEzNA==&r=0.915468341363922
[AnyProxy Log][2019-09-24 15:35:10]: received request to: GET mp.weixin.qq.com/mp/jsmonitor?idkey=112287_0_1;112287_11_213;112287_10_1;112287_15_625;112287_14_1;112287_19_9;112287_18_1;112287_23_77;112287_22_1;112287_27_169;112287_26_1&t=0.6996393154013791
[AnyProxy Log][2019-09-24 15:35:10]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:10]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2019-09-24 15:35:10]: received request to: GET mp.weixin.qq.com/mp/jsmonitor?idkey=112287_32_1
[AnyProxy Log][2019-09-24 15:35:10]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:30]: received https CONNECT request m.baidu.com
[AnyProxy Log][2019-09-24 15:35:30]: received request to: GET developers.google.cn/generate_204
[AnyProxy Log][2019-09-24 15:35:30]: received request to: GET conn1.oppomobile.com/generate_204
[AnyProxy Log][2019-09-24 15:35:32]: will forward to local https server
[AnyProxy Log][2019-09-24 15:35:32]: [internal https]proxy server for m.baidu.com established
[AnyProxy ERROR][2019-09-24 15:35:32]: Error: read ECONNRESET

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure on macOS with AnyProxy 4.1.0 while requesting the listed mp.weixin.qq.com URLs. Trace the HTTPS CONNECT handling and the internal HTTPS proxy logs, especially the ECONNRESET events and the “will forward to local https server” path. Done means WeChat article HTTPS responses can again be parsed while image requests continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.