[tor-bugs] #6762 [Atlas]: Make Atlas more robust to inconsistent Onionoo replies
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Sep 4 12:05:20 UTC 2012
#6762: Make Atlas more robust to inconsistent Onionoo replies
---------------------+------------------------------------------------------
Reporter: karsten | Owner: hellais
Type: defect | Status: new
Priority: minor | Milestone:
Component: Atlas | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
When Onionoo lists a relay in its summary document but doesn't have a
details document for that relay, Atlas will run into a "TypeError: relay
is undefined" in js/models/relay.js in $.getJSON() in the lookup function.
The effect is that Atlas shows "undefined" in its results. The fix is for
Atlas to not rely on Onionoo always having a details document. (The other
fix is to make Onionoo not return inconsistent replies, but that's
something that the database-based Pyonionoo will fix.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6762>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list