Mist wallet syncs nodes and then runs but then does not sync
Node type: geth/eth OS: linux Ubuntu 14.04 Network type: main Mist version: 0.5.2
History: Mist would sync very slowly and get stuck. Every time I had to restart Mist in order to d/l more of the blockchain. I then started syncing blockchain using geth --fast. Then the current issue started. Work around: I have to restart Mist in order to get my blocks synced.

omniedge@omniedge-Inspiron-3542:~/.config/Mist$ cat node.log
I0327 08:29:16.986566 3507 database.go:71] Alloted 433MB cache to /home/omniedge/.ethereum/chaindata
I0327 08:29:18.404659 3507 database.go:71] Alloted 78MB cache to /home/omniedge/.ethereum/dapp
I0327 08:29:18.428764 3507 backend.go:314] Protocol Versions: [63 62 61], Network Id: 1
I0327 08:29:18.469989 3507 backend.go:362] Blockchain DB Version: 3
I0327 08:29:18.551794 3507 blockchain.go:214] Last header: #1227115 [b2acf601…] TD=10907556565264717722
I0327 08:29:18.551823 3507 blockchain.go:215] Last block: #1227115 [b2acf601…] TD=10907556565264717722
I0327 08:29:18.551833 3507 blockchain.go:216] Fast block: #1227115 [b2acf601…] TD=10907556565264717722
I0327 08:29:18.575036 3507 handler.go:92] blockchain not empty, fast sync disabled
I0327 08:29:18.626754 3507 cmd.go:114] Starting Geth/v1.3.5-34b622a2/linux/go1.6
I0327 08:29:18.652734 3507 server.go:311] Starting Server
I0327 08:29:19.371041 3507 udp.go:212] Listening, enode://79d9985dfa5841b0c1d4265ff47b64c8bcc9d8132b4517decec59428bad27e44a8923a5638479ecc6b90f1907cd35d5b66382a0e2e32dfacb579d81951cbae33@[::]:30303
I0327 08:29:19.371341 3507 backend.go:526] Server started
I0327 08:29:19.371372 3507 server.go:552] Listening on [::]:30303
I0327 08:29:19.411149 3507 ipc.go:112] IPC service started (/home/omniedge/.ethereum/geth.ipc)
I0327 08:30:19.371656 3507 downloader.go:288] Block synchronisation started
I0327 08:30:22.914172 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 1.78558889s. #1227116 [bd860f34 / bd860f34]
I0327 08:30:22.991465 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 2 txs in 77.20923ms. #1227117 [0f7d12b6 / 0f7d12b6]
I0327 08:30:26.569785 3507 blockchain.go:1251] imported 10 block(s) (0 queued 0 ignored) including 16 txs in 558.343086ms. #1227127 [85e40cac / 7a6021eb]
I0327 08:30:47.340896 3507 blockchain.go:1251] imported 54 block(s) (0 queued 0 ignored) including 309 txs in 19.653552323s. #1227181 [3b219259 / 96274755]
I0327 08:31:41.713366 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 3 txs in 8.049493ms. #1227182 [cc36180e / cc36180e]
I0327 08:31:41.766637 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 3 txs in 18.854739ms. #1227183 [e0d1b92a / e0d1b92a]
I0327 08:31:41.840033 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 26 txs in 69.045363ms. #1227184 [7b375797 / 7b375797]
I0327 08:31:41.867839 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 7 txs in 23.010235ms. #1227185 [a3a71ebe / a3a71ebe]
I0327 08:31:42.391949 3507 blockchain.go:1251] imported 0 block(s) (0 queued 3 ignored) including 0 txs in 4.991573ms. #1227185 [e0d1b92a / a3a71ebe]
I0327 08:32:00.997397 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 15 txs in 23.39737ms. #1227186 [b7e8bcb0 / b7e8bcb0]
I0327 08:32:16.978882 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 6 txs in 12.076068ms. #1227187 [34693745 / 34693745]
I0327 08:32:49.560106 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 6 txs in 116.734689ms. #1227188 [45550e8b / 45550e8b]
I0327 08:33:20.526587 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 13 txs in 26.303391ms. #1227189 [a0f87402 / a0f87402]
I0327 08:33:36.444646 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 22 txs in 46.736795ms. #1227190 [e411bc25 / e411bc25]
I0327 08:34:27.710431 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 14 txs in 33.357254ms. #1227191 [75f7af92 / 75f7af92]
I0327 08:36:18.152791 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 1 txs in 9.01289ms. #1227192 [0b3745c2 / 0b3745c2]
I0327 08:36:19.238321 3507 queue.go:331] Header #1227195 [9c906fe4] broke chain ordering, expected 1227193
I0327 08:36:20.275236 3507 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 40 txs in 2.117191233s. #1227193 [16db41e5 / 16db41e5]
Console update:

