BlockchainCommons / GordianServer-macOS

Tor-protected full-node GordianServer for macOS
Other
63 stars 8 forks source link

BUG: Failed Network Startup Spins Forever #132

Closed shannona closed 2 years ago

shannona commented 2 years ago

I closed #112 because I was no longer able to replicate that particular startup error, which emerged organically through use.

However, I can force a failure of Bitcoin and end up with a different error condition:

If I purposefully break bitcoin, such as

cd Library/Application Support
mv Bitcoin/ Bitcoin-BROKE

I do get a nice message, but then the "starting network ..." (e.g. "starting test ...") spins forever.

Less critical, but since that's a shared directory it could easily be removed by another app (and more generally, I'd be worried this spinning-forever-after-failed-startup-and-error might show up in other failure conditions).

Fonta1n3 commented 2 years ago

https://github.com/Fonta1n3/GordianServer-macOS/commit/695961ab17f98350413b7ca764d4256f17b7f05b should fix this.

shannona commented 2 years ago

Now helpfully says that bitcoin.conf is missing and offers to recreate it, which seems to resolve the issue.