Prepare transaction.json (example) with a few instructions and,
git checkout 76dafdc
cargo build
LOG_LEVEL=ERROR ./scripts/test_env.py setup
cd test
while true; do curl http://127.0.0.1:8080/status; cat transaction.json | ./iroha json transaction &; sleep 0.5; done
Actual result
On block commit, peer logs as many WebSocket ERRORs as the transactions it has handled during the round.
test/peers/iroha0/log.txt
2024-08-22T15:26:03.287294Z ERROR iroha_torii: Failure during event streaming, error: WebSocket error: WebSocket protocol error: Sending after closing is not allowed
at torii/src/lib.rs:215
OS and Environment
Linux,
test_env.py
GIT commit hash
76dafdc
Minimum working example / Steps to reproduce
Prepare
transaction.json
(example) with a few instructions and,Actual result
On block commit, peer logs as many WebSocket ERRORs as the transactions it has handled during the round.
test/peers/iroha0/log.txt
This is not seen in other peers
Expected result
There should be no ERROR level logs in normal use
Logs
See Actual result section
Who can help to reproduce?
@s8sato
Notes
No response