Skip to content
CCPEDIAby Unity Nodes
App Development

Set timeout for 3.x JSON Ledger API?

3 posts119 views2 likesLast activity Oct 2025

  1. 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.
    
  2. 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.

  3. WallaceKelly 1

    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