Bitcoin Forum

Bitcoin => Armory => Topic started by: BTCetera on November 19, 2013, 06:51:37 AM



Title: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on November 19, 2013, 06:51:37 AM
On windows 7 x64, I fire up Armory, it synchronizes for a few minutes, goes offline for a couple more, then starts syncing again. Like this:

Code:
2013-11-18 21:15 (INFO) -- ArmoryQt.py:1129 - Setting up networking...
2013-11-18 21:15 (INFO) -- ArmoryQt.py:1182 - Internet connection is Available: True
2013-11-18 21:15 (INFO) -- ArmoryQt.py:1183 - Bitcoin-Qt/bitcoind is Available: 0
2013-11-18 21:15 (INFO) -- ArmoryQt.py:1190 - startBitcoindIfNecessary
2013-11-18 21:15 (INFO) -- ArmoryQt.py:1220 - setSatoshiPaths
2013-11-18 21:15 (INFO) -- armoryengine.pyc:10441 - Found bitcoind in the following places:
2013-11-18 21:15 (INFO) -- armoryengine.pyc:10443 -    C:\Program Files (x86)\Bitcoin\daemon\bitcoind.exe
2013-11-18 21:15 (INFO) -- armoryengine.pyc:10445 - Using: C:\Program Files (x86)\Bitcoin\daemon\bitcoind.exe
2013-11-18 21:15 (INFO) -- armoryengine.pyc:648 - Executing popen: ['icacls', u'C:\\Bitcoin\\bitcoin.conf', '/inheritance:r', '/grant:r', 'master:F']
2013-11-18 21:15 (INFO) -- armoryengine.pyc:10614 - icacls returned: processed file: C:\Bitcoin\bitcoin.conf

Successfully processed 1 files; Failed processing 0 files

2013-11-18 21:15 (INFO) -- armoryengine.pyc:10668 - Called startBitcoind
2013-11-18 21:15 (INFO) -- armoryengine.pyc:648 - Executing popen: ['C:\\Program Files (x86)\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=C:\\Bitcoin']
2013-11-18 21:15 (INFO) -- armoryengine.pyc:10711 - PID of bitcoind: 78580
2013-11-18 21:15 (INFO) -- armoryengine.pyc:10712 - PID of armory:   73624
2013-11-18 21:15 (INFO) -- armoryengine.pyc:648 - Executing popen: ['C:\\Program Files (x86)\\Armory\\Armory Bitcoin Client\\guardian.exe', '73624', '78580']
2013-11-18 21:15 (INFO) -- ArmoryQt.py:760 - setupUriRegistration
2013-11-18 21:15 (INFO) -- ArmoryQt.py:799 - Armory already registered for current user.  Done!
2013-11-18 21:15 (INFO) -- armoryengine.pyc:10870 - Creating proxy in SDM: host=127.0.0.1, port=8332
2013-11-18 21:15 (INFO) -- ArmoryQt.py:4067 - Dashboard switched to auto-InitSync
2013-11-18 21:15 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:InitializingLongTime
2013-11-18 21:15 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-18 21:15 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"
2013-11-18 21:15 (INFO) -- ArmoryQt.py:530 - Usermode: Advanced
2013-11-18 21:15 (INFO) -- ArmoryQt.py:964 - Changing usermode:
2013-11-18 21:15 (INFO) -- ArmoryQt.py:965 -    From: Advanced
2013-11-18 21:15 (INFO) -- ArmoryQt.py:973 -      To: Advanced
2013-11-18 21:15 (ERROR) -- ArmoryQt.py:1045 - Could not access latest Armory version information
2013-11-18 21:15 (ERROR) -- ArmoryQt.py:1046 - Tried: http://bitcoinarmory.com/versions.txt
2013-11-18 21:16 (ERROR) -- ArmoryQt.py:1045 - Could not access latest Armory version information
2013-11-18 21:16 (ERROR) -- ArmoryQt.py:1046 - Tried: http://bitcoinarmory.com/versions.txt
2013-11-18 21:16 (ERROR) -- ArmoryQt.py:1045 - Could not access latest Armory version information
2013-11-18 21:16 (ERROR) -- ArmoryQt.py:1046 - Tried: http://bitcoinarmory.com/versions.txt
2013-11-18 21:24 (INFO) -- ArmoryQt.py:4067 - Dashboard switched to auto-InitSync
2013-11-18 21:24 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
2013-11-18 21:24 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-18 21:24 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"
2013-11-18 21:26 (INFO) -- ArmoryQt.py:4059 - Dashboard switched to auto-BadConnection
2013-11-18 21:26 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:OfflineBadConnection
2013-11-18 21:26 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"
2013-11-18 21:27 (INFO) -- ArmoryQt.py:4067 - Dashboard switched to auto-InitSync
2013-11-18 21:27 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
2013-11-18 21:27 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-18 21:27 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"
2013-11-18 21:27 (INFO) -- ArmoryQt.py:4059 - Dashboard switched to auto-BadConnection
2013-11-18 21:27 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:OfflineBadConnection
2013-11-18 21:27 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"
2013-11-18 21:29 (INFO) -- ArmoryQt.py:4067 - Dashboard switched to auto-InitSync
2013-11-18 21:29 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
2013-11-18 21:29 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-18 21:29 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"
2013-11-18 21:30 (INFO) -- ArmoryQt.py:4059 - Dashboard switched to auto-BadConnection
2013-11-18 21:30 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:OfflineBadConnection
2013-11-18 21:30 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"
2013-11-18 21:33 (INFO) -- ArmoryQt.py:4067 - Dashboard switched to auto-InitSync
2013-11-18 21:33 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
2013-11-18 21:33 (INFO) -- ArmoryQt.py:3541 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-18 21:33 (INFO) -- ArmoryQt.py:3483 - Switching Armory functional mode to "Offline"

PS: These errors are because http://bitcoinarmory.com/versions.txt is actually (at least right now) a 404:

Code:
2013-11-18 21:15 (ERROR) -- ArmoryQt.py:1045 - Could not access latest Armory version information
2013-11-18 21:15 (ERROR) -- ArmoryQt.py:1046 - Tried: http://bitcoinarmory.com/versions.txt

Bitcoin-Qt has no problem syncing without interruptions, as I ran it standalone and it shows no hiccups.

I have no RPC related errors or warnings in the event log. Google shows less than 10 (irrelevant) results for rpc+bitcoin+armory+offline. I don't understand RPC enough to know where to start. It could be the problem isn't even RPC between the two.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: goatpig on November 19, 2013, 07:37:49 AM
What version of Armory did this occur on?


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on November 19, 2013, 08:07:11 AM
What version of Armory did this occur on?


Sorry, I should have informed this in the OP - there are people out there who would report a problem while running an out of date version. It is 0.88-1beta.

Code:
telnet 127.0.0.1 8332
DOES connect while armory is telling me it's offline.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: goatpig on November 19, 2013, 08:39:42 AM
Your version kind of is out of date.

https://bitcointalk.org/index.php?topic=299684.0

Try this one out and let me know if the issue still occurs.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on November 19, 2013, 03:05:25 PM
Your version kind of is out of date.

https://bitcointalk.org/index.php?topic=299684.0

Try this one out and let me know if the issue still occurs.

I was running the the recommended latest version b/c testing releases are not considered latest, AFAIK. But I installed it and I still have the same problem:

