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

连接上来后报错 Conv inconsistency是什么原因呢 #7

Closed
wushd opened this issue Sep 3, 2020 · 1 comment
Closed

连接上来后报错 Conv inconsistency是什么原因呢 #7

wushd opened this issue Sep 3, 2020 · 1 comment

Comments

@wushd
Copy link

wushd commented Sep 3, 2020

有连接进来disruptorExecutorPool1/10.0.0.7:55938
java.io.IOException: Conv inconsistency
at kcp.Ukcp.input(Ukcp.java:163)
at kcp.Ukcp.input(Ukcp.java:149)
at kcp.RecieveTask.execute(RecieveTask.java:62)
at threadPool.thread.DistriptorHandler.execute(DistriptorHandler.java:17)
at threadPool.thread.DistriptorEventHandler.onEvent(DistriptorEventHandler.java:10)
at threadPool.thread.DistriptorEventHandler.onEvent(DistriptorEventHandler.java:5)
at com.lmax.disruptor.BatchEventProcessor.processEvents(BatchEventProcessor.java:168)
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:125)
at java.lang.Thread.run(Thread.java:748)

@l42111996
Copy link
Owner

把参数贴上来看看,conv可以当做客户端与服务器的唯一标识,
useConvChannel参数设置是否使用conv当做唯一标识,如果为false的不需要设置conv的值,
当useConvChannel为false,conv字段客户端与服务器不匹配的时候会出现这个错误,

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