[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #16907 [Onionoo]: Stop returning a 500 Internal Server Error when the hourly updater has not run for 6+ hours



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs