You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The cncli sync service does not fully sync when running on a SanchoNet node. Instead it fails around 86-88% with ERROR cncli::nodeclient::sync > InvalidCbor("unexpected type u8 at position 263: expected array"). The error does not always occur at the same block.
Removing the cncli db and starting from scratch yields the same result.
To Reproduce
Spin up a SanchoNet node and let it sync with the SanchoNet chain
Start a fresh cncli instance with an empty database
Let it sync and wait for the error to show up in the journal
Expected behavior
It will sync to 100% and keep it there.
Additional context
Last lines from the journal:
INFO cncli::nodeclient::sync > block 1016212 of 1163604: 87.33% sync'd
INFO cncli::nodeclient::sync > block 1032098 of 1163604: 88.69% sync'd
ERROR cncli::nodeclient::sync > InvalidCbor("unexpected type u8 at position 263: expected array")
cncli-sync.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: cncli-sync.service: Failed with result 'exit-code'.
The service is started with the following command and runs as a systemd service: cncli sync --host [redacted] --port 3004 --db /var/local/cncli/db.sqlite --network-magic 4
Tested with precompiled versions 6.0.1 and 6.1.0.
The text was updated successfully, but these errors were encountered:
Describe the bug
The cncli sync service does not fully sync when running on a SanchoNet node. Instead it fails around 86-88% with
ERROR cncli::nodeclient::sync > InvalidCbor("unexpected type u8 at position 263: expected array")
. The error does not always occur at the same block.Removing the cncli db and starting from scratch yields the same result.
To Reproduce
Expected behavior
It will sync to 100% and keep it there.
Additional context
Last lines from the journal:
The service is started with the following command and runs as a systemd service:
cncli sync --host [redacted] --port 3004 --db /var/local/cncli/db.sqlite --network-magic 4
Tested with precompiled versions 6.0.1 and 6.1.0.
The text was updated successfully, but these errors were encountered: