[tor-bugs] #16907 [Onionoo]: Stop returning a 500 Internal Server Error when the hourly updater has not run for 6+ hours
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 18 08:49:42 UTC 2015
#16907: Stop returning a 500 Internal Server Error when the hourly updater has not
run for 6+ hours
-------------------------+------------------------------
Reporter: karsten | Owner:
Type: enhancement | Status: needs_review
Priority: Medium | Milestone:
Component: Onionoo | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
-------------------------+------------------------------
Comment (by iwakeh):
I think there should be a status code differing from 200. And 504 is a
good match viewing the updater as the auxiliary server
[http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html w3.org]:
{{{
10.5.5 504 Gateway Timeout
The server, while acting as a gateway or proxy, did not receive a timely
response from the upstream
server specified by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary
server (e.g. DNS) it needed
to access in attempting to complete the request.
}}}
Sending 200 will surely trigger complaints about stale data and the 504
signals beforehand that onionoo is aware.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16907#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list