Set timeout for 3.x JSON Ledger API?
- WallaceKellyOP
How does one increase the timeout for the JSON Ledger API in Canton 3.x?
Timed out getting completion for submission with userId=*** , commandId=***, submissionId=***. The submission might have succeeded or failed, but it couldn't be determined in time. - WallaceKelly 1
With the following configuration…
canton.participants.<participant name>.http-ledger-api.server.request-timeout…introduced here:
Configure this value to allow
more complex Ledger API requests to complete
(e.g./state/active-contracts).
The default value is 20 seconds. - WallaceKelly 1
For the Splice bundle, this configuration can be set as an
ADDITIONAL_CONFIGenvironment variable:- ADDITIONAL_CONFIG_JSON_API_TIMEOUT= canton.participants.participant.http-ledger-api.server.request-timeout=60s