Same exact error on 2 different machines, same Ubuntu / Mist versions. Both are semi decent quad core CPUs with 4GB RAM. Disk drive is also running for over a hour at 100%, HDD light never stops the entire time. No issues at all on 8 core / 8GB machine with same Ubuntu / Mist versions.
Almost forgot: only 1.1GB RAM used out of 3.9GB, so HDD Light was definitely NOT swap space usage.
Same issues on Win 10 with the same slow machine (no hard drive heavy I/O issue though), fast machine is fine.
same here Mac OS X El Capitan , update 10.11.5 Beta (15F18c) installed today instance: Geth/v1.3.5/darwin/go1.6 mist 0.6.2
Worked prior to update.
....go:1251] imported 1 block(s) (0 queued 0 ignored) including 51 txs in 394.246002ms. #1323433 [8b53b882 / 8b53b882]
I0412 16:11:24.745759 699 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 5 txs in 22.968726ms. #1323434 [99b573ca / 99b573ca]
I0412 16:12:54.836852 699 queue.go:331] Header #1323441 [061d71fc] broke chain ordering, expected 1323447
I0412 16:12:55.160755 699 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 15 txs in 381.52267ms. #1323435 [d8cbb53a / d8cbb53a]
I0412 16:12:55.575936 699 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 4 txs in 408.594804ms. #1323436 [a550be95 / a550be95]
I0412 16:12:55.932137 699 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 5 txs in 351.687766ms. #1323434 [83bd2f19 / 83bd2f19]
I0412 16:12:56.045645 699 blockchain.go:1251] imported 1 block(s) (0 queued 0 ignored) including 3 txs in 112.276906ms. #1323436 [26528c2e / 26528c2e]
CONSOLE
---------------
Failed to load resource: net::ERR_FILE_NOT_FOUND
de099c7….js:289 Logs of Token Unicorns couldn't be received Error: CONNECTION ERROR: Couldn't connect to node on IPC.
at Object.module.exports.InvalidConnection (/Users/Dean/Ethereum-Wallet-macosx-0-6-2/Ethereum-Wallet.app/Contents/Resources/app.asar/node_modules/web3/lib/web3/errors.js:28:16)
at IpcProvider._timeout (/Users/Dean/Ethereum-Wallet-macosx-0-6-2/Ethereum-Wallet.app/Contents/Resources/app.asar/node_modules/web3/lib/web3/ipcprovider.js:172:48)
at /Users/Dean/Ethereum-Wallet-macosx-0-6-2/Ethereum-Wallet.app/Contents/Resources/app.asar/node_modules/web3/lib/web3/ipcprovider.js:83:15
at EventEmitter.<anonymous> (/Users/Dean/Ethereum-Wallet-macosx-0-6-2/Ethereum-Wallet.app/Contents/Resources/app.asar/modules/ipc/ipcProviderWrapper.js:51:13)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:172:7)
any update ?
Hi.
Sore for answering late. I'm beeing traveling right now. The fist screens seem fine. The second ones it looks like it looses the nodes ipc connection to mist.
We are aware of the sync issues, but this shouldn't result in ipc connection issues.
@bas-vk and @fjl any idea?
Concerning the ipc I assume some request is leading to a canceled socket and I might not reconnect correctly.
Concerning the sync. It need to be fixed in geth itself.
It says ipc error connectreset? Any idea bas? I'm. Urgently only on my phone can't really check.
There are several reasons why the node drops the connection. Since @taoteh1221 mentioned that this is not occurring on faster machines and @JRogiest said a restart of mist works (temporary) it might be a timeout related issue. If geth doesn't get a new request within 1 minute it will drop the connection. Normally this should not happen, but maybe on slower machines which are synchronizing it can happen.
Mist should reconnect and resume operations as normal when this happens.
From geth 1.4 the whole RPC backend is re-implemented. Important changes:
- no timeout for the IPC channel
- improved logging which can help trace down the issue
- uses a different IPC package on Windows (made bij Microsoft guys)
Thanks for the response. I will soon upgrade to geth 1.4 once we released it.
Though i will look into why its hanging the socket sometimes.
@bas-vk @frozeman I thought of, and did a quick test to see if it would fix this issue on at least my fast Windows machine (which would not sync well at all in recent Mist builds, but synced fine before, months ago). I deleted all mist / ethereum user files from my user directory, except for my keystores, and it seems to have fixed the issue...I finally stayed in sync on mainnet fine. I think maybe it correlates to fast sync on a blockchain database that was not originally fast-synced from the genesis block (geth been on that machine syncing for many months before these recent Mist builds). Just a correlation to ponder over, if you all get any more issues reported like this. I will test on my laptop on Linux next (including before / after Mist upgrade to latest), and report back.
I have a similar sync issue with my Mist wallet, but with a twist....
After Mist opens up, I don't see any peers connected and the block number doesn't change but when i go to view the log, it says it's keeping up with new blocks:

Is Mist really connected to peers and not just showing up on the UI?
If it is synced, I'm not able to transact between accounts through the UI.
Thanks in advance for any comments/help, radek^3
Ubuntu 14.04 LTS / Mist v0.7.2 even on my 8 core / 8GB RAM machine is choking now, disk drive running a TON of heavy I/O non-stop for 20/30/40 minutes or more. Geth even does this by itself CLI, not sure Mist is to blame, but here are the wallet UI logs anyway:
Failed to load resource: net::ERR_FILE_NOT_FOUND Connect to node... EVENT LOG: Checking Deposits and ConfirmationNeeded for XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (_id: XXXXXXXXXXX) from block # XXXXX EVENT LOG: Checking Custom Contract Events for XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (_id: XXXXXXXXXXX) from block # XXXXX EVENT LOG: Checking Custom Contract Events for XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (_id: XXXXXXXXXXX) from block # XXXXX IPC Connection Error Object {code: "ECONNRESET", errno: "ECONNRESET", syscall: "read"} Logs of Token DAO couldn't be received Error: CONNECTION ERROR: Couldn't connect to node on IPC.(…) Logs of Token Unicorns couldn't be received Error: CONNECTION ERROR: Couldn't connect to node on IPC.(…)
Follow up: switching to testnet, then back to livenet calmed things down...hard drive stopped doing endless I/O and blockchain finally stayed in sync. Odd.
@taoteh1221 Did you quickly go to the test net and back or did you also have to download the testnet blockchain?
@jRogiest Just a quick switch back and forth, did not fully sync testnet before switching back to mainnet.
Please try to run geth 1.4 in the background until Ethereum-Wallet ~~0.7.3~~ (edit: 0.7.4) (bundling newer geth) is released.
Similar issue report: https://github.com/ethereum/mist/issues/558
I'm having the same issue as @radekradekradek . Blocks seem to get updated, but don't show up in Mist.
I also have trouble finding peers but I get some 1-3 eventually.
Ubuntu 15.10 64bit, Mist 0.7.2, geth 1.4.3
@jskvbinmv It looks like geth (the under-the-hood p2p node software bundled with Mist) is responsible, see my screenshot in this stackexchange question: http://ethereum.stackexchange.com/questions/3789/any-idea-why-geth-1-4-1-rc-4b9de75-is-such-heavy-disk-i-o-at-startup
Slower computers, or computers with a normal hard drive (not an SSD drive) may take 30-40 or more minutes to have geth 'chill out' on the heavy disk drive input / output even after the blockchain is fully synced...then Mist may be able to connect to geth successfully and run properly.
@taoteh1221 Thanks for your reply. I left it running the whole night and now again for some hours but still the same.