Code:
2013-11-19 06:47 (INFO) -- armoryengine.pyc:805 - 
2013-11-19 06:47 (INFO) -- armoryengine.pyc:806 -
2013-11-19 06:47 (INFO) -- armoryengine.pyc:807 -
2013-11-19 06:47 (INFO) -- armoryengine.pyc:808 - ************************************************************
2013-11-19 06:47 (INFO) -- armoryengine.pyc:809 - Invoked: C:\Program Files (x86)\Armory\ArmoryQt.exe --datadir=C:\Wallets\Armory
2013-11-19 06:47 (INFO) -- armoryengine.pyc:810 - ************************************************************
2013-11-19 06:47 (INFO) -- armoryengine.pyc:811 - Loading Armory Engine:
2013-11-19 06:47 (INFO) -- armoryengine.pyc:812 -    Armory Version        : 0.89.99.14
2013-11-19 06:47 (INFO) -- armoryengine.pyc:813 -    PyBtcWallet  Version  : 1.35
2013-11-19 06:47 (INFO) -- armoryengine.pyc:814 - Detected Operating system: Windows
2013-11-19 06:47 (INFO) -- armoryengine.pyc:815 -    OS Variant            : 7-6.1.7601-SP1-Multiprocessor Free
2013-11-19 06:47 (INFO) -- armoryengine.pyc:816 -    User home-directory   : C:\Users\admin\AppData\Roaming
2013-11-19 06:47 (INFO) -- armoryengine.pyc:817 -    Satoshi BTC directory : C:\Users\admin\AppData\Roaming\Bitcoin\
2013-11-19 06:47 (INFO) -- armoryengine.pyc:818 -    Armory home dir       : C:\Wallets\Armory
2013-11-19 06:47 (INFO) -- armoryengine.pyc:819 - Detected System Specs    :
2013-11-19 06:47 (INFO) -- armoryengine.pyc:820 -    Total Available RAM   : 7.78 GB
2013-11-19 06:47 (INFO) -- armoryengine.pyc:821 -    CPU ID string         : Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
2013-11-19 06:47 (INFO) -- armoryengine.pyc:822 -    Number of CPU cores   : 4 cores
2013-11-19 06:47 (INFO) -- armoryengine.pyc:823 -    System is 64-bit      : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:824 -    Preferred Encoding    : cp1252
2013-11-19 06:47 (INFO) -- armoryengine.pyc:825 -
2013-11-19 06:47 (INFO) -- armoryengine.pyc:826 - Network Name: Main Network
2013-11-19 06:47 (INFO) -- armoryengine.pyc:827 - Satoshi Port: 8333
2013-11-19 06:47 (INFO) -- armoryengine.pyc:828 - Named options/arguments to armoryengine.py:
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     maxOpenFiles    : 0
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     nettimeout      : 2
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     rescan          : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     leveldbDir      : DEFAULT
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     port            : None
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     interport       : 8223
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     coverageOutputDir: None
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     rebuild         : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     datadir         : C:\Wallets\Armory
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     offline         : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     satoshiPort     : DEFAULT
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     netlog          : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     keypool         : 100
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     coverageInclude : None
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     forceOnline     : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     logDisable      : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     mtdebug         : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     skipVerCheck    : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     settingsPath    : C:\Wallets\Armory\ArmorySettings.txt
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     verbosity       : None
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     doDebug         : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     testnet         : False
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     rpcport         : DEFAULT
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     satoshiHome     : DEFAULT
2013-11-19 06:47 (INFO) -- armoryengine.pyc:830 -     logFile         : C:\Wallets\Armory\ArmoryQt.exe.log.txt
2013-11-19 06:47 (INFO) -- armoryengine.pyc:831 - Other arguments:
2013-11-19 06:47 (INFO) -- armoryengine.pyc:834 - ************************************************************
2013-11-19 06:47 (INFO) -- armoryengine.pyc:1040 - C++ block utilities loaded successfully
2013-11-19 06:47 (INFO) -- armoryengine.pyc:13506 - Using the asynchronous/multi-threaded BlockDataManager.
2013-11-19 06:47 (INFO) -- armoryengine.pyc:13507 - Blockchain operations will happen in the background. 
2013-11-19 06:47 (INFO) -- armoryengine.pyc:13508 - Devs: check TheBDM.getBDMState() before asking for data.
2013-11-19 06:47 (INFO) -- armoryengine.pyc:13509 - Registering addresses during rescans will queue them for
2013-11-19 06:47 (INFO) -- armoryengine.pyc:13510 - inclusion after the current scan is completed.
2013-11-19 06:47 (INFO) -- armoryengine.pyc:11560 - Using settings file: C:\Wallets\Armory\ArmorySettings.txt
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1633 - loadWalletsAndSettings
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1680 - Loading wallets...
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1728 - Number of wallets read in: 1
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1733 -    Wallet (2MTiHVseP):   "BTC Wallet (Watch)              "   (No Encryption)
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1311 - Setting up networking...
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1364 - Internet connection is Available: True
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1365 - Bitcoin-Qt/bitcoind is Available: 0
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1366 - The first blk*.dat was Available: False
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1367 - Online mode currently possible:   0
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1374 - startBitcoindIfNecessary
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1405 - setSatoshiPaths
2013-11-19 06:47 (INFO) -- armoryengine.pyc:10968 - Found bitcoind in the following places:
2013-11-19 06:47 (INFO) -- armoryengine.pyc:10970 -    C:\Program Files (x86)\Bitcoin\daemon\bitcoind.exe
2013-11-19 06:47 (INFO) -- armoryengine.pyc:10972 - Using: C:\Program Files (x86)\Bitcoin\daemon\bitcoind.exe
2013-11-19 06:47 (INFO) -- armoryengine.pyc:11124 - Reading bitcoin.conf file
2013-11-19 06:47 (INFO) -- armoryengine.pyc:11143 - Setting permissions on bitcoin.conf
2013-11-19 06:47 (INFO) -- armoryengine.pyc:625 - Executing popen: ['icacls', u'C:\\Bitcoin\\bitcoin.conf', '/inheritance:r', '/grant:r', 'admin:F']
2013-11-19 06:47 (INFO) -- armoryengine.pyc:11148 - icacls returned: processed file: C:\Bitcoin\bitcoin.conf

