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

Crash bug #604

Closed
banyet1 opened this issue Jun 10, 2020 · 6 comments
Closed

Crash bug #604

banyet1 opened this issue Jun 10, 2020 · 6 comments

Comments

@banyet1
Copy link

banyet1 commented Jun 10, 2020

gost -L=ss://aes-256-cfb:pass@:port -F=http2://overseaserver:port

用SS做前端,打开Youtube, 4K 视频,不到一分钟就不再工作,除非重启gost.

Memory access violation?

check plz.

@f4nff
Copy link

f4nff commented Jun 10, 2020

http2协议是多路复用协议,
http2协议没有心跳机制,
半路连接挂了,但是连接状态还在,
然后就一直卡着不动了,所以只能通过重启进程强制断开连接,
很早很早之前的问题了,

@f4nff
Copy link

f4nff commented Jun 10, 2020

golang/go#31643

@banyet1
Copy link
Author

banyet1 commented Jun 10, 2020

Not this case

如果这样,就没有问题,所以我判断是ss做前端的问题。

gost -L=:8080 -F=http2://overseaserver:port

@f4nff
Copy link

f4nff commented Jun 10, 2020

gost -L=ss://aes-256-cfb:pass@:port -F=ssh://overseaserver:port?ping=10
gost -L=ss://aes-256-cfb:pass@:port -F=mwss://overseaserver:port

这样都没事,说了还不信,我可以100%复现,

@f4nff
Copy link

f4nff commented Jun 10, 2020

tcp在nat转发层会出现死链(内网尤其移动网概率最高),连接状态正常,tcp自身的keepalive也正常,但是这个连接数据就是不通,只能在应用层设置心跳机制,心跳超时,client强制主动断开,等下次请求的时候发起新的连接。

@banyet1 banyet1 closed this as completed Jun 12, 2020
@banyet1
Copy link
Author

banyet1 commented Jun 12, 2020

ss和http2短时间运行无问题,客户端redirect模式超不过5小时必然Crash, 有日志,回头我贴出来。
和http2协议无关。

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