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

使用 websocket+cloudlfare+nginx走遊戲不斷掉線問題 #3157

Open
laikitleung opened this issue Sep 14, 2024 · 0 comments
Open

使用 websocket+cloudlfare+nginx走遊戲不斷掉線問題 #3157

laikitleung opened this issue Sep 14, 2024 · 0 comments

Comments

@laikitleung
Copy link

嘗試通過cloudflare的cdn改善遊戲連接,使用websocket+tls+cloudflare+nginx,遊戲不斷掉線,
nginx的timeout調大或者修改cloudflare防火牆都不起作用,
後來嘗試這個項目https://github.com/erebe/wstunnel 加cloudflare,連接可以一直保持不掉線,
我是小白,是不是因為wstunnel兩端都有--websocket-ping-frequency-sec這個參數保活,
v2ray的websocket連接能否也加入類似的保活機制

@laikitleung laikitleung changed the title 使用 websocket+cloudlfare+ngin走遊戲不斷掉線問題 使用 websocket+cloudlfare+nginx走遊戲不斷掉線問題 Sep 14, 2024
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