Successfully processed 1 files; Failed processing 0 files


2013-11-19 06:47 (INFO) -- armoryengine.pyc:11205 - Called startBitcoind
2013-11-19 06:47 (INFO) -- armoryengine.pyc:625 - Executing popen: ['C:\\Program Files (x86)\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=C:\\Bitcoin']
2013-11-19 06:47 (INFO) -- armoryengine.pyc:11248 - PID of bitcoind: 84008
2013-11-19 06:47 (INFO) -- armoryengine.pyc:11249 - PID of armory:   80544
2013-11-19 06:47 (INFO) -- armoryengine.pyc:625 - Executing popen: ['C:\\Program Files (x86)\\Armory\\guardian.exe', '80544', '84008']
2013-11-19 06:47 (INFO) -- ArmoryQt.py:877 - setupUriRegistration
2013-11-19 06:47 (WARNING) -- ArmoryQt.py:925 - running from: C:\Program Files (x86)\Armory\ArmoryQt.exe, key: "C:\Program Files (x86)\Armory\ArmoryQt.exe" %1
2013-11-19 06:47 (INFO) -- ArmoryQt.py:984 - URL-register action: DoIt
2013-11-19 06:47 (INFO) -- ArmoryQt.py:987 - Registering Armory  for current user
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1001 - Writing key: [HKEY_CURRENT_USER\] Software\Classes\bitcoin\
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1001 - Writing key: [HKEY_CURRENT_USER\] Software\Classes\bitcoin\URL Protocol
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1001 - Writing key: [HKEY_CURRENT_USER\] Software\Classes\bitcoin\shell\
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1001 - Writing key: [HKEY_CURRENT_USER\] Software\Classes\bitcoin\shell\open\
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1001 - Writing key: [HKEY_CURRENT_USER\] Software\Classes\bitcoin\shell\open\command\
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1001 - Writing key: [HKEY_CURRENT_USER\] Software\Classes\bitcoin\DefaultIcon\
2013-11-19 06:47 (WARNING) -- ArmoryQt.py:1006 - app dir: C:\Program Files (x86)\Armory
2013-11-19 06:47 (INFO) -- armoryengine.pyc:11410 - Creating proxy in SDM: host=127.0.0.1, port=8332
2013-11-19 06:47 (INFO) -- ArmoryQt.py:4364 - Dashboard switched to auto-InitSync
2013-11-19 06:47 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:InitializingLongTime
2013-11-19 06:47 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-19 06:47 (INFO) -- ArmoryQt.py:3779 - Switching Armory functional mode to "Offline"
2013-11-19 06:47 (INFO) -- ArmoryQt.py:532 - Usermode: Advanced
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1144 - Changing usermode:
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1145 -    From: Advanced
2013-11-19 06:47 (INFO) -- ArmoryQt.py:1153 -      To: Advanced
2013-11-19 06:47 (ERROR) -- ArmoryQt.py:1225 - Could not access latest Armory version information
2013-11-19 06:47 (ERROR) -- ArmoryQt.py:1226 - Tried: http://bitcoinarmory.com/versions.txt
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (WARNING) -- armoryengine.pyc:11333 - Overriding not-available message. This should happen 0-5 times
2013-11-19 06:57 (INFO) -- ArmoryQt.py:4356 - Dashboard switched to auto-BadConnection
2013-11-19 06:57 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:OfflineBadConnection
2013-11-19 06:57 (INFO) -- ArmoryQt.py:3779 - Switching Armory functional mode to "Offline"
2013-11-19 06:57 (INFO) -- ArmoryQt.py:4364 - Dashboard switched to auto-InitSync
2013-11-19 06:57 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
2013-11-19 06:57 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-19 06:57 (INFO) -- ArmoryQt.py:3779 - Switching Armory functional mode to "Offline"
2013-11-19 06:59 (INFO) -- ArmoryQt.py:4356 - Dashboard switched to auto-BadConnection
2013-11-19 06:59 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:OfflineBadConnection
2013-11-19 06:59 (INFO) -- ArmoryQt.py:3779 - Switching Armory functional mode to "Offline"
2013-11-19 07:02 (INFO) -- ArmoryQt.py:4364 - Dashboard switched to auto-InitSync
2013-11-19 07:02 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
2013-11-19 07:02 (INFO) -- ArmoryQt.py:3837 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2013-11-19 07:02 (INFO) -- ArmoryQt.py:3779 - Switching Armory functional mode to "Offline"



Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: goatpig on November 19, 2013, 08:25:54 PM
The current testing version is actually very stable and entirely better than the latest release. It has even posted on the official website. This is confusing admittedly.

