Skip to main content
For more involved debugging and disaster recovery, direct access to the console of a Canton node (participant, sequencer, mediator) might be required. Steps to obtain such access: Requirements:
  • Direct access to the Canton node process
  • Canton binary
Once you see the following banner for the console you have successfully gained access

Participant console

  1. Obtain an authentication token as specified in the Canton authentication docs
  2. Ensure you can access the participant’s ports 5001 and 5002
  3. Add the configuration to a local file console.conf
  4. Run the docker command
If you run the participant using the docker compose setup the docker command must be run with the docker network used by the participant. Adjust the configuration to connect to the participant container:
Running docker with the default network (splice-validator):

Sequencer console

  1. Ensure you can access the sequencer’s ports 5008 and 5009
  2. Add the configuration to a local file console.conf
  1. Run the docker command

Mediator console

  1. Ensure you can access the mediator’s port 5007
  2. Add the configuration to a local file console.conf
  1. Run the docker command

Access in a K8s cluster

In a K8s cluster you can use a debug pod to access the console directly from the cluster. First you can create a pod running the right canton version using:
where POD_NAME is the name of the participant/sequencer/mediator pod. Once you are inside the running pod you can install a text editor and create the config file console.conf that is described above.