Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在服务器上运行TCP被重置 #4

Open
langhuihui opened this issue Oct 2, 2019 · 6 comments
Open

在服务器上运行TCP被重置 #4

langhuihui opened this issue Oct 2, 2019 · 6 comments

Comments

@langhuihui
Copy link

在本地运行完全没有问题,包括在linux子系统中运行,也正常,但是放在linux的远程服务器上运行的时候,偶尔会代理成功,但马上就页面无法加载了,抓包看TCP重置了,在服务器上打断点发现连TCP的Accept也没有触发,换了一台服务器,结果也是一模一样。不知道是为什么。

@ouqiang
Copy link
Owner

ouqiang commented Oct 3, 2019

和访问的目标站点有没有关系,给出更详细的信息。

@langhuihui
Copy link
Author

和目标站点没有关系,我在家里试了一下局域网也是没有问题。之前抓包的看到的是TCP握手结束发送了CONNECT请求,然后回包是一个RST的TCP,浏览器显示的连接都是failed,无论怎么刷新都不行,但是如果静止一段时间,谷歌浏览器自动重连,偶尔会成功,但随后刷新马上就又陷入无法连接的效果

@ouqiang
Copy link
Owner

ouqiang commented Oct 3, 2019

你本机和linux远程服务器有什么不同,比如出口ip,可以从这个方向来排查。

@ouqiang
Copy link
Owner

ouqiang commented Oct 3, 2019

代理http会出现这种情况吗

@langhuihui
Copy link
Author

我的微信号yigehui 加一下我吧

@ouqiang
Copy link
Owner

ouqiang commented Oct 8, 2019

就在这里说吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants