<p data-parsoid="{"dsr":[12727,14747,0,0]}"><span><span about="#mwt37" class="reference" data-mw="{"name":"ref","body":{"id":"mw-reference-text-cite_note-13"},"attrs":{}}" data-parsoid="{"dsr":[12988,13167,5,6]}" id="cxcite_ref-13" rel="dc:references" typeof="mw:Extension/ref" data-sourceid="cite_ref-13"></span></span></p>Description
Related Objects
Event Timeline
@Nikerabbit, I don't understand the title of the ticket -- "unspecified itmeout error"
But, note that this fragment will not serialize on its own because <ref>.data-mw.body.id refers to a DOM element and the serializer needs to be able to look up what that is.
Sorry I should have been clearer. If I paste the above snippet to http://parsoid-lb.eqiad.wikimedia.org/enwiki/ it takes 30 seconds (I suppose this is some kind of timeout) until it returns Error 503 Service Unavailable.
This is a "minimal" snippet of a full html cxserver is trying to convert to wikitext, failing, and thus publishing of a translation fails.
I would like to see better error messages from parsoid, and preferable faster as well ;) That would make debugging our publishing errors much easier.
The varnish req-restart thing is about handling various anomalous error cases in a better way. It doesn't absolve the underlying backends from trying to not do erroneous things in the first place...
@BBlack This is one of those "anomalous error cases". See https://phabricator.wikimedia.org/T97206#1257608
If I paste the above snippet in local parsoid instance, it returns immediately with a descriptive 500 error, as requested. In production however, the back-and-forth in Varnish takes the extra 30s and returns Varnish's 503 error page.
Can you please confirm that this is indeed blocked on that task?
@Nikerabbit, @santhosh, @Arlolra - is this still relevant? Is this in CX or in Parsoid?
This is very old one. Lot of improvement done on this part and haven't seen anything going wrong related to this.