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

PacketReader::processMessages: not found msgID=4, msglen=19, from #1576

Open
robot518 opened this issue Oct 24, 2022 · 17 comments
Open

PacketReader::processMessages: not found msgID=4, msglen=19, from #1576

robot518 opened this issue Oct 24, 2022 · 17 comments

Comments

@robot518
Copy link

PacketReader::processMessages: not found msgID=4, msglen=19, from。。这种问题怎么排查修复。。照着readme启动,看日志都没问题。。
日志里大量
WARN root [2022-10-24 21:59:15,756] - Machine::onFindInterfaceAddr: cellapp not found dbmgr.
image

@ve-i-uj
Copy link

ve-i-uj commented Oct 25, 2022

Probably the DbMgr component is not running. Often this means some kind of database connection problem. Check the dbmgr log for the first error. The logs are in the "your_assets_directory/logs" directory.

@robot518
Copy link
Author

image

image

I know the problem is the dbmgr is not running. But I don't know why..

Probably the DbMgr component is not running. Often this means some kind of database connection problem. Check the dbmgr log for the first error. The logs are in the "your_assets_directory/logs" directory.

@ve-i-uj
Copy link

ve-i-uj commented Oct 30, 2022

Those log messages are fine. Please show the entire logs/dbmgr.2022-XX-XX.log file.

@robot518
Copy link
Author

Those log messages are fine. Please show the entire logs/dbmgr.2022-XX-XX.log file.
v2-90af97716ff8c195b601fb0df2c5b5c1
I use gbd to get the core information. It's the problem of openssl, but I don't know how to solve this. I use the 2.5.12 version.

@robot518
Copy link
Author

Those log messages are fine. Please show the entire logs/dbmgr.2022-XX-XX.log file.

Then I tried the latest version of 1.x.x, I got the problem of log4.. So difficult for me to use this..

@robot518
Copy link
Author

Those log messages are fine. Please show the entire logs/dbmgr.2022-XX-XX.log file.

Can you use this? Which version is useful?

@ve-i-uj
Copy link

ve-i-uj commented Oct 30, 2022

I ran into a similar issue on Ubuntu 20.04. I couldn't build KBEngine due to openssl version. I used an older compiler version (gcc-5 instead of gcc-9) and it worked. Perhaps something similar will work on Windows as well.

https://github.com/ve-i-uj/shedu/blob/develop/deploy-scripts/compile_kbe_ubuntu.sh#L18

@ve-i-uj
Copy link

ve-i-uj commented Oct 30, 2022

The latest version of KBE is building fine on CentOs7 and Ubuntu18. I've never compiled kbengine on Windows.

@robot518
Copy link
Author

The latest version of KBE is building fine on CentOs7 and Ubuntu18. I've never compiled kbengine on Windows.

I use the centos 8.5.. Then I got the openssl problem.

@ve-i-uj
Copy link

ve-i-uj commented Oct 30, 2022

If you have Linux, you can try deploying KBEngine on your Linux host using my project. It should to build and start kbengine for a few minutes. It fits fine for non-production developing.

https://github.com/ve-i-uj/shedu

(the project requires Docker and Docker-Compose installed)

@robot518
Copy link
Author

这个问题跟DB MGR没关心,用ubuntu正常开启dbmgr后,一样报这个错

@shangdibaozi
Copy link

reply: kbe, date: 2018-02-08 09:57:39,
经常出现 PacketReader::processMessages: not found msgID一般是网络上有各种嗅探包导致的, 比如有些公司或者局域网网管软件, 当你访问一个ip时就会先发一个包过去探测,监视在做什么。

@robot518
Copy link
Author

reply: kbe, date: 2018-02-08 09:57:39, 经常出现 PacketReader::processMessages: not found msgID一般是网络上有各种嗅探包导致的, 比如有些公司或者局域网网管软件, 当你访问一个ip时就会先发一个包过去探测,监视在做什么。

那要怎么解决这个报错问题呢。。

@shangdibaozi
Copy link

不用管

@robot518
Copy link
Author

不用管

我unity客户端点击注册和登陆后,服务器就会报这个错,然后客户端不会跳转到选角色界面,哪里问题?

@ve-i-uj
Copy link

ve-i-uj commented Feb 22, 2023

You can try to find out the problem by Wireshark (or tcpdump) to view net packages in the moment of the problem.

It will be easier to filter the traffic of the engine specifically if the cluster is running on a virtual machine or it's running by Docker. In this case, KBE network traffic can be filtered by IP address.

@ve-i-uj
Copy link

ve-i-uj commented Feb 22, 2023

Need more information about your environment to help you.

  1. Is this a home or work environment, are you running KBE in a virtual machine or on your laptop/PC?
  2. Are there any devices in the network that change traffic (a router, a switch)?
  3. Is it Wi-Fi or a wired network?
  4. What is your OS (and version of gcc)?
  5. Is the database on the same host as KBEngine?

All the log files from the "logs" directory when the error happended are needed.

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

3 participants