Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

leader not electing hyperLedger fabric raft ordering service

enter image description here

When i try to deploy fabric-raft ordering service, it shows these logs. it starts election repetitively without electing a leader. i tried changing heartbeat time to 1 sec and election time to 10 sec but that is not working. then i tried to changing GODEBUG=netdns=go but that is not working too.

like image 811
xama arshad Avatar asked Nov 23 '25 02:11

xama arshad


2 Answers

If the leader isn't elected, it's probably because the nodes cannot communicate. You should enable the gRPC logging to debug level, as well as the cluster communication logging to debug level and see if you see messages being received.

like image 190
yacovm Avatar answered Nov 24 '25 21:11

yacovm


this error will comes because of these two reasons 1. check your orderer config once again 2. enable the grpc because in raft grpc is to be true.

like image 30
Vineeth Boppudi Avatar answered Nov 24 '25 22:11

Vineeth Boppudi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!