Page MenuHomePhabricator

Erroneous requests from the Math extension to RB/Mathoid
Closed, ResolvedPublicPRODUCTION ERROR

Description

Mathoid has been overwhelmed with erroneous requests from the Math extension. A sample of MW exception log entries can be found here. It seems most exceptions are generated only for a handful of pages:

At the same time, Mathoid's production logs show repetitive 400 errors. See P2422 for a sample of them.

I have tried to issue requests to a local Mathoid instance for all of the <math> objects found in the first three pages cited above, but all of them passed the check.

Event Timeline

mobrovac raised the priority of this task from to High.
mobrovac updated the task description. (Show Details)
mobrovac added subscribers: mobrovac, Physikerwelt.

Change 259153 had a related patch set uploaded (by Mobrovac):
Log the request information consistently

https://gerrit.wikimedia.org/r/259153

Change 259153 merged by jenkins-bot:
Log the request information consistently

https://gerrit.wikimedia.org/r/259153

Change 259164 had a related patch set uploaded (by Mobrovac):
Ask for the MathML and SVG renders only if the input is valid

https://gerrit.wikimedia.org/r/259164

Change 259168 had a related patch set uploaded (by Mobrovac):
Logging: log entries pertaining to the Math extension

https://gerrit.wikimedia.org/r/259168

Change 259168 merged by jenkins-bot:
Logging: log entries pertaining to the Math extension

https://gerrit.wikimedia.org/r/259168

Change 259164 merged by jenkins-bot:
Ask for the MathML and SVG renders only if the input is valid

https://gerrit.wikimedia.org/r/259164

Change 259180 had a related patch set uploaded (by Mobrovac):
Logging: adjust the log entry levels

https://gerrit.wikimedia.org/r/259180

Change 259180 merged by jenkins-bot:
Logging: adjust the log entry levels

https://gerrit.wikimedia.org/r/259180

Change 259734 had a related patch set uploaded (by Mobrovac):
Make math usable without RESTbase

https://gerrit.wikimedia.org/r/259734

Change 259734 merged by jenkins-bot:
Make math usable without RESTbase

https://gerrit.wikimedia.org/r/259734

mobrovac claimed this task.

The main culprit here was a bug which would ask for a render regardless of the outcome of the check. This has been fixed and deployed.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:11 PM