Bitcoin Forum
May 06, 2024, 11:44:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory either "Connected (0 blocks)", “Node offline (0 blocks)” or "Offline"  (Read 115 times)
Nicoerdannicoer (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 12


View Profile
October 10, 2021, 09:01:05 AM
Merited by o_e_l_e_o (4), ABCbits (1), Pmalek (1)
 #1

Dear,

For a while now I am unable to run Armory successfully to gain access to by BTC.
Full situation description below (sorry for being lengthy and using non-technical language).

Running:
Armory 0.96.5
Bitcoin Core 0.21.1
(on Windows 10)

Bitcon Core (BC) is running and seems completely synced.
Armory wallet shows up in available wallets, but does not seem to connect with BC.
Bottom right corner in Armory has shown: "Connected (0 blocks)" in purple, “Node offline (0 blocks)” in red, and “Offline” in red. But never “connected ([xx number xx] blocks)”.

While trouble shooting I tried:

- Uninstalling both BC and Armory + deleting all Armory and BC data files under "C:\Users\USER\AppData\Roaming", and reinstalling both apps. Then only reusing the "blocks", "chainstate" and "databases" files for BC (not looking forward to downloading them again).
- Starting up BC, all seems all right, asking me to create new wallet. BC is not syncing anymore, so seems to be synced as it should be?
- When staring up Armory,  a windows popup showed:
"Disconnected
Connection to bitcoin core is lost! Armory cannot send nor receive bitcoins until connection is reestablished."
- Restoring and mirroring wallet seemed fine
- Armory shows "Armory is online!"
- And the transaction tab is accessible
- But the lower right corner shows "Connected (0 blocks)" in purple, which doesn’t seem right.
- Double checked the directories in Armory settings, which seemed to be set correctly.
- No actions seemed to change the situation.

- Rebooted Armory.
Now the bottom right corner below shows:
"Offline"
The centre of the interface shows:
"Node status" bar = fully green
"Build Databases" bar = fully green
"Scanning transaction History" bar = gray (Which stays static)
- Also the transaction tab is not accessible anymore

- Closed down both apps
- Opened BC first, then Armory
- When staring up Armory, the windows popup again showed:
"Disconnected
Connection to bitcoin core is lost! Armory cannot send nor receive bitcoins until connection is reestablished."
- Armory interface is the same, but the bottom right corner shows “Node offline (0 blocks)”.

- Rebooted Armory (with BC open)
- No windows pupup with connection problem message anymore
- Armory interface is the same, but there is a disk sign next to the green "Build Databases" bar, and the bottom right corner shows “Offline”

- Kept rebooting BC and Armory several times, and starting it up in different orders.
- No windows connection problem popup anymore
- Armory interface is the same, but without the disk sign next to the green "Build Databases" bar. Bottom right corner keeps showing “Offline”.

Executed the process above similarly two times with same result.

Also tried:
- Rebooting computer several times (including again deleting Armory files and logs, and restoring wallet).
- As there seem to be a problem with Armory connecting to BC I experimented with the Armory directory setting. But this wasn’t successful.
Still, as the windows popup shows the connection problem immediately when starting Armory, the problem is more likely to originate from somewhere else.

Armory log: https://pastebin.com/f2YiWi1P

Would be very grateful for you helping me out!
1714995846
Hero Member
*
Offline Offline

Posts: 1714995846

View Profile Personal Message (Offline)

Ignore
1714995846
Reply with quote  #2

1714995846
Report to moderator
1714995846
Hero Member
*
Offline Offline

Posts: 1714995846

View Profile Personal Message (Offline)

Ignore
1714995846
Reply with quote  #2

1714995846
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714995846
Hero Member
*
Offline Offline

Posts: 1714995846

View Profile Personal Message (Offline)

Ignore
1714995846
Reply with quote  #2

1714995846
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
October 11, 2021, 03:24:13 AM
Merited by o_e_l_e_o (4), ABCbits (3)
 #2

First, restart your PC so any lingering background process will close; armorydb usually stays running in the backgound causing issues,
Alternatively, force close armorydb in 'Task Manager' after closing Armory.

Next, add server=1 to your bitcoin.conf file in Bitcoin's data directory (C:\Users\USER\AppData\roaming\bitcoin) so Armory can communicate with bitcoin-qt's RPC.
You can open the ".conf" file using a text editor, type that setting, then save it.

Lastly, disable "pruning" in your Bitcoin Core's settings (Settings->Options...->Prune block storage to) and bitcoin.conf file so the older blocks wont be deleted.
This will require you to re-download and verify the blockchain (re-sync).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
October 13, 2021, 02:12:59 AM
 #3

Code:
-ERROR - 09:57:27.140: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1503) Headers DB has no block at height: 0
-ERROR - 09:57:27.140: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1483) No headers at height 0
-ERROR - 09:57:27.156: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 09:57:27.156: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 09:57:27.156: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #4294967295
Looking at the error messages from your ArmoryDB log file, it seems that your Bitcoin Core node is running in "pruned" mode... Unfortunately, Armory will not be able to work correctly with a pruned Bitcoin Core node.

Do as nc50lc has suggested and ensure that Bitcoin Core is not pruned... and then get Bitcoin Core fully synced. Note that this will require ~400+ Gigs of free storage space for Bitcoin Core to download and store the block data.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Nicoerdannicoer (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 12


View Profile
October 13, 2021, 05:15:19 PM
Merited by HCP (2)
 #4

Thanks @nc50lc and @HCP!

Did as suggested, and am currently downloading blockchain again.

Ill post the result when finished.
Nicoerdannicoer (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 12


View Profile
October 19, 2021, 11:27:48 AM
Merited by ABCbits (1), Pmalek (1), nc50lc (1), RickDeckard (1)
 #5

Worked out great guys!
The pruning option in BitconCore was the problem indeed.
Thanks so much!


Just a note for possible other noobies like me:

Without pruning, my internal laptop SSD did not have sufficient space, and my external HD was not fast enough to facilitate the block validation in a reasonable time.
Therefore I got a new external SSD (with reading and writing speeds of 1050 and 1000 mb/s respectively). Sure an SSD with half that speed would be sufficient as well. But, in my case the download and validation of the blockchain took only <2 days on the external SSD, instead of a few weeks on the external HD.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!