#30282 closed defect (duplicate)

bandwidth_file_headers doesn't seem to be working

Reported by: tom Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Stem Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Moria has a value for bandwidth-file-headers

From stem master, I run the following:

import stem.descriptor.remote
authority = stem.descriptor.remote.get_authorities()['moria1']
downloader = stem.descriptor.remote.DescriptorDownloader(fall_back_to_authority = False, document_handler = stem.descriptor.DocumentHandler.DOCUMENT)
vote = downloader.query('/tor/status-vote/current/authority.z', default_params = False, endpoints=[(authority.address, authority.dir_port)]).run()[0]

But I don't get any data...

Child Tickets

Change History (2)

comment:1 Changed 18 months ago by atagar

Thanks tom! This was a confusing one. It turns out you found a tor bug - reaching out to the network team: #30316

comment:2 Changed 17 months ago by atagar

Resolution: duplicate
Status: newclosed

Resolving this in favor of #30316.

If you'd like I can provide a workaround code snippet. This data is available within the descriptor object, but through the get_unrecognized_lines() method of the authority.

Note: See TracTickets for help on using tickets.