Skip to content
CCPEDIAby Unity Nodes
App Development

Healthcheck on Ledger API

3 posts199 views1 likesLast activity Oct 2022

  1. FrankieOP

    Hi there, I’m trying to setup a Sandbox hosting Ledger API in the cloud. Also setting up healthcheck end point for the proxy. Does anyone know if there is a Ledger API healthcheck endpoint and the path?

  2. Gary_Verhaegen 1

    Can you be a little bit more precise as to exactly what you’re setting up here? SDK version and exact command being run would be useful.

    I’ll also note that, across all SDK versions, the sandbox is meant as a tool for local development only. It doe snot offer any kind of persistent storage and should therefore not be used to store any kind of production, useful, or to-be-kept data. Would you mind elaborating a bit on what you’re trying to achieve? It’s possible the sandbox is not the right tool here.

  3. Frankie

    It looks like an environment related issue now. I was trying to do the followings and it worked on my Linux laptop but not on the EC2 instance. I will check the EC2 instance setup. Thanks for your reply @Gary_Verhaegen

    dilbert@dilbert-Inspiron-15-5510:~/damlops$ ./grpcurl -plaintext localhost:6865 list
    com.daml.ledger.api.v1.ActiveContractsService
    com.daml.ledger.api.v1.CommandCompletionService
    com.daml.ledger.api.v1.CommandService
    com.daml.ledger.api.v1.CommandSubmissionService
    com.daml.ledger.api.v1.LedgerConfigurationService
    com.daml.ledger.api.v1.LedgerIdentityService
    com.daml.ledger.api.v1.PackageService
    com.daml.ledger.api.v1.TransactionService
    com.daml.ledger.api.v1.VersionService
    com.daml.ledger.api.v1.admin.ConfigManagementService
    com.daml.ledger.api.v1.admin.PackageManagementService
    com.daml.ledger.api.v1.admin.ParticipantPruningService
    com.daml.ledger.api.v1.admin.PartyManagementService
    com.daml.ledger.api.v1.testing.ResetService
    grpc.health.v1.Health
    grpc.reflection.v1alpha.ServerReflection
    
    dilbert@dilbert-Inspiron-15-5510:~/damlops$ ./grpcurl -plaintext localhost:6865 grpc.health.v1.Health/Check
    {
      "status": "SERVING"
    }