rqlite: ERR! server responded with 503 Service Unavailable: leader not found
I started to learn rqlite. I download and run it under WSL2 Ubuntu. Runned daemon as single node from readme. Connected from cli and created table. After that I restarted my WSL2 distribution. Runned daemon again with same command. Connected from cli and tried to .tables. And got result:
Welcome to the rqlite CLI. Enter ".help" for usage hints.
Version v7.10.0, commit 547bb84bbef14c95b65d46e5bda3a4e0a7383a62, branch master
Connected to rqlited version v7.10.0
127.0.0.1:4001> .tables
ERR! server responded with 503 Service Unavailable: leader not found
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (10 by maintainers)
From your logs:
This is happening due a unstable node ID. The node ID must be the same between launches, when running a single node.