I found the problem in fact this error was already documented in sync-monitor, this error can happen if the network became unstable during a sync.
The current solution is retry sync if this happen during a fast sync. But not after a slow sync.
But since this sync happen during the first sync and the first sync is always a slow sync, the sync-monitor did not try to re-sync it.
To solve this problem I change the code to retry the sync one more time even if the last sync was a slow sync or not.
I found the problem in fact this error was already documented in sync-monitor, this error can happen if the network became unstable during a sync.
The current solution is retry sync if this happen during a fast sync. But not after a slow sync.
But since this sync happen during the first sync and the first sync is always a slow sync, the sync-monitor did not try to re-sync it.
To solve this problem I change the code to retry the sync one more time even if the last sync was a slow sync or not.