iotaledger/iri

Get an error response from GTTA method.

oopsmonk opened this issue · 1 comments

Bug description

Sometimes gets an error response on calling getTransactionsToApprove API, usually 2 out of 10 times. 1.8.5-RELEASE has no this problem.

Version

Which version of IRI are you running?

  • Version: v1.8.6-RELEASE

IOTA network

Which node are you connected to and which IOTA network is it in?

Steps To reproduce the bug

Explain how the maintainer can reproduce the bug.

issue a gtta request via curl in a few times.

$ curl https://nodes.iota.cafe:443 -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1' -d '{"command": "getTransactionsToApprove", "depth": 3}'

Expected behaviour

Get trunk/branch transaction hashes

Actual behaviour

{"error":"com.iota.iri.service.ledger.LedgerException: unexpected error while generating the balance diff","duration":72}

Cannot reproduce on other nodes.