alibaba / alibaba/anyproxy

多个手机模拟器共用一个anyproxy服务出错

Open
#424 0 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

windows
#### The version of the AnyProxy

4.0.10

#### Your expected behavior of AnyProxy

多个手机模拟器可以共用一个anyproxy
#### The actual behavior of AnyProxy

出现如下的错误
#### The log of the error

[AnyProxy Log][2018-09-11 09:34:06]: received request to: GET mp.weixin.qq.com/s?__biz=MzI2NTkxNjU0MQ==&mid=2247486420&i
dx=1&sn=d06c8a0b8fe9a3d96d52be0f64a43bf0&scene=0&key=001c694f5a39e742beec0aca9d4b5dc4d42ae204245dfeb019f37cda05d690cb10e
7087eeec1a4aa6d6a37c7d2b671e242aca17a35cc5e9e4d6f46e4506ddfa14af788534bfe292936b23d8970501539&ascene=1&uin=ODUxMjM4Mjk5&
devicetype=android-22&version=26031040&nettype=WIFI&abtest_cookie=BAABAAoACwASABMABAAjlx4AU5keAFqZHgBgmR4AAAA%3D&lang=zh
_CN&pass_ticket=TMh%2F69xk8cEzcrG4vu%2FvUQdhfo4r2MFPHpYLlMVOTnLYAWiA3PRQoIZDhDgm4pSa
[AnyProxy Log][2018-09-11 09:34:06]: received https CONNECT request mp.weixin.qq.com
[AnyProxy Log][2018-09-11 09:34:06]: will forward to local https server
[AnyProxy Log][2018-09-11 09:34:06]: received request to: GET mp.weixin.qq.com/s?__biz=MzI2NTkxNjU0MQ==&mid=2247486420&i
dx=1&sn=d06c8a0b8fe9a3d96d52be0f64a43bf0&scene=0&key=08f99740a9e5c75c0a05e145b1d2ceb77c1d994e1002081ddec2e8e7fff643afaf3
09aece4fc4478a47f0a8b1fe549543c94a961049dbb270e9cdbe507fa0f5cae3adde5da24ebd6f5c3b0b57c89791d&ascene=1&uin=ODUxMjM4Mjk5&
devicetype=android-22&version=26031040&nettype=WIFI&abtest_cookie=BAABAAoACwASABMABAAjlx4AU5keAFqZHgBgmR4AAAA%3D&lang=zh
_CN&pass_ticket=TMh%2F69xk8cEzcrG4vu%2FvUQdhfo4r2MFPHpYLlMVOTnLYAWiA3PRQoIZDhDgm4pSa
[AnyProxy Log][2018-09-11 09:34:07]: received request to: POST mp.weixin.qq.com/mp/getappmsgext?f=json&mock=&uin=ODUxMjM
4Mjk5&key=08f99740a9e5c75c0a05e145b1d2ceb77c1d994e1002081ddec2e8e7fff643afaf309aece4fc4478a47f0a8b1fe549543c94a961049dbb
270e9cdbe507fa0f5cae3adde5da24ebd6f5c3b0b57c89791d&pass_ticket=TMh%25252F69xk8cEzcrG4vu%25252FvUQdhfo4r2MFPHpYLlMVOTnLYA
WiA3PRQoIZDhDgm4pSa&wxtoken=777&devicetype=android-22&clientversion=26031040&appmsg_token=973_BOPe3qWWqLgjLTdisjG_y4S7P1
_2jI_52XcN_jFRrSEdMago_pO2vAu0Z5Rrl7OnKsnm3Qekrn4KXsid&x5=0&f=json
[AnyProxy Log][2018-09-11 09:34:07]: received https CONNECT request mmbiz.qpic.cn
[AnyProxy Log][2018-09-11 09:34:07]: received https CONNECT request mmbiz.qpic.cn
[AnyProxy Log][2018-09-11 09:34:07]: will forward to local https server
[AnyProxy Log][2018-09-11 09:34:07]: will forward to local https server
[AnyProxy Log][2018-09-11 09:34:07]: [internal https]proxy server for mmbiz.qpic.cn established
[AnyProxy Log][2018-09-11 09:34:07]: [internal https]proxy server for mmbiz.qpic.cn established
[AnyProxy Log][2018-09-11 09:34:07]: received request to: GET mmbiz.qpic.cn/mmbiz_gif/7VFjwhnficoM6Yxt9icGyjuJFoqs5UZNnE
MzsY5fdFBpqcI8fluVSawFo4PnhibWPJfY9S6T4aic588scf1aApPJ1Q/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=1
[AnyProxy Log][2018-09-11 09:34:07]: received request to: GET mmbiz.qpic.cn/mmbiz_jpg/Ftqh4f7NCjN5WTqLCg9P24iaBbeRntOTsf
V3erBCcJZgnScvFTSJZHBtOIuDibTbGaHDjvapV0WjkXibvziaKiaSvpA/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1
UPDATE wechat_stats SET like_num=?,read_num=?,status=? where wid = 24904
[ 1, 1392, 1 ]
--------------------------------------
[UPDATE SUCCESS]
[AnyProxy Log][2018-09-11 09:34:07]: received request to: GET mp.weixin.qq.com/mp/appmsg_comment?action=getcomment&scene
=0&__biz=MzI2NTkxNjU0MQ==&appmsgid=2247486420&idx=1&comment_id=445703613537452032&offset=0&limit=100&uin=ODUxMjM4Mjk5&ke
y=08f99740a9e5c75c0a05e145b1d2ceb77c1d994e1002081ddec2e8e7fff643afaf309aece4fc4478a47f0a8b1fe549543c94a961049dbb270e9cdb
e507fa0f5cae3adde5da24ebd6f5c3b0b57c89791d&pass_ticket=TMh%25252F69xk8cEzcrG4vu%25252FvUQdhfo4r2MFPHpYLlMVOTnLYAWiA3PRQo
IZDhDgm4pSa&wxtoken=777&devicetype=android-22&clientversion=26031040&appmsg_token=973_BOPe3qWWqLgjLTdisjG_y4S7P1_2jI_52X
cN_jFRrSEdMago_pO2vAu0Z5Rrl7OnKsnm3Qekrn4KXsid&x5=0&f=json
[AnyProxy ERROR][2018-09-11 09:34:08]: Error: getaddrinfo ENOTFOUND 127.0.0.1:8001 127.0.0.1:8001:80
[AnyProxy Log][2018-09-11 09:34:08]: received request to: GET 127.0.0.1:8001/wd/hub/status
[AnyProxy Log][2018-09-11 09:34:08]: received request to: POST mp.weixin.qq.com/mp/appmsgpicreport?__biz=MzI2NTkxNjU0MQ=
=&uin=ODUxMjM4Mjk5&key=08f99740a9e5c75c0a05e145b1d2ceb77c1d994e1002081ddec2e8e7fff643afaf309aece4fc4478a47f0a8b1fe549543
c94a961049dbb270e9cdbe507fa0f5cae3adde5da24ebd6f5c3b0b57c89791d&pass_ticket=TMh%25252F69xk8cEzcrG4vu%25252FvUQdhfo4r2MFP
HpYLlMVOTnLYAWiA3PRQoIZDhDgm4pSa&wxtoken=777&devicetype=android-22&clientversion=26031040&appmsg_token=973_BOPe3qWWqLgjL
TdisjG_y4S7P1_2jI_52XcN_jFRrSEdMago_pO2vAu0Z5Rrl7OnKsnm3Qekrn4KXsid&x5=0&f=json
[AnyProxy ERROR][2018-09-11 09:34:10]: Error: getaddrinfo ENOTFOUND 127.0.0.1:8001 127.0.0.1:8001:80
[AnyProxy Log][2018-09-11 09:34:11]: received request to: GET 127.0.0.1:8001/wd/hub/status
[AnyProxy Log][2018-09-11 09:34:12]: received request to: POST masdk.3g.qq.com/
[AnyProxy ERROR][2018-09-11 09:34:13]: Error: getaddrinfo ENOTFOUND 127.0.0.1:8001 127.0.0.1:8001:80
[AnyProxy Log][2018-09-11 09:34:13]: received request to: GET 127.0.0.1:8001/wd/hub/status
[AnyProxy ERROR][2018-09-11 09:34:15]: Error: getaddrinfo ENOTFOUND 127.0.0.1:8001 127.0.0.1:8001:80
[AnyProxy Log][2018-09-11 09:34:15]: received request to: GET 127.0.0.1:8001/wd/hub/status
[AnyProxy ERROR][2018-09-11 09:34:18]: Error: getaddrinfo ENOTFOUND 127.0.0.1:8001 127.0.0.1:8001:80
[AnyProxy Log][2018-09-11 09:34:18]: received request to: GET 127.0.0.1:8001/wd/hub/status
[AnyProxy ERROR][2018-09-11 09:34:20]: Error: getaddrinfo ENOTFOUND 127.0.0.1:8001 127.0.0.1:8001:80
[AnyProxy Log][2018-09-11 09:36:17]: destorying https connection : 127.0.0.1:49840
[AnyProxy Log][2018-09-11 09:36:17]: endding https cltSocket : 127.0.0.1:49840
[AnyProxy Log][2018-09-11 09:36:17]: clearing cache file...
[AnyProxy Log][2018-09-11 09:36:59]: closing webserver...

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source file or test; start by reproducing the failure on Windows with AnyProxy 4.0.10 and multiple phone emulators, focusing on the logged requests to 127.0.0.1:8001. Done means multiple emulators can share one AnyProxy service without the repeated ENOTFOUND errors shown in the report.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.