ISSUE RESOLVED: All 9 CHORUS containers were showing "0 connected peers"
and elections were completely broken with "❌ No winner found in election"
ROOT CAUSE: During Task Execution Engine implementation, ConnectionManager
and AutoRelay configuration was added to p2p/node.go, which broke P2P
connectivity in Docker Swarm overlay networks.
SOLUTION: Reverted to simple libp2p configuration from working baseline:
- Removed connmgr.NewConnManager() setup
- Removed libp2p.ConnectionManager(connManager)
- Removed libp2p.EnableAutoRelayWithStaticRelays()
- Kept only basic libp2p.EnableRelay()
VERIFICATION: All containers now show 3-4 connected peers and elections
are fully functional with candidacy announcements and voting.
PRESERVED: All Task Execution Engine functionality (v0.5.0) remains intact
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>