本服务器80端口全转发至AnyProxy代理的端口,访问80端口报错
- 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
CentOS 6.5
#### The version of the AnyProxy
4.0 beta 13
#### Your expected behavior of AnyProxy
能够代理成功
#### The actual behavior of AnyProxy
不能正常代理
#### The log of the error
服务端日志:
[AnyProxy Log][2017-06-20 18:05:14]: received request to: GET init-p01st.push.apple.com/bag
[AnyProxy Log][2017-06-20 18:05:14]: received request to: GET init-p01st.push.apple.com/bag
[AnyProxy Log][2017-06-20 18:05:14]: received request to: GET init-p01st.push.apple.com/bag
[AnyProxy ERROR][2017-06-20 18:05:14]: Error: getaddrinfo ENOTFOUND localhost localhost:80
客户端日志:
# AnyProxy Inner Error
Oops! Error happend when AnyProxy handle the request.
This is an error occurred inside AnyProxy, not from your target website.
Error:
Error: connect EMFILE 127.0.0.1:80 - Local (undefined:undefined)
URL:
/
Error: connect EMFILE 127.0.0.1:80 - Local (undefined:undefined)
at Object.exports._errnoException (util.js:1016:11)
at exports._exceptionWithHostPort (util.js:1039:20)
at internalConnect (net.js:933:16)
at GetAddrInfoReqWrap.emitLookup [as callback] (net.js:1062:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:96:10)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the server and client logs, then trace the Node.js stack entries at internalConnect and dns.js while reproducing the port-80 forwarding setup on CentOS 6.5 with AnyProxy 4.0 beta 13. Done means requests proxy successfully without the getaddrinfo or EMFILE errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, 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