Troubleshooting

Diagnosing problems in NATS JetStream clusters requires:

The following tips and commands (while not an exhaustive list) can be useful when diagnosing problems in NATS JetStream clusters:

Troubleshooting tips

  1. Look at nats-server logs. By default, only warning and error logs are produced, but debug and trace logs can be turned on from the command line using -D and -DV, respectively. Alternatively, enabling debug or trace in the server config.

  2. Make sure that in the NATS JetStream configuration, at least one system user is configured in this section: { $SYS { users } }.

nats account commands

Basic nats server commands

nats server report commands

nats server request commands

nats server raft commands

Experimental commands

Further troubleshooting references

Last updated