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

I got some troubles in the run_sserver log when execed the run_simulator process, what can I do? #461

Open
yycceth opened this issue Aug 26, 2020 · 2 comments

Comments

@yycceth
Copy link

yycceth commented Aug 26, 2020

I0826 16:07:34.847910 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
I0826 16:07:34.847950 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
I0826 16:07:34.848217 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
I0826 16:07:34.848248 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
I0826 16:07:34.848258 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
I0826 16:07:49.850005 12117 StratumServer.cc:1059] socket read/write timeout, events: 65
I0826 16:07:49.850059 12117 StratumServer.cc:1059] socket read/write timeout, events: 65
I0826 16:07:49.850252 12117 StratumServer.cc:1059] socket read/write timeout, events: 65
I0826 16:07:49.850277 12117 StratumServer.cc:1059] socket read/write timeout, events: 65
I0826 16:07:49.850282 12117 StratumServer.cc:1059] socket read/write timeout, events: 65
I0826 16:08:17.753017 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
E0826 16:08:17.763499 12117 StratumSession.cc:178] decode line fail, not a json string. string value: "
"
E0826 16:08:17.766847 12117 StratumMessageDispatcher.cc:45] Null message dispatcher shall not be called
I0826 16:08:32.763612 12117 StratumServer.cc:1059] socket read/write timeout, events: 65

@BigPingge
Copy link

我也遇到了,执行simulatord,查看sserver.INFO,显示socket read/write timeout, events: 65

@duguyifang
Copy link
Contributor

I0826 16:07:34.848258 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
I0826 16:07:49.850005 12117 StratumServer.cc:1059] socket read/write timeout, events: 65

该日志是因为有客户端连接到了sserver,但是客户端在规定时间内没有发送数据,导致触发超时事件,断开连接。

I0826 16:08:17.753017 12117 StratumSession.cc:75] client connect, ip: 127.0.0.1
E0826 16:08:17.763499 12117 StratumSession.cc:178] decode line fail, not a json string. string value: "
"
E0826 16:08:17.766847 12117 StratumMessageDispatcher.cc:45] Null message dispatcher shall not be called

该日志是因为有客户端连接到sserver以后发送了空字符串,json解析失败,属于非法消息,然后时间长没有接收到别的消息后超时断开。

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

5 participants
@duguyifang @yycceth @BigPingge and others