alibaba / alibaba/anyproxy

Error: read ECONNRESET

Open
#578 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

Linux
#### The version of the AnyProxy

4.1.3 anyproxy

#### Your expected behavior of AnyProxy

access youtube smoothly
#### The actual behavior of AnyProxy

no return from youtube

#### The log of the error

[AnyProxy Log][2020-10-30 13:55:45]: received https CONNECT request www.youtube.com
[AnyProxy Log][2020-10-30 13:55:45]: will forward to local https server
[AnyProxy Log][2020-10-30 13:55:45]: [internal https]proxy server for www.youtube.com established
[AnyProxy ERROR][2020-10-30 13:55:45]: Error: read ECONNRESET

[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for www.gstatic.com established
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: received https CONNECT request www.gstatic.com
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for www.gstatic.com established
[AnyProxy ERROR][2020-10-30 14:00:04]: Error: read ECONNRESET
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:04]: received https CONNECT request www.gstatic.com
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for www.gstatic.com established
[AnyProxy Log][2020-10-30 14:00:04]: received https CONNECT request www.gstatic.com
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for www.gstatic.com established
[AnyProxy ERROR][2020-10-30 14:00:04]: Error: read ECONNRESET
[AnyProxy Log][2020-10-30 14:00:04]: received https CONNECT request www.gstatic.com
[AnyProxy Log][2020-10-30 14:00:04]: received https CONNECT request www.gstatic.com
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for www.gstatic.com established
[AnyProxy Log][2020-10-30 14:00:04]: [internal https]proxy server for www.gstatic.com established
[AnyProxy Log][2020-10-30 14:00:05]: received https CONNECT request www.gstatic.com
[AnyProxy Log][2020-10-30 14:00:05]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:05]: [internal https]proxy server for www.gstatic.com established
[AnyProxy Log][2020-10-30 14:00:09]: received https CONNECT request 198.11.189.20
[AnyProxy Log][2020-10-30 14:00:09]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:09]: received https CONNECT request redirector.googlevideo.com
[AnyProxy Log][2020-10-30 14:00:09]: received https CONNECT request redirector.googlevideo.com
[AnyProxy Log][2020-10-30 14:00:09]: received https CONNECT request redirector.googlevideo.com
[AnyProxy Log][2020-10-30 14:00:09]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:09]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:09]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:09]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:09]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:09]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:14]: received https CONNECT request 198.11.189.20
[AnyProxy Log][2020-10-30 14:00:14]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:15]: received https CONNECT request youtubei.googleapis.com
[AnyProxy Log][2020-10-30 14:00:15]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:15]: [internal https]proxy server for youtubei.googleapis.com established
[AnyProxy Log][2020-10-30 14:00:16]: received https CONNECT request la4-userver-upaas.ucweb.com
[AnyProxy Log][2020-10-30 14:00:16]: received https CONNECT request youtubei.googleapis.com
[AnyProxy Log][2020-10-30 14:00:16]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:16]: [internal https]proxy server for youtubei.googleapis.com established
[AnyProxy Log][2020-10-30 14:00:16]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:16]: [internal https]proxy server for la4-userver-upaas.ucweb.com established
[AnyProxy Log][2020-10-30 14:00:16]: received request to: GET acs.maribacaberita.com/gw/mtop.common.getTimestamp/*
[AnyProxy Log][2020-10-30 14:00:16]: received request to: GET acs.maribacaberita.com/gw/mtop.common.getTimestamp/*
[AnyProxy Log][2020-10-30 14:00:16]: received https CONNECT request youtubei.googleapis.com
[AnyProxy Log][2020-10-30 14:00:16]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:16]: [internal https]proxy server for youtubei.googleapis.com established
[AnyProxy Log][2020-10-30 14:00:17]: received https CONNECT request youtubei.googleapis.com
[AnyProxy Log][2020-10-30 14:00:17]: received https CONNECT request gjapplog.ucweb.com
[AnyProxy Log][2020-10-30 14:00:17]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:18]: [internal https]proxy server for gjapplog.ucweb.com established
[AnyProxy Log][2020-10-30 14:00:18]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:18]: [internal https]proxy server for youtubei.googleapis.com established
[AnyProxy Log][2020-10-30 14:00:18]: received https CONNECT request gjapplog.ucweb.com
[AnyProxy Log][2020-10-30 14:00:18]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:18]: [internal https]proxy server for gjapplog.ucweb.com established
[AnyProxy Log][2020-10-30 14:00:18]: received https CONNECT request gjapplog.ucweb.com
[AnyProxy Log][2020-10-30 14:00:18]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:18]: [internal https]proxy server for gjapplog.ucweb.com established
[AnyProxy Log][2020-10-30 14:00:24]: received https CONNECT request redirector.googlevideo.com
[AnyProxy Log][2020-10-30 14:00:24]: received https CONNECT request redirector.googlevideo.com
[AnyProxy Log][2020-10-30 14:00:24]: received https CONNECT request redirector.googlevideo.com
[AnyProxy Log][2020-10-30 14:00:24]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:25]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:25]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:25]: will forward to local https server
[AnyProxy Log][2020-10-30 14:00:25]: [internal https]proxy server for redirector.googlevideo.com established
[AnyProxy Log][2020-10-30 14:00:25]: [internal https]proxy server for redirector.googlevideo.com established

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is identified in the report. Start by locating the HTTPS CONNECT forwarding path and handling for the logged `read ECONNRESET` error, then reproduce the YouTube request on Linux with AnyProxy 4.1.3; the issue is addressed when the request completes without the reset.

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.