Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Set timeout for 3.x JSON Ledger API?Forum ↗

Set timeout for 3.x JSON Ledger API?

App Development3 posts70 views2 likesLast activity Oct 2025
WA
WallaceKellyOP
Oct 2025

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.
WA
WallaceKelly
Oct 2025

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.

WA
WallaceKelly
Oct 2025

For the Splice bundle, this configuration can be set as an ADDITIONAL_CONFIG environment variable:

- ADDITIONAL_CONFIG_JSON_API_TIMEOUT=
    canton.participants.participant.http-ledger-api.server.request-timeout=60s
← Back to Discussions