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

Akka Warning - Received Write command before Register command #1528

Closed
vncoelho opened this issue Apr 2, 2020 · 1 comment · Fixed by #1533
Closed

Akka Warning - Received Write command before Register command #1528

vncoelho opened this issue Apr 2, 2020 · 1 comment · Fixed by #1533

Comments

@vncoelho
Copy link
Member

vncoelho commented Apr 2, 2020

[WARNING][04/02/2020 22:51:46][Thread 0010][akka://NeoSystem/system/IO-TCP/$a/$hw] Received Write command before Register command. It will be buffered until Register will be received (buffered write size is 52 bytes)

This is repeatedly happening.

@ShawnYun
Copy link
Contributor

ShawnYun commented Apr 3, 2020

It seems to be due to the following reasons:
The following diagram illustrate the actors involved in establishing and handling a connection.
io-tcp-client
In Neo3,when we received a Connected message, we will create a new RemoteNode and send MessageCommand.Version immediately before we send Tcp.Register message.
1585886374(1)
So, Maybe we can solve the problem to send Tcp.Register message first, then the MessageCommand.Version.

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

Successfully merging a pull request may close this issue.

2 participants