Server takes a long time (>30s) to respond if it responds at all. On xrplcluster.com this results in the gateway returning a 504 error.
For more recent ledgers, the server responds quickly with a valid response, so this has something to do with fetching older data specifically. It's unclear how old a ledger you have to ask for before it becomes a problem.
Environment
Tested on xrplcluster, with servers running (I think) rippled 2.1.0 and confirmed by Wietse querying FH servers directly.
Note that this issue does not seem to happen to Clio servers, so I could not reproduce on s1.ripple.com.
Issue Description
When calling the
book_changes
method using WebSocket or JSON-RPC, asking for data from older ledgers leads to a long delay or even a request timeout.Steps to Reproduce
Expected Result
Server should respond quickly with a value like this:
Actual Result
Server takes a long time (>30s) to respond if it responds at all. On xrplcluster.com this results in the gateway returning a 504 error.
For more recent ledgers, the server responds quickly with a valid response, so this has something to do with fetching older data specifically. It's unclear how old a ledger you have to ask for before it becomes a problem.
Environment
Tested on xrplcluster, with servers running (I think)
rippled 2.1.0
and confirmed by Wietse querying FH servers directly.Note that this issue does not seem to happen to Clio servers, so I could not reproduce on s1.ripple.com.