alibaba / alibaba/anyproxy

使用node request模块设置anyproxy代理地址时,提示[internal https]proxy server

Open
#583 3 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

使用平台:Windows

Anyproxy版本:4.1.3

期望结果:anyproxy规则文件中,能正常解析请求地址

Anyproxy实际结果:
[AnyProxy Log][2021-04-06 15:16:34]: received https CONNECT request www.baidu.com
[AnyProxy Log][2021-04-06 15:16:34]: will forward to local https server
[AnyProxy Log][2021-04-06 15:16:34]: [internal https]proxy server for www.baidu.com established

备注:我使用的是node request模块代理请求,代码片段如下
![image](https://user-images.githubusercontent.com/15045287/113673655-da5de680-96eb-11eb-9465-cd598306d069.png)

Anyproxy日志如下
![image](https://user-images.githubusercontent.com/15045287/113673745-f3669780-96eb-11eb-8f91-8f4186249c37.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Windows setup with AnyProxy 4.1.3 and the Node.js request module using the proxy configuration shown in the issue. Trace the HTTPS CONNECT handling around the logged “will forward to local https server” and compare the rule-visible request URL with the expected address parsing. Done means the AnyProxy rule file receives and parses the request address normally.

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
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.