Page MenuHomePhabricator

[Regression pre-wmf6] On second edit attempt between loads, VisualEditor fails to load, sometimes throws 500 internal server error and sometimes shows notice about editing an old version of article
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Open a page with VE

  1. Make an edit

3.Save the page
4.Reopen the page

Observed Result:
The following error appears in the console:
"NetworkError: 500 Internal Server Error - http://en.wikipedia.beta.wmflabs.org/api/rest_v1/page/html/User%3ARYasmeen_(WMF)/220444 "

Even if it opens it shows a notice that I am editing an old version of the article

Event Timeline

Ryasmeen raised the priority of this task from to Needs Triage.
Ryasmeen updated the task description. (Show Details)
Ryasmeen added a project: VisualEditor.
Ryasmeen subscribed.
Ryasmeen triaged this task as Unbreak Now! priority.May 11 2015, 11:46 PM
Ryasmeen set Security to None.
Ryasmeen renamed this task from On second edit attempt between loads, VisualEditor fails to load, sometimes throws 500 internal server error and sometimes shows notice about editing an old version of article to [Regression pre-wmf6] On second edit attempt between loads, VisualEditor fails to load, sometimes throws 500 internal server error and sometimes shows notice about editing an old version of article.May 12 2015, 2:12 AM

I restarted restbase on deployment-restbase0{1,2} with systemctl restart restbase, which worked.

We did deploy a config change that enabled commons last night, which in turn auto-created new tables. It's possible that something went wrong during concurrent table creation, which would potentially have left one or two workers in an unhappy state (which is tracked in T98934).

I was not able to reproduce the error after this, so I assume that things are okay now.

GWicke claimed this task.

Please reopen if the problem still occurs.

@Ryasmeen, which article is this happening with?