Page MenuHomePhabricator

Server seems to crash when citoid=true and Citoid fails (and one template available)
Open, HighPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

I get a Toolforge 404 error page saying "The URL you have requested, https://teara.govt.nz/en/biographies/4g2/galbraith-alexander, doesn't seem to actually exist."

Then, the server seems to crash, returning 503 Service Unavailable errors for a few minutes.

What should have happened instead?:

The server should have returned a list of citations, including just the Web2Cit citation.

Other information (browser name/version, screenshots, etc.):

Make sure this list of citations including just the Web2Cit citation is properly handled by Web2Cit-Gadget.

Event Timeline

diegodlh created this task.

Note that the error persists when the template is changed to be non-applicable.

But it disappears when the template is removed altogether.

Updating title accordingly.

diegodlh renamed this task from Server seems to crash when citoid=true and Citoid fails but Web2Cit doesn't to Server seems to crash when citoid=true and Citoid fails (and one template available) .Sep 27 2023, 4:11 PM

Interestingly, this does not happen when the template uses fixed-value selection steps only:

  • This revision which uses fixed-value selection steps only doesn't crash Web2Cit and can be used to get a rather useless (but better than nothing) citation using Web2Cit-Gadget.
  • This previous revision, which uses XPath selection steps, causes Web2Cit to crash as described above.