"Force restart" Loop During Wallet Sync on Startup
(Reposting here from Haveno-Reto after they told me to report upstream. Original issue is here: https://github.com/retoaccess1/haveno-reto/issues/23 )

**Haveno-Reto Version:** _1.0.11_
**OS:** _Ubuntu 20.04.6 LTS_

On startup, Haveno makes a connection to the Tor network successfully and progresses to "Synchronizing wallet with Monero Mainnet (via clearnet) at block...". From here, the synchronization progress makes it to 1 or 2% (sometimes higher, but always a single digit percentage) before going back down to 0%. It remains in this state for hours with no visible progress.

Looking at the process logs, I see the following errors:

```
Oct-12 12:46:57.203 [XmrWalletService] WARN  haveno.core.xmr.wallet.XmrWalletService: Error syncing wallet with progress on startup: java.lang.RuntimeException: Sync progress timeout called 
Oct-12 12:46:57.204 [XmrWalletService] INFO  h.core.xmr.setup.MoneroWalletRpcManager: Stopping MoneroWalletRpc path=haveno_XMR, port=46567, pid=128399 
Oct-12 12:46:57.218 [XmrWalletService] WARN  haveno.core.api.XmrConnectionService: Requesting switch to next best monerod, source monerod=http://xmr-node.cakewallet.com:18081 
Oct-12 12:46:59.080 [JavaFX Application Thread] INFO  haveno.network.p2p.peers.PeerManager: We have 8 connections open. Our limit is 12 
Oct-12 12:46:59.434 [XmrWalletService] INFO  haveno.core.api.XmrConnectionService: XmrConnectionService.onConnectionChanged() uri=http://node.community.rino.io:18081, connected=true 
Oct-12 12:46:59.436 [XmrWalletService] INFO  haveno.core.xmr.wallet.XmrWalletService: Initializing main wallet with monerod=http://node.community.rino.io:18081 
Oct-12 12:46:59.436 [pool-32-thread-7] WARN  haveno.core.xmr.wallet.XmrWalletService: Force restarting main wallet because connection changed while syncing 
Oct-12 12:46:59.436 [XmrWalletService] INFO  haveno.core.xmr.wallet.XmrWalletService: XmrWalletService.openWallet(haveno_XMR) 
Oct-12 12:46:59.437 [pool-32-thread-7] WARN  haveno.core.xmr.wallet.XmrWalletService: Force restarting main wallet
```
also...
```
Oct-12 12:50:08.005 [InputHandler-k6wctqd5l2nh...] WARN  haveno.network.p2p.network.Connection: Shut down caused by exception Read timed out on connection=Connection{peerAddress=Optional[k6wctqd5l2nhmietzs6zg4pric3ukeg7lazzz67ttbl75qwfr2q4yvqd.onion:2002], connectionState=ConnectionState{,
     peerType=PEER,
     numInitialDataRequests=1,
     numInitialDataResponses=1,
     lastInitialDataMsgTimeStamp=1728704767966,
     isSeedNode=true,
     expectedInitialDataResponses=5
}, connectionType=OutboundConnection, uid='94d3838e-62fe-4644-a772-bbc1d85b8fff'} 
```

The above WARN errors repeat multiple times throughout the logs.

I understand the need for patience while starting up Haveno, but I tried leaving it in this state for upwards of 6 hours and it still made no progress.

I tested this on another machine running Ubuntu 22.04.5 LTS with the same results, including the same error logs.

As a result of this, Haveno can never complete startup, and thus cannot be run or used. While startup slowness existed before (due to the attacks on the seed nodes, I imagine) this is my first experience of this particular startup problem.