Testing Tor Network Problem
I have been working on getting a working Testing Tor Network. They are all being running on Docker containers within VPC. I am unsure why I am getting the errors I am getting.
Here is my directory authoritative torrc:
TestingTorNetwork 1
AssumeReachable 1
AddressDisableIPv6 1
ControlPort 9051
CookieAuthentication 1
AuthoritativeDirectory 1
V3AuthoritativeDirectory 1
DirPort 7000 IPv4Only
ORPort 9001 IPv4Only
SocksPort 0
TestingDirAuthVoteGuard *
TestingDirAuthVoteHSDir *
Nickname da1
Address xxxx
ContactInfo test@test.com
TestingV3AuthInitialVotingInterval 5
TestingV3AuthInitialVoteDelay 2
TestingV3AuthInitialDistDelay 2
DirAuthority da1 orport=9001 no-v2 v3ident=1CC72477AD100FF86D4277C6DBB4962ED05E91A8 xxxx:7000 80204ABB7162799BC6CCFBC7CF2C4948C3B61CDC
Here is my relay's torrc:
TestingTorNetwork 1
AssumeReachable 1
AddressDisableIPv6 1
ControlPort 9051
CookieAuthentication 1
SocksPort 0
Nickname relay1
Address xxxx
ContactInfo test@test.com
ORPort 9001 IPv4Only
DirAuthority da1 orport=9001 no-v2 v3ident=1CC72477AD100FF86D4277C6DBB4962ED05E91A8 xxxx:7000 80204ABB7162799BC6CCFBC7CF2C4948C3B61CDC
and lastly here is my exit-relay's file:
TestingTorNetwork 1
AssumeReachable 1
AddressDisableIPv6 1
ControlPort 9051
CookieAuthentication 1
SocksPort 0
Nickname exit1
Address xxxx
ContactInfo test@test.com
ORPort 9001 IPv4Only
ExitRelay 1
ExitPolicy accept *:*
DirAuthority da1 orport=9001 no-v2 v3ident=1CC72477AD100FF86D4277C6DBB4962ED05E91A8 xxxx:7000 80204ABB7162799BC6CCFBC7CF2C4948C3B61CDC
For the Directory Authoritative, I have Ports 7000 and 9001 Open. For every other relay just 9001. I have also tested that all of these ports are reachable via telnet. Here is what the logs say from the DA,
Jul 13 18:14:55.003 [notice] Tor 0.4.8.16 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.16, Zlib 1.2.13, Liblzma 5.4.1, Libzstd 1.5.4 and Glibc 2.36 as libc.
Jul 13 18:14:55.003 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
Jul 13 18:14:55.003 [notice] Read configuration file "/etc/tor/torrc".
Jul 13 18:14:55.006 [notice] Based on detected system memory, MaxMemInQueues is set to 1432 MB. You can override this by setting MaxMemInQueues by hand.
Jul 13 18:14:55.006 [notice] By default, Tor does not run as an exit relay. If you want to be an exit relay, set ExitRelay to 1. To suppress this message in the future, set ExitRelay to 0.
Jul 13 18:14:55.006 [warn] You have used DirAuthority or AlternateDirAuthority to specify alternate directory authorities in your configuration. This is potentially dangerous: it can make you look different from all other Tor users, and hurt your anonymity. Even if you've specified the same authorities as Tor uses by default, the defaults could change in the future. Be sure you know what you're doing.
Jul 13 18:14:55.006 [warn] TestingTorNetwork is set. This will make your node almost unusable in the public Tor network, and is therefore only advised if you are building a testing Tor network!
Jul 13 18:14:55.006 [notice] Opening Control listener on 127.0.0.1:9051
Jul 13 18:14:55.006 [notice] Opened Control listener connection (ready) on 127.0.0.1:9051
Jul 13 18:14:55.006 [notice] Opening OR listener on 0.0.0.0:9001
Jul 13 18:14:55.006 [notice] Opened OR listener connection (ready) on 0.0.0.0:9001
Jul 13 18:14:55.006 [notice] Opening Directory listener on 0.0.0.0:7000
Jul 13 18:14:55.006 [notice] Opened Directory listener connection (ready) on 0.0.0.0:7000
Jul 13 18:14:55.000 [notice] Your Tor server's identity key fingerprint is 'da1 80204ABB7162799BC6CCFBC7CF2C4948C3B61CDC'
Jul 13 18:14:55.000 [notice] Your Tor server's identity key ed25519 fingerprint is 'da1 Sg+bHbj4wsD9NgGcmJmbI29KGUIxb/t9zofiDqwVP0U'
Jul 13 18:14:55.000 [warn] Cannot open fingerprint file '/var/lib/tor/.tor/approved-routers'. That's ok.
Jul 13 18:14:55.000 [notice] Updating address for directory authority da1 from 54.245.38.128:7000 to 54.245.38.128:80 based on certificate.
Jul 13 18:14:55.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Jul 13 18:14:55.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Jul 13 18:14:55.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now.
Jul 13 18:14:55.000 [notice] Bootstrapped 0% (starting): Starting
Jul 13 18:14:55.000 [notice] Starting with guard context "default"
Jul 13 18:14:56.000 [notice] Time to vote.
Jul 13 18:14:56.000 [notice] Choosing valid-after time in vote as 2025-07-13 18:15:00: consensus_set=0, last_interval=5
Jul 13 18:14:56.000 [warn] Rejecting vote from 54.245.38.128 with valid-after time of 2025-07-13 18:15:00; we were expecting 2025-07-13 18:14:55
Jul 13 18:14:56.000 [warn] Couldn't store my own vote! (I told myself, 'Bad valid-after time'.)
Jul 13 18:14:56.000 [notice] Time to fetch any votes that we're missing.
Jul 13 18:14:56.000 [notice] We're missing votes from 1 authorities (1CC72477AD100FF86D4277C6DBB4962ED05E91A8). Asking every other authority for a copy.
Jul 13 18:14:56.000 [notice] Time to compute a consensus.
Jul 13 18:14:56.000 [warn] We don't have enough votes to generate a consensus: 0 of 1
Jul 13 18:14:56.000 [notice] Time to fetch any signatures that we're missing.
Jul 13 18:14:56.000 [notice] Time to publish the consensus and discard old votes
Jul 13 18:14:56.000 [warn] Not enough info to publish pending ns consensus
Jul 13 18:14:56.000 [warn] Not enough info to publish pending microdesc consensus
Jul 13 18:14:56.000 [warn] We just marked ourself as down. Are your external addresses reachable?
Jul 13 18:14:56.000 [warn] We just marked ourself as down. Are your external addresses reachable?
Jul 13 18:14:57.000 [warn] We just marked ourself as down. Are your external addresses reachable?
Jul 13 18:14:58.000 [notice] Time to vote.
Jul 13 18:14:58.000 [notice] Choosing valid-after time in vote as 2025-07-13 18:15:00: consensus_set=0, last_interval=5
Jul 13 18:14:58.000 [notice] Retrieved da1's vote from self.
Jul 13 18:14:58.000 [notice] Vote posted.
Jul 13 18:14:58.000 [warn] We just marked ourself as down. Are your external addresses reachable?
Jul 13 18:14:58.000 [warn] We just marked ourself as down. Are your external addresses reachable?
Jul 13 18:14:59.000 [notice] Time to fetch any votes that we're missing.
Jul 13 18:14:59.000 [notice] Time to compute a consensus.
Jul 13 18:14:59.000 [notice] Computed bandwidth weights for Case 2b1 (Wgg=weight_scale, Wmd=Wgd) with v10: G=1 M=1 E=1 D=1 T=4
Jul 13 18:14:59.000 [notice] Bandwidth-weight Case 1 is verified and valid.
Jul 13 18:14:59.000 [notice] Computed bandwidth weights for Case 2b1 (Wgg=weight_scale, Wmd=Wgd) with v10: G=1 M=1 E=1 D=1 T=4
Jul 13 18:14:59.000 [notice] Bandwidth-weight Case 1 is verified and valid.
Jul 13 18:14:59.000 [notice] Consensus computed; uploading signature(s)
Jul 13 18:14:59.000 [notice] Signature(s) posted.
Jul 13 18:14:59.000 [warn] We just marked ourself as down. Are your external addresses reachable?
Jul 13 18:15:00.000 [notice] Time to fetch any signatures that we're missing.
Jul 13 18:15:00.000 [notice] Time to publish the consensus and discard old votes
Jul 13 18:15:00.000 [notice] Published ns consensus
Jul 13 18:15:00.000 [notice] The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services.
Jul 13 18:15:00.000 [warn] No available nodes when trying to choose node. Failing.
Jul 13 18:15:00.000 [notice] Published microdesc consensus
Jul 13 18:19:20.000 [notice] Time to vote.
Jul 13 18:19:20.000 [notice] Choosing valid-after time in vote as 2025-07-13 18:20:00: consensus_set=1, last_interval=300
Jul 13 18:19:20.000 [notice] Retrieved da1's vote from self.
Jul 13 18:19:20.000 [notice] Vote posted.
Jul 13 18:19:30.000 [notice] Time to fetch any votes that we're missing.
Jul 13 18:19:40.000 [notice] Time to compute a consensus.
Jul 13 18:19:40.000 [notice] Computed bandwidth weights for Case 2b1 (Wgg=weight_scale, Wmd=Wgd) with v10: G=1 M=1 E=1 D=1 T=4
Jul 13 18:19:40.000 [notice] Bandwidth-weight Case 1 is verified and valid.
Jul 13 18:19:40.000 [notice] Computed bandwidth weights for Case 2b1 (Wgg=weight_scale, Wmd=Wgd) with v10: G=1 M=1 E=1 D=1 T=4
Jul 13 18:19:40.000 [notice] Bandwidth-weight Case 1 is verified and valid.
Jul 13 18:19:40.000 [notice] Consensus computed; uploading signature(s)
Jul 13 18:19:40.000 [notice] Signature(s) posted.
Jul 13 18:19:50.000 [notice] Time to fetch any signatures that we're missing.
Jul 13 18:20:00.000 [notice] Time to publish the consensus and discard old votes
Jul 13 18:20:00.000 [notice] Published ns consensus
Jul 13 18:20:00.000 [warn] No available nodes when trying to choose node. Failing.
Jul 13 18:20:00.000 [notice] Published microdesc consensus
Jul 13 18:22:28.000 [notice] Self-testing indicates your ORPort 54.245.38.128:9001 is reachable from the outside. Excellent. Publishing server descriptor.
Jul 13 18:24:20.000 [notice] Time to vote.
Jul 13 18:24:20.000 [notice] Choosing valid-after time in vote as 2025-07-13 18:25:00: consensus_set=1, last_interval=300
Jul 13 18:24:20.000 [notice] Retrieved da1's vote from self.
Jul 13 18:24:20.000 [notice] Vote posted.
Jul 13 18:24:30.000 [notice] Time to fetch any votes that we're missing.
Jul 13 18:24:40.000 [notice] Time to compute a consensus.
Jul 13 18:24:40.000 [notice] Computed bandwidth weights for Case 3be (E scarce, Wee=weight_scale, Wmd == Wgd) with v10: G=69 M=1 E=1 D=42 T=113
Jul 13 18:24:40.000 [warn] Bw Weight Failure for Case 3b: Etotal 35.793000 != Gtotal 37.093100. G=68 M=0 E=0 D=41 T=109. Wgg=0.507200 Wgd=0.063500 Wmg=0.492800 Wme=0.000000 Wmd=0.063500 Wee=1.000000 Wed=0.873000
Jul 13 18:24:40.000 [warn] Bw Weight Failure for Case 3b: Mtotal 36.113900 != Gtotal 37.093100. G=68 M=0 E=0 D=41 T=109. Wgg=0.507200 Wgd=0.063500 Wmg=0.492800 Wme=0.000000 Wmd=0.063500 Wee=1.000000 Wed=0.873000
Jul 13 18:24:40.000 [notice] Computed bandwidth weights for Case 3be (E scarce, Wee=weight_scale, Wmd == Wgd) with v10: G=69 M=1 E=1 D=42 T=113
Jul 13 18:24:40.000 [warn] Bw Weight Failure for Case 3b: Etotal 35.793000 != Gtotal 37.093100. G=68 M=0 E=0 D=41 T=109. Wgg=0.507200 Wgd=0.063500 Wmg=0.492800 Wme=0.000000 Wmd=0.063500 Wee=1.000000 Wed=0.873000
Jul 13 18:24:40.000 [warn] Bw Weight Failure for Case 3b: Mtotal 36.113900 != Gtotal 37.093100. G=68 M=0 E=0 D=41 T=109. Wgg=0.507200 Wgd=0.063500 Wmg=0.492800 Wme=0.000000 Wmd=0.063500 Wee=1.000000 Wed=0.873000
Jul 13 18:24:40.000 [notice] Consensus computed; uploading signature(s)
Jul 13 18:24:40.000 [notice] Signature(s) posted.
Jul 13 18:24:50.000 [notice] Time to fetch any signatures that we're missing.
Jul 13 18:25:00.000 [notice] Time to publish the consensus and discard old votes
Jul 13 18:25:00.000 [notice] Published ns consensus
Jul 13 18:25:00.000 [notice] The current consensus contains exit nodes. Tor can build exit and internal paths.
Jul 13 18:25:00.000 [warn] No available nodes when trying to choose node. Failing.
Jul 13 18:25:00.000 [notice] Published microdesc consensus
Jul 13 18:25:01.000 [warn] No available nodes when trying to choose node. Failing.
Jul 13 18:25:01.000 [notice] Failed to find node for hop #2 of our path. Discarding this circuit.
Jul 13 18:25:01.000 [warn] No available nodes when trying to choose node. Failing.
Jul 13 18:25:01.000 [notice] Failed to find node for hop #2 of our path. Discarding this circuit.
Jul 13 18:25:01.000 [notice] Our circuit 0 (id: 601) died due to an invalid selected path, purpose Unlinked conflux circuit. This may be a torrc configuration issue, or a bug.
Jul 13 18:25:02.000 [warn] No available nodes when trying to choose node. Failing.
Jul 13 18:25:02.000 [notice] Failed to find node for hop #2 of our path. Discarding this circuit.
Jul 13 18:25:02.000 [warn] No available nodes when trying to choose node. Failing.
Jul 13 18:25:02.000 [notice] Failed to find node for hop #2 of our path. Discarding this circuit.
Can I get guidance on what to do from here. I am very confused on why consensus is unable to be reached.