Do you have a bitcoin.conf set? Do you restrict the amount of nodes that can connect to you? Armory doesn't connect to the RPC, it connects as a node through localhost. Also, which version of the bitcoin client are you running?


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on November 20, 2013, 04:32:44 AM
The current testing version is actually very stable and entirely better than the latest release. It has even posted on the official website. This is confusing admittedly.

Do you have a bitcoin.conf set? Do you restrict the amount of nodes that can connect to you? Armory doesn't connect to the RPC, it connects as a node through localhost. Also, which version of the bitcoin client are you running?

Bitcooin-Qt is 0.8.5. (I never installed Bitcooin-Qt by itself - only what Armory provided)

bitcoin.conf is default. Never touched it.

I noticed that bitcoind listens on localhost:8332, but Armory's error message (below) led me to believe I had an RPC problem.

Code:
if state == 'OfflineBadConnection':
            return ( \
            'Armory has experienced an issue trying to communicate with the '
            'Bitcoin software.  The software is running in the background, '
            'but Armory cannot communicate with it through RPC as it expects '
            'to be able to.  If you changed any settings in the Bitcoin home '
            'directory, please make sure that RPC is enabled and that it is '
            'accepting connections from localhost. 


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on November 23, 2013, 03:34:11 PM
bitcoin.conf contains only the user/pword.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: etotheipi on November 23, 2013, 03:43:15 PM
bitcoin.conf is default. Never touched it.

I noticed that bitcoind listens on localhost:8332, but Armory's error message (below) led me to believe I had an RPC problem.

Actually, when you use auto-bitcoind (the default), Armory does use RPC to connect to it and determine the current synchronization state.  If you manage Bitcoin-Qt yourself (disable the first checkbox in the settings), RPC is never used.  For people with problems like these, I recommend disabling auto-bitcoind in the settings and try running it separately.  Just make sure Bitcoin-Qt/bitcoind are fully synchronized before starting Armory.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on November 23, 2013, 04:37:35 PM
Thank you, Alan. I got it working now. If you need ANY assistance troubleshooting why this occurs, let me know.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on November 24, 2013, 03:13:47 PM
Actually, I claimed it too early. Now that I'm in sync again (was 11 days behind) I got it setup as recommended. Armory-Qt shows Preparing stuck at 1% and the armory icon brings up a balloon in the system tray showing one second "connected", then "disconnected", then "connected" again, ad infinitum.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on December 05, 2013, 10:26:32 PM
Gave it another try today. "Preparing" is working, but they still disconnect/connect every 3 seconds or so. The new thing I've noticed is that Armory-Qt does not show offline in the main window - it only keeps chugging along with "Preparing". The disconnect/connect notices come from the tray icon only.


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: goatpig on December 05, 2013, 10:42:14 PM
Gave it another try today. "Preparing" is working, but they still disconnect/connect every 3 seconds or so...

With Armory running, go to File > Export log file, and email it to us at support@bitcoinarmory.com


Title: Re: Armory<->Bitcoin-Qt RPC Fails Intermittently
Post by: BTCetera on December 06, 2013, 01:37:56 AM
Update: now that the DB is done syncing, the disconnect/connect notice now shows on armory itself (along with the system tray)