I read:
https://datatracker.ietf.org/doc/html/rfc5116#section-3.2
And it says The Counter fields of successive nonces form a monotonically increasing sequence, when those fields are regarded as unsigned integers in network byte order.
But our implementation is currently in host endian (in protocol.c), it only works well in big-endian platform, when counter is more than or equals to 1.