OurBigBook logoOurBigBook Docs OurBigBook logoOurBigBook.comSite Source code
ourbigbook --web sometimes randomly times out on ourbigbook.com. First an ID extraction or render hangs, and then after a few seconds things blow up Usually happens around the thousands of articles uploaded.
I've seen it happen once or twice locally as well.
There are no server exceptions on heroku logs. I simply can't understand why it happens.
Once the error was ETIMEDOUT, but most times it was ECONNRESET.
Next time it happens I'm just going to add a timeout plus retry mechanism as it is rare enough that it shouldn't matter, and the problem does seem to go away if I try to continue the upload immediately afterwards: given the SHA2-based skips, restarting from the CLI we just start exactly where we had left off, so hopefully will also work from Js.

Ancestors (3)

  1. Issues
  2. TODO
  3. Home