autonomoussoftware / metronome-wallet-desktop

💻💰 Metronome wallet for desktop devices
https://metronome.io
MIT License
18 stars 12 forks source link

Could not sync to the latest block #34

Closed jcvernaleo closed 6 years ago

jcvernaleo commented 6 years ago

v0.3.0 on Ubuntu 16.04 I keep getting a 'Could not sync to the latest block' error pop up regularly in the GUI and shows up in the terminal as well:

jcv@triforce ~ $ metronome-desktop-wallet 
[11:06:17.312] [info] loading url: file:///opt/Metronome Wallet/resources/app.asar/build/index.html
[11:06:17.315] [info] App ready, initlilizing...
[11:06:17.319] [verbose] Settings file /home/jcv/.config/metronome-desktop-wallet/Settings
[11:06:17.323] [silly] Current settings { app: 
   { node: { websocketApiUrl: 'ws://parity.bloqrock.net:8546' },
     defaultDerivationPath: 'm/44\'/60\'/0\'/0',
     indexerApiUrl: 'http://api.indexer.bloqrock.net',
     bestBlock: -1 },
  coincap: { ethPriceEmitRate: 5, ETH_USD: 930 },
  metronome: 
   { contracts: 
      { token: '0xf583c8fe0cbf447727378e3b1e921b1ef81adda8',
        auctions: '0xddfd00e05901fae4df5d1b01f4212e62887177fc',
        converter: '0xfe3e820560bd3af2c3a807cae8a2e92bc3577a7e' } },
  tokens: { '0xf583c8fe0cbf447727378e3b1e921b1ef81adda8': { symbol: 'MTN' } },
  user: 
   { passwordHash: 'f582c0ea6efdfbaaf61e741e4a3d5e4b550ea01a27011a48ce07754f82fddf20',
     wallets: { cc7c62a257be3441ed32729eb98fa4f1713f501a3be90e17ca31e951f77306dc: [Object] },
     activeWallet: 'cc7c62a257be3441ed32729eb98fa4f1713f501a3be90e17ca31e951f77306dc' } }
[11:06:18.210] [verbose] --> ui-ready:cjdq4mixt0000esis1ryw80b2 
[11:06:18.211] [verbose] Initializing CoinCap listener
[11:06:18.224] [verbose] Sending cached ETH price
[11:06:18.225] [verbose] <-- eth-price-updated 930
[11:06:18.225] [verbose] Attaching listener to ETH price changes
[11:06:18.249] [verbose] <-- ui-ready:cjdq4mixt0000esis1ryw80b2 {"onboardingComplete":true}
[11:06:18.525] [verbose] Auction status { genesisTime: 1518370860,
  currentPrice: '590338668492800000',
  tokenRemaining: '7999870226452654492656570',
  nextAuctionStartTime: 1518998400,
  currentAuction: '0' }
[11:06:18.526] [verbose] Converter status { availableMtn: '1000000000000000000',
  availableEth: '1000000000000000000',
  currentPrice: '333333333333333333' }
[11:06:22.544] [verbose] --> open-wallets:cjdq4mma80001esis3ci8opx5 
[11:06:22.544] [verbose] Supplied password is valid
[11:06:22.547] [verbose] Current best block -1
[11:06:22.550] [verbose] <-- open-wallets:cjdq4mma80001esis3ci8opx5 {"walletIds":["cc7c62a257be3441ed32729eb98fa4f1713f501a3be90e17ca31e951f77306dc"],"activeWallet":"cc7c62a257be3441ed32729eb98fa4f1713f501a3be90e17ca31e951f77306dc"}
[11:06:22.552] [verbose] []
[11:06:22.552] [verbose] <-- Transactions 0xf10826bf57a35ab8c3b5c5c500a80e0ef4b97cc1 0
[11:06:22.565] [verbose] <-- MTN 0xf10826bf57a35ab8c3b5c5c500a80e0ef4b97cc1 0
[11:06:22.581] [debug] ETH balance updated { address: '0xf10826bf57a35ab8c3b5c5c500a80e0ef4b97cc1',
  balance: '0' }
[11:06:22.582] [verbose] <-- Balance 0xf10826bf57a35ab8c3b5c5c500a80e0ef4b97cc1 { balance: '0' }
[11:06:22.830] [debug] Syncing [ '0xf10826bf57a35ab8c3b5c5c500a80e0ef4b97cc1' ] 431765
[11:06:35.722] [verbose] <-- eth-price-updated 930
[11:06:40.284] [verbose] New block header 431766
[11:06:40.303] [verbose] <-- MTN 0xf10826bf57a35ab8c3b5c5c500a80e0ef4b97cc1 0
[11:06:40.363] [verbose] Auction status { genesisTime: 1518370860,
  currentPrice: '590140236436000000',
  tokenRemaining: '7999870226452654492656570',
  nextAuctionStartTime: 1518998400,
  currentAuction: '0' }
[11:06:40.364] [verbose] Converter status { availableMtn: '1000000000000000000',
  availableEth: '1000000000000000000',
  currentPrice: '333333333333333333' }
[11:06:45.313] [verbose] <-- eth-price-updated 929.99
[11:06:56.107] [verbose] <-- eth-price-updated 930
^[[B[11:07:06.126] [verbose] <-- eth-price-updated 930
[11:07:13.199] [verbose] <-- eth-price-updated 930
[11:07:19.856] [verbose] <-- eth-price-updated 930.08
[11:07:22.461] [warn] <-- Error: Could not sync to the latest block { walletId: 'cc7c62a257be3441ed32729eb98fa4f1713f501a3be90e17ca31e951f77306dc' }
[11:07:26.656] [verbose] <-- eth-price-updated 930.09
[11:07:32.499] [verbose] <-- eth-price-updated 930.09
[11:07:37.557] [verbose] <-- eth-price-updated 930.09
gabmontes commented 6 years ago

@jcvernaleo this is just an expected warning but will keep the issue open for further analysis and definitive answer on it.

tparvu commented 6 years ago

Also getting this on macOS.

tparvu commented 6 years ago

Per Slack channel I restarted after I think somebody sent me funds and I don't seem to be getting the error now. I have 10 ETH now! :)

tparvu commented 6 years ago

Spoke too soon, getting the sync error still.