Skip to content

Rejected hidden service descriptor in tor 0.4.5.8

I run an onion service which was fine until these things happened:

  • the system time gets set 2 hours into the future
  • a few minutes pass
  • the system time gets set back to normal
  • tor is restarted
  • connections to the onion stop going through
  • approx 2 hours later it works again With a different .onion, connections did go through, which I'd never seen before and was really weird since there were no logged notices about there being a problem. I tried starting the hidden service on another machine with tor 0.4.5.7 and debug logs revealed this:
[info] set_descriptor_revision_counter(): Setting rev counter for TP #[scrubbed]: SRV started at 1623589700, now 1623711732 (current)
[...]
[info] set_descriptor_revision_counter(): Setting rev counter for TP #[scrubbed + 1]: SRV started at 1623676100, now 1623711732 (next)
[...]
[debug] Received response on Directory connection (client reading) with [scrubbed]: 400 "Invalid HS descriptor. Rejected." (purpose: 20, response size: 86, compression: 0)
[info] handle_response_upload_hsdesc(): Uploaded hidden service descriptor (status 400 ("Invalid HS descriptor. Rejected."))
[info] handle_response_upload_hsdesc(): Uploading hidden service descriptor: http status 400 ("Invalid HS descriptor. Rejected.") response from dirserver [scrubbed]. Malformed hidden service descriptor?

Sorry if this is a duplicate of #27310 (closed). Since it started working again I didn't know if this was notable enough to make an issue about but I decided to err on the side of letting people know.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information