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

Latest cli wallet can start timing out on rpc calls, but wakes up after keystrokes #2474

Open
dnotestein opened this issue May 18, 2018 · 5 comments

Comments

@dnotestein
Copy link

Several times now, we've seen strange behavior with the cli wallet when accessed via rpc calls. At some point, it seems to stop responding to the rpc calls (we get timeouts on our client side). But if we attach to the cli wallet and type something, it seems to "wake up" and start responding again to rpc calls. We started observing this behavior after we updated the steem wallet about 2 weeks ago.

@dnotestein
Copy link
Author

This is happening with version tagged 19.3

@mvandeberg
Copy link
Contributor

The wallet included in 19.3 was last modified 11 months ago.

@BhuzOr
Copy link

BhuzOr commented May 24, 2018

Cli connections to rpc nodes seem to be "dropped" after a while. Is that related?

!ec: websocket send failed: invalid state
    {"msg":"invalid state"}
    websocket.cpp:164 send_message

@abitmore
Copy link
Contributor

abitmore commented May 25, 2018

@BhuzOr perhaps dropped by reverse proxy? Or due to a websocketpp fix? I'm not sure about the real reason but it not only occurs in Steem, also is not new. IMHO it's better to terminate/crash rather than stuck for easier tolerance for client applications.

Update: more discussion about "invalid state" here: #976 . Anyway seems it's not related to OP.

@dnotestein
Copy link
Author

dnotestein commented May 25, 2018

To clarify, we updated our steem witness as well as the wallet, and my suspicion was that it was more related to the witness than the cli-wallet code itself. We do have some custom code in our wallet, but that also has not changed in about 6 months.

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

4 participants