Title: [SOLVED] Armory 0.96.2 always says "Node offline"
Post by: orium on September 20, 2017, 09:52:45 PM
Hi everyone, I just upgraded to 0.96.2 but it always says "Node offline". I'm running Bitcoin Core 0.15.0.1. I'm not sure if this is some compatibility with 0.15, but there is a thread that says it shouldn't be a problem (https://bitcointalk.org/index.php?topic=2170721.0 (https://bitcointalk.org/index.php?topic=2170721.0)). When I start armory it does the blockchain scanning and after that is completed it immediatly gives a pop-up saying it lost connection with the bitcoin core daemon. This is weird because if I do "bitcoin-cli getpeerinfo" I can see that it is connected to it (but after a few minutes armory disconnects). armorylog.txt: 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1147 - C++ block utilities loaded successfully 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:672 - Executing popen: free -m 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:672 - Executing popen: ['cat', '/proc/cpuinfo'] 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1264 - 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1265 - 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1266 - 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1267 - ************************************************************ 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1268 - Invoked: /usr/bin/../lib/armory/ArmoryQt.py 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1269 - ************************************************************ 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1270 - Loading Armory Engine: 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1271 - Armory Version : 0.96.2 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1272 - Armory Build: : None 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1273 - PyBtcWallet Version : 1.35 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1274 - Detected Operating system: Linux 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1275 - OS Variant : -- 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1276 - User home-directory : /home/orium 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1277 - Satoshi BTC directory : /home/orium/.bitcoin 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1278 - Armory home dir : /home/orium/.armory/ 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1279 - Detected System Specs : 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1280 - Total Available RAM : 15.59 GB 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1281 - CPU ID string : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1282 - Number of CPU cores : 8 cores 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1283 - System is 64-bit : True 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1284 - Preferred Encoding : UTF-8 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1285 - Machine Arch : x86_64 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1286 - Available HDD (ARM) : 209 GB 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1287 - Available HDD (BTC) : 209 GB 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1288 - 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1289 - Network Name: Main Network 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1290 - Satoshi Port: 8333 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1291 - Do wlt check: True 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1292 - Named options/arguments to armoryengine.py: 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - thread_count : -1 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - rescan : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - ignoreAllZC : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - rescanBalance : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - disableModules : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - port : None 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - interport : 8223 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - coverageOutputDir: None 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - forceWalletCheck: False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - regtest : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - rebuild : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - nettimeout : 2 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - datadir : DEFAULT 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - clearMempool : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - offline : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - armoryDBDir : DEFAULT 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - armorydb_port : 9001 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - satoshiPort : DEFAULT 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - useTorSettings : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - netlog : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - keypool : 100 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - coverageInclude : None 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - forceOnline : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - redownload : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - rpcBindAddr : 127.0.0.1 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - armorydb_ip : 127.0.0.1 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - multisigFile : DEFAULT 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - ram_usage : -1 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - mtdebug : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - logDisable : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - settingsPath : /home/orium/.armory/ArmorySettings.txt 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - language : en 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - db_type : DB_FULL 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - doDebug : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - enableDetSign : True 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - disableConfPermis: False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - testnet : False 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - rpcport : DEFAULT 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - satoshiHome : DEFAULT 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - satoshiRpcport : DEFAULT 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - logFile : /home/orium/.armory/ArmoryQt.py.log.txt 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1294 - verbosity : None 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1295 - Other arguments: 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1298 - ************************************************************ 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:1701 - C++ block utilities loaded successfully 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:3562 - Using settings file: /home/orium/.armory/ArmorySettings.txt 2017-09-20 22:44:52 (ERROR) -- ArmoryUtils.py:3719 - Unsupported language specified. Defaulting to English (en) 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:3722 - Using Language: en 2017-09-20 22:44:52 (INFO) -- BDM.py:355 - Using the asynchronous/multi-threaded BlockDataManager. 2017-09-20 22:44:52 (INFO) -- BDM.py:356 - Blockchain operations will happen in the background. 2017-09-20 22:44:52 (INFO) -- BDM.py:357 - Devs: check TheBDM.getState() before asking for data. 2017-09-20 22:44:52 (INFO) -- BDM.py:358 - Registering addresses during rescans will queue them for 2017-09-20 22:44:52 (INFO) -- BDM.py:359 - inclusion after the current scan is completed. 2017-09-20 22:44:52 (INFO) -- ArmoryUtils.py:3562 - Using settings file: /home/orium/.armory/ArmorySettings.txt 2017-09-20 22:44:52 (INFO) -- ArmoryQt.py:2061 - loadWalletsAndSettings 2017-09-20 22:44:52 (INFO) -- ArmoryQt.py:2121 - Loading wallets... 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:2186 - Number of wallets read in: 2 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:2191 - Wallet (hpUzTUc7): "main " (Encrypted) 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:2191 - Wallet (2ujdxyzNB): "main-old " (Encrypted) 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:2196 - Loading Multisig Lockboxes 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1763 - acquiring process mutex... 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1395 - setupUriRegistration 2017-09-20 22:44:53 (INFO) -- ArmoryUtils.py:672 - Executing popen: gconftool-2 --get /desktop/gnome/url-handlers/bitcoin/command 2017-09-20 22:44:53 (INFO) -- ArmoryUtils.py:672 - Executing popen: xdg-mime query default x-scheme-handler/bitcoin 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:566 - Usermode: Expert 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1698 - Changing usermode: 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1699 - From: Expert 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1707 - To: Expert 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1836 - startBitcoindIfNecessary 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1872 - setSatoshiPaths 2017-09-20 22:44:53 (INFO) -- ArmoryUtils.py:672 - Executing popen: ['whereis', 'bitcoind'] 2017-09-20 22:44:53 (INFO) -- SDM.py:289 - "whereis" returned: ['/usr/bin/bitcoind'] 2017-09-20 22:44:53 (INFO) -- SDM.py:169 - Found bitcoind in the following places: 2017-09-20 22:44:53 (INFO) -- SDM.py:171 - /usr/bin/bitcoind 2017-09-20 22:44:53 (INFO) -- SDM.py:171 - /usr/bin/bitcoind 2017-09-20 22:44:53 (INFO) -- SDM.py:173 - Using: /usr/bin/bitcoind 2017-09-20 22:44:53 (INFO) -- SDM.py:337 - Called startBitcoind 2017-09-20 22:44:53 (WARNING) -- SDM.py:439 - Spawning bitcoind with command: /usr/bin/bitcoind -datadir=/home/orium/.bitcoin 2017-09-20 22:44:53 (INFO) -- ArmoryUtils.py:672 - Executing popen: ['/usr/bin/bitcoind', '-datadir=/home/orium/.bitcoin'] 2017-09-20 22:44:53 (INFO) -- SDM.py:445 - PID of bitcoind: 18813 2017-09-20 22:44:53 (INFO) -- SDM.py:446 - PID of armory: 18772 2017-09-20 22:44:53 (INFO) -- ArmoryUtils.py:672 - Executing popen: ['python', '/usr/lib/armory/guardian.py', '18772', '18813'] 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1872 - setSatoshiPaths 2017-09-20 22:44:53 (WARNING) -- SDM.py:396 - Spawning DB with command: ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/home/orium/.bitcoin/blocks" --datadir="/home/orium/.armory/" --dbdir="/home/orium/.armory/databases" 2017-09-20 22:44:53 (INFO) -- ArmoryUtils.py:672 - Executing popen: ['ArmoryDB', '--db-type="DB_FULL"', '--cookie', '--satoshi-datadir="/home/orium/.bitcoin/blocks"', '--datadir="/home/orium/.armory/"', '--dbdir="/home/orium/.armory/databases"'] 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1824 - Connecting on port 49404 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1924 - Setting netmode: 1 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1906 - loadBlockchainIfNecessary 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:1924 - Setting netmode: 1 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:53 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:54 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:54 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:54 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:54 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:54 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:55 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:55 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:56 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:57 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:57 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:58 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:58 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:58 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:44:58 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode 2017-09-20 22:45:09 (INFO) -- ArmoryQt.py:5447 - BDM is safe for clean shutdown 2017-09-20 22:45:09 (INFO) -- SDM.py:459 - Called stopBitcoind 2017-09-20 22:45:10 (INFO) -- ArmoryQt.py:5460 - Attempting to close the main window!
dbLog.txt: Log file opened at 22:44:53: /home/orium/.armory/dbLog.txt -INFO - 22:44:53: (main.cpp:32) Running on 8 threads -INFO - 22:44:53: (main.cpp:33) Ram usage level: 4 -INFO - 22:44:53: (BlockUtils.cpp:915) blkfile dir: /home/orium/.bitcoin/blocks -INFO - 22:44:53: (BlockUtils.cpp:916) lmdb dir: /home/orium/.armory/databases -INFO - 22:44:53: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 22:44:53: (BDM_Server.h:263) Listening on port 49404 -INFO - 22:44:53: (BlockUtils.cpp:1108) Executing: doInitialSyncOnLoad -INFO - 22:44:53: (DatabaseBuilder.cpp:199) Reading headers from db -INFO - 22:44:53: (BDM_Server.cpp:1114) registered bdv: e1e4be7447f539b4cfe0 -INFO - 22:44:55: (DatabaseBuilder.cpp:238) Found 486206 headers in db -INFO - 22:44:56: (DatabaseBuilder.cpp:64) Rewinding 100 blocks -INFO - 22:44:56: (DatabaseBuilder.cpp:71) updating HEADERS db -INFO - 22:44:56: (DatabaseBuilder.cpp:493) Found next block after skipping 1020426bytes -INFO - 22:44:57: (DatabaseBuilder.cpp:281) parsed block file #1004 -INFO - 22:44:57: (Blockchain.cpp:248) Organizing chain -INFO - 22:44:57: (Blockchain.cpp:370) Organized chain in 0s -INFO - 22:44:57: (DatabaseBuilder.cpp:76) updated HEADERS db in 0s -INFO - 22:44:57: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 22:44:57: (DatabaseBuilder.cpp:1231) verifying txfilters integrity -INFO - 22:44:57: (DatabaseBuilder.cpp:1314) done checking txfilters -INFO - 22:44:58: (DatabaseBuilder.cpp:134) scanning new blocks from #486206 to #486206 -INFO - 22:44:58: (BlockchainScanner.cpp:857) scanned block #486206 -INFO - 22:44:58: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 22:44:58: (DatabaseBuilder.cpp:186) scanned new blocks in 0s -INFO - 22:44:58: (DatabaseBuilder.cpp:190) init db in 4s -INFO - 22:44:58: (BDM_supportClasses.cpp:1890) Enabling zero-conf tracking -INFO - 22:44:59: (nodeRPC.cpp:57) RPC connection established -ERROR - 22:45:00: (BitcoinP2P.cpp:1032) caught exception in processDataStackThread: invalid varint size -INFO - 22:45:09: (nodeRPC.cpp:415) Bitcoin server stopping -INFO - 22:45:09: (SocketObject.cpp:355) POLLIN recv return 0 -INFO - 22:45:09: (BDM_Server.cpp:1143) unregistered bdv: e1e4be7447f539b4cfe0 -INFO - 22:45:09: (BDM_Server.cpp:1054) proceeding to shutdown
I have tried it a clean state (i.e. remove my ~/.armory) and the problem persists. Thanks in advance
Title: Re: Armory 0.96.2 always says "Node offline"
Post by: goatpig on September 20, 2017, 10:37:17 PM
I'm running Bitcoin Core 0.15.0.1
Use 0.15 until the fix is out.
Title: Re: Armory 0.96.2 always says "Node offline"
Post by: orium on September 20, 2017, 10:45:46 PM
Use 0.15 until the fix is out.
You mean 0.14? Where you able to reproduce it?
Title: Re: Armory 0.96.2 always says "Node offline"
Post by: goatpig on September 20, 2017, 11:06:41 PM
0.15 is fine. There's a PR for the fix, have to test and merge it.
Title: Re: Armory 0.96.2 always says "Node offline"
Post by: orium on September 21, 2017, 12:00:51 AM
I can confirm that PR https://github.com/goatpig/BitcoinArmory/pull/310 (https://github.com/goatpig/BitcoinArmory/pull/310) indeed solves the issue. Thank you :)
Title: Re: Armory 0.96.2 always says "Node offline"
Post by: goatpig on September 21, 2017, 12:29:42 AM
Good to know.
Title: Re: [SOLVED] Armory 0.96.2 always says "Node offline"
Post by: Mapomme on September 21, 2017, 01:45:55 PM
https://github.com/goatpig/BitcoinArmory/pull/310 certainly is good to know, however... what does it mean ? I have bitcoin v15.0.1 fully synced, armory 0.96.2 running, but node stays offline. How can I not subtract MESSAGE_HEADER_LEN from version payload length #310 ??? Thanks !
Title: Re: [SOLVED] Armory 0.96.2 always says "Node offline"
Post by: PhoenixFire on September 21, 2017, 02:27:37 PM
https://github.com/goatpig/BitcoinArmory/pull/310 certainly is good to know, however... what does it mean ? I have bitcoin v15.0.1 fully synced, armory 0.96.2 running, but node stays offline. How can I not subtract MESSAGE_HEADER_LEN from version payload length #310 ??? Thanks !
It means you need to use bitcoin core 0.15 and not 0.15.0.1 until this is patched in Armory and released.
Title: Re: [SOLVED] Armory 0.96.2 always says "Node offline"
Post by: Mapomme on September 21, 2017, 04:54:18 PM
Fine, thanks, it works !
|