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

使用quic通道做http转发不成功 #565

Open
julicis opened this issue Aug 29, 2024 · 0 comments
Open

使用quic通道做http转发不成功 #565

julicis opened this issue Aug 29, 2024 · 0 comments

Comments

@julicis
Copy link

julicis commented Aug 29, 2024

gost 3.0.0 nightly.20240806_linux_amd64

一台外网vps,debian12,运行命令和日志如下:
~/gost.run# ./gost -L quic://:9990 -F http://127.0.0.1:8889
{"handler":"auto","kind":"service","level":"info","listener":"quic","msg":"listening on [::]:9990/udp","service":"service-0","time":"2024-08-29T21:42:56.898+08:00"}
{"handler":"http","kind":"handler","level":"info","listener":"quic","local":"X.X.X.X:9990","msg":"X.X.X.X:13978 <> X.X.X.X:9990","remote":"X.X.X.X:13978","service":"service-0","sid":"cr87lq9c4f79t3hmb6c0","time":"2024-08-29T21:43:05.129+08:00"}
{"handler":"auto","kind":"handler","level":"error","listener":"quic","msg":"route(retry=0) 403 Access violation","service":"service-0","time":"2024-08-29T21:43:05.157+08:00"}
{"duration":28320451,"handler":"http","kind":"handler","level":"info","listener":"quic","local":"X.X.X.X:9990","msg":"X.X.X.X:13978 >< X.X.X.X:9990","remote":"X.X.X.X:13978","service":"service-0","sid":"cr87lq9c4f79t3hmb6c0","time":"2024-08-29T21:43:05.157+08:00"}
{"handler":"auto","kind":"service","level":"error","listener":"quic","msg":"403 Access violation","service":"service-0","time":"2024-08-29T21:43:05.157+08:00"}
{"handler":"auto","kind":"handler","level":"error","listener":"quic","msg":"route(retry=0) 403 Access violation","service":"service-0","time":"2024-08-29T21:43:05.162+08:00"}

一台内网客户端,pve下lxc容器,ubuntu24,运行命令和日志如下:
~/gost.run# ./gost -L http://:10099 -F quic://X.X.X.X:9990
{"handler":"http","kind":"service","level":"info","listener":"tcp","msg":"listening on [::]:10099/tcp","service":"service-0","time":"2024-08-29T13:49:53.508Z"}
{"handler":"http","kind":"handler","level":"info","listener":"tcp","local":"192.168.1.12:10099","msg":"192.168.1.11:47094 <> 192.168.1.12:10099","remote":"192.168.1.11:47094","service":"service-0","sid":"cr87p33m2tps55i4a4hg","time":"2024-08-29T13:50:04.808Z"}
{"handler":"http","kind":"handler","level":"info","listener":"tcp","local":"192.168.1.12:10099","msg":"192.168.1.11:47086 <> 192.168.1.12:10099","remote":"192.168.1.11:47086","service":"service-0","sid":"cr87p33m2tps55i4a4i0","time":"2024-08-29T13:50:04.808Z"}
2024/08/29 13:50:04.809413 sys_conn.go:36: failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.
{"handler":"http","kind":"handler","level":"error","listener":"tcp","msg":"route(retry=0) 503 Service Unavailable","service":"service-0","time":"2024-08-29T13:50:05.276Z"}
{"duration":468629139,"handler":"http","kind":"handler","level":"info","listener":"tcp","local":"192.168.1.12:10099","msg":"192.168.1.11:47068 >< 192.168.1.12:10099","remote":"192.168.1.11:47068","service":"service-0","sid":"cr87p33m2tps55i4a4gg","time":"2024-08-29T13:50:05.277Z"}
{"handler":"http","kind":"service","level":"error","listener":"tcp","msg":"503 Service Unavailable","service":"service-0","time":"2024-08-29T13:50:05.277Z"}

请教大神问题原因,谢谢。

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

1 participant