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

smux close 空指针异常 #977

Open
Xib1uvXi opened this issue Nov 19, 2024 · 7 comments
Open

smux close 空指针异常 #977

Xib1uvXi opened this issue Nov 19, 2024 · 7 comments

Comments

@Xib1uvXi
Copy link

  1. 检查 -key xxx 至少三遍, 保证两边一致。 一致
  2. 保证-nocomp, -datashard, -parityshard, -key, -crypt, -smuxver, -QPP -QPPCount两边一致。 一致
  3. 是否在服务器端,正确设定了转发的目标服务器地址 --target
  4. 是否在客户端,正确的连接到了 client的监听端口。
  5. 如果第3条不确定,尝试在服务器上telnet target port试试。
  6. 防火墙是否关闭了UDP通信,或者设置了UDP的最大发包速率?防火墙已关闭
  7. 两端的版本是否一致? 一致
  8. 是不是最新版本? 新版本
  9. 两端分别是什么操作系统? linux
  10. 两端的输出日志是什么?
image

在偶发情况下client会出现这种空指针异常

@xtaci
Copy link
Owner

xtaci commented Nov 19, 2024

@Xib1uvXi
Copy link
Author

https://github.com/xtaci/kcptun/releases/tag/v20241119 试下

好,我试试

@Xib1uvXi
Copy link
Author

没有再出现这个问题了,感谢感谢

@xtaci
Copy link
Owner

xtaci commented Nov 20, 2024

ok

@Xib1uvXi
Copy link
Author

FYI
image

在上次更新后,又出现了这个问题,但是发生频率非常低

@Xib1uvXi Xib1uvXi reopened this Dec 23, 2024
@xtaci
Copy link
Owner

xtaci commented Dec 23, 2024

interesting

xtaci added a commit that referenced this issue Dec 27, 2024
@xtaci
Copy link
Owner

xtaci commented Dec 27, 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

2 participants