Weaviate RAFT Heartbeat Timeout and Leader Elections

Share
Workaround available Kubernetes, multi-node Updated November 15, 2026How we research

Quick answer

Heartbeat timeouts and repeated elections usually mean resource pressure. Raise RAFT_TIMEOUTS_MULTIPLIER and check memory, CPU and network.

Most likely fix: Tune RAFT

How to fix it

Try these in order — the most common fix is first.

  1. 1. Tune RAFT

    1. Raise RAFT_TIMEOUTS_MULTIPLIER (default 5 in 1.31+; try 10 or 15)
    2. Consider limiting GOMAXPROCS if you have many collections
    Did this fix it?
  2. 2. Fix the underlying pressure

    1. Check memory, CPU and network connectivity
    2. The 99999999 port is intentional for nodes outside memberlist, not a separate bug
    Did this fix it?

Symptoms

Logs show 'heartbeat timeout reached, starting election'; the cluster flaps leaders; sometimes 'dial tcp: address 99999999: invalid port'.

Why it happens

  • Nodes miss heartbeat windows under heavy load or latency
  • Memberlist instability from too many collections or network problems

This guide also covers

  • weaviate heartbeat timeout reached
  • weaviate raft leader election
  • weaviate invalid port 99999999

Still not working?

If Weaviate keeps failing, you're not alone. See every Weaviate problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other Weaviate errors