Closed mounikakun closed 3 days ago
I was doing the request you provided in a loop for 15 minutes and never saw forwarding error. For me rippled can process the request in 8 seconds, so default forwarding timeout 10 seconds is enough in my case. Probably for you rippled is being slow because of some other requests.
All the clio pipelines passed with 15s forwarding time out. Test suites run in parallel so there will be more than an request at time on rippled that might be causing the delay in response.
ripple_path_find failed even with 15s on rippled tests pipeline which runs on clio server. Rippled test suites count is more compared to clio test suite count as these test suites run in parallel there will be more load on rippled while running rippled tests on clio server than clio tests on clio server.
Rippled is being slow. We checked that there is no issue in Clio with forwarding.
Issue Description
ripple_path_find is failing due to an error
failedToForward
and suggested fix was to increase forwarding request_timeout in clio config. With suggested fix the response is inconsistent.Steps to Reproduce
Sample request:
{"method": "ripple_path_find", "params": [{"destination_account": "r3SUNTrUmUe9Ce1WfcuXNS8M1HuPaTwqSf", "destination_amount": {"currency": "USD", "issuer": "racF89eVwgU5XcAjJhS1z4VXpCPZCxN9Q7", "value": "10000"}, "source_account": "racF89eVwgU5XcAjJhS1z4VXpCPZCxN9Q7", "source_currencies": [{"currency": "XRP"}, {"currency": "USD"}], "ledger_index": "validated", "Fee": "20"}]}
Expected Result
Below response is expected at all times.
Actual Result
Sometimes there's a successful response but not always. Adding a sample of errored response.
clio response:
Environment
ubuntu:22.04 clio_version: 20240618101106-develop-0cdc240'
Supporting Files