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

Deserialise failure when connecting to FC4 node #1971

Closed
coot opened this issue Apr 18, 2020 · 1 comment · Fixed by #1981
Closed

Deserialise failure when connecting to FC4 node #1971

coot opened this issue Apr 18, 2020 · 1 comment · Fixed by #1981
Labels
bug Something isn't working node-to-client Issues & PRs related to node-to-client protocols

Comments

@coot
Copy link
Contributor

coot commented Apr 18, 2020

I downloaded FC4 release of Deadalus and run:

cabal run exe:cardano-cli -- get-tip --config ~/.local/share/Daedalus/mainnet_flight/config.yaml --socket-path ~/.local/share/Daedalus/mainnet_flight/cardano-node.socket

from IntersectMBO/cardano-node@0172a96

The client application returned:

MuxError {errorType = MuxBearerClosed, errorMsg = "<socket: 11> closed when reading data, waiting on next header True", errorStack = []}

The logs of the node reveal more detail:

[fozzie:cardano.node.LocalErrorPolicy:Error:44] [2020-04-18 07:35:57.80 UTC] {"event":"ErrorPolicyUnhandledApplicationException (DeserialiseFailure 12 \"decode NodeToClientVersion: unknown tag\")","kind":"ErrorPolicyTrace","address":"LocalAddress {getFilePath = \"\"}"}

It's likely that the introduction of LocalStateQuery in #1507 wasn't actually backward compatible.

@coot coot added bug Something isn't working networking node-to-client Issues & PRs related to node-to-client protocols labels Apr 18, 2020
@coot
Copy link
Contributor Author

coot commented Apr 20, 2020

The problem is in the decoder. It should not fail if the version number is not recognized.

@coot coot added this to the S11 2020-04-23 milestone Apr 20, 2020
@iohk-bors iohk-bors bot closed this as completed in fcd1a4f Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working node-to-client Issues & PRs related to node-to-client protocols
Projects
None yet
1 participant