casper-network / casper-sidecar

Apache License 2.0
3 stars 10 forks source link

[BUG] `casper-sidecar` crashed with an error after native `withdraw-bid` command. #370

Open devendran-m opened 5 days ago

devendran-m commented 5 days ago

Bug reported by @Jiuhong-casperlabs

Issue: casper-sidecar crashed with the error after native withdraw-bid command.

Native withdraw-bid command;

casper-client put-transaction withdraw-bid \
--public-key 0141247b3eb4244918d14d3d6df84e01e7a46f90287739ac6e131b4f9fb3677f34 \
--transaction-amount 1000000000000 \
--chain-name casper-jiuhong-test-jh \
--gas-price-tolerance 1 \
--pricing-mode fixed \
--secret-key /etc/casper/validator_keys/secret_key.pem

Error:

2024-11-28T02:26:29.237416Z  WARN casper_event_listener: Lost connection to node 127.0.0.1, on attempt 3/100
2024-11-28T02:26:39.264525Z ERROR casper_event_listener::connection_manager: ; error_message="Serde Error: Couldn't deserialize Error when deserializing SSE event from node: bid-addr-key from string error: invalid tag at line 1 column 1267"
2024-11-28T02:26:39.264571Z ERROR casper_event_listener: Error on start_handling: NonRecoverableError: Serde Error: Couldn't deserialize Error when deserializing SSE event from node: bid-addr-key from string error: invalid tag at line 1 column 1267
2024-11-28T02:26:39.264591Z ERROR casper_event_listener: Restarting event listener 127.0.0.1:9999 because of NonRecoverableError: Serde Error: Couldn't deserialize Error when deserializing SSE event from node: bid-addr-key from string error: invalid tag at line 1 column 1267
2024-11-28T02:26:39.264600Z  WARN casper_event_listener: Lost connection to node 127.0.0.1, on attempt 4/100
devendran-m commented 1 day ago

Hi @Jiuhong-casperlabs , This issue should now be resolved by the PR https://github.com/casper-network/casper-node/pull/4987 . Please can you retest and confirm if this is resolved?

devendran-m commented 16 hours ago

Hi @Jiuhong-casperlabs

Based on the sprint entry discussion yesterday. The changes introduced via casper-node PR https://github.com/casper-network/casper-node/pull/4987 is expected to resolve this bug. Therefore we would like your help in the following in the current sprint - Dec 3 - 17;

Retest required; https://github.com/casper-network/casper-sidecar/issues/370 https://github.com/casper-network/casper-sidecar/issues/371