Closed jim618 closed 9 years ago
As noted in #634 we will need to give the user some feedback when a Tor failure is detected.
This is a duplicate of #651 and has the same solution which is covered in #652. I'll mark this as awaiting issue to ensure we don't forget to check this is fixed.
I have (locally) updated to bitcoinj-0.13.1-alice-0.1.3 but am getting the following error when connecting via Tor:
3:56,227] DEBUG [safe-fixed-bitcoin-network-0] o.m.h.c.s.BitcoinNetworkService - Starting blockchain download . . .
[2015-07-31 10:33:56,588] WARN [Thread-6] c.s.o.d.DirectoryImpl - Certificate read for unknown directory authority with identity: 27b6b5996c426270a5c95488aa5bceb6bcc86956
[2015-07-31 10:33:57,923] WARN [Thread-6] c.s.o.d.c.ConsensusDocumentImpl - Consensus signed by unrecognized directory authority: 27b6b5996c426270a5c95488aa5bceb6bcc86956
[2015-07-31 10:34:14,214] WARN [DirectoryDownloadTask worker-0] c.s.o.d.d.DirectoryDownloadTask - Failed to download key certificates: Request /tor/keys/fp-sk/e8a9c45ede6d711294fadf8e7951f4de6ca56b58-86832be318b3775ac21b45d1896dcc92b27f3d8b+ed03bb616eb2f60bec80151114bb25cef515b226-cd7159a8de14bc6bdc7e5e1e51adc89e162fca08+585769c78764d58426b8b52b6651a5a71137189a-6b82b0ec44bd79cb0d1f1bb2a0c597e0fec71ae9+d586d18309ded4cd6d57c18fdb97efa96d330566-3a8218840c58f0f35b1eefaf3c39fe46fbac842b+80550987e1d626e3eba5e5e75a458de0626d088c-414e42cca5f51e7b0c020496ab0f4b7894fcd409+49015f787433103580e3b66a1707a00e60f2d15b-f98e385f2982778f50925f54f832e2fe744b5ed7+efcbe720ab3a82b99f9e953cd5bf50f7eefc7b97-193b238d2e74692fd16fd11404ac661399fc0a65+14c131dfc5c6f93646be72fa1401c02a8df2e8b4-34cabfa62e3f374d0d67f7bd3d104196baef18ba to directory (none) returned error code: 404 Not found
[2015-07-31 10:34:26,420] WARN [DirectoryDownloadTask worker-0] c.s.o.d.d.DirectoryDownloadTask - Failed to download key certificates: Request /tor/keys/fp-sk/e8a9c45ede6d711294fadf8e7951f4de6ca56b58-86832be318b3775ac21b45d1896dcc92b27f3d8b+ed03bb616eb2f60bec80151114bb25cef515b226-cd7159a8de14bc6bdc7e5e1e51adc89e162fca08+585769c78764d58426b8b52b6651a5a71137189a-6b82b0ec44bd79cb0d1f1bb2a0c597e0fec71ae9+d586d18309ded4cd6d57c18fdb97efa96d330566-3a8218840c58f0f35b1eefaf3c39fe46fbac842b+80550987e1d626e3eba5e5e75a458de0626d088c-414e42cca5f51e7b0c020496ab0f4b7894fcd409+49015f787433103580e3b66a1707a00e60f2d15b-f98e385f2982778f50925f54f832e2fe744b5ed7+efcbe720ab3a82b99f9e953cd5bf50f7eefc7b97-193b238d2e74692fd16fd11404ac661399fc0a65+14c131dfc5c6f93646be72fa1401c02a8df2e8b4-34cabfa62e3f374d0d67f7bd3d104196baef18ba to directory (none) returned error code: 404 Not found
[2015-07-31 10:34:47,844] WARN [DirectoryDownloadTask worker-0] c.s.o.d.d.DirectoryDownloadTask - Failed to download key certificates: Request /tor/keys/fp-sk/e8a9c45ede6d711294fadf8e7951f4de6ca56b58-86832be318b3775ac21b45d1896dcc92b27f3d8b+ed03bb616eb2f60bec80151114bb25cef515b226-cd7159a8de14bc6bdc7e5e1e51adc89e162fca08+585769c78764d58426b8b52b6651a5a71137189a-6b82b0ec44bd79cb0d1f1bb2a0c597e0fec71ae9+d586d18309ded4cd6d57c18fdb97efa96d330566-3a8218840c58f0f35b1eefaf3c39fe46fbac842b+80550987e1d626e3eba5e5e75a458de0626d088c-414e42cca5f51e7b0c020496ab0f4b7894fcd409+49015f787433103580e3b66a1707a00e60f2d15b-f98e385f2982778f50925f54f832e2fe744b5ed7+efcbe720ab3a82b99f9e953cd5bf50f7eefc7b97-193b238d2e74692fd16fd11404ac661399fc0a65+14c131dfc5c6f93646be72fa1401c02a8df2e8b4-34cabfa62e3f374d0d67f7bd3d104196baef18ba to directory (none) returned error code: 404 Not found
[2015-07-31 10:34:56,358] ERROR [PeerGroup Thread] o.b.c.PeerGroup - Exception when starting up ! java.lang.RuntimeException: java.util.concurrent.TimeoutException
! at org.bitcoinj.core.PeerGroup$7.run(PeerGroup.java:881) ~[bitcoinj-core-0.13.1-alice-0.1.3.jar:na]
! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_40]
! at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_40]
! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_40]
! at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_40]
! at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_40]
! at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_40]
! at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_40]
! at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_40]
! at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:35) [bitcoinj-core-0.13.1-alice-0.1.3.jar:na]
! at java.lang.Thread.run(Thread.java:724) [na:1.7.0_40]
Caused by: ! java.util.concurrent.TimeoutException: null
! at com.subgraph.orchid.TorClient.waitUntilReady(TorClient.java:126) ~[orchid-1.1.1.jar:na]
! at org.bitcoinj.core.PeerGroup$7.run(PeerGroup.java:879) ~[bitcoinj-core-0.13.1-alice-0.1.3.jar:na]
!... 10 common frames omitted
As the bump to bitcoinj 0.13.2 has not fixed this we've agreed to remove Tor support until it is fixed.
I have removed Tor support from:
It is stillin the localisation file and Configuration so that when we put it back we will still have any localisations and previous settings.
Awaiting review and closing.
Confirmed that I'm seeing the same Tor messages on several different networks and operating systems. It's got to come out of Labs since it's not close to production quality at the moment. Still we have all the code so it can go back in once we're happy it's all working again.
Closing.
Link to website issue for reference (see Website #248)