Page MenuHomePhabricator
Feed Search

Jan 11 2022

UGOBOSS777 added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

Tested and I'm still getting the same Parsoid/RESTBase (HTTP 404).

A 404 error is a very different error, and means it doesn't find the resource. Something is pointing to the wrong URL

Jan 11 2022, 4:00 AM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Jan 2 2022

UGOBOSS777 added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

@UGOBOSS777 From what you have commented, what you have put in your LocalSettings.php file is not the same as the workaround I suggested. Please try the workaround as I originally commented:, i.e. replace the lines:

if ( $_SERVER['REMOTE_ADDR'] == 'XXX' ) {
  $wgGroupPermissions['*']['read'] = true;
  $wgGroupPermissions['*']['edit'] = true;
  $wgGroupPermissions['*']['writeapi'] = true;
}

with those in my earlier comment:

if ( isset( $_SERVER['REMOTE_ADDR'] ) &&
     in_array( $_SERVER['REMOTE_ADDR'], [ $_SERVER['SERVER_ADDR'], '127.0.0.1' ] ) ) {
    $wgGroupPermissions['*']['read'] = true;
    $wgGroupPermissions['*']['edit'] = true;
}

If you could report back with whether that worked or not, so that it can help others struggling with this, that would be great. Thanks!

Jan 2 2022, 4:43 AM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Dec 24 2021

UGOBOSS777 added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

The workaround did not fix it for me.

Dec 24 2021, 12:26 AM · MW-1.41-notes, Editing-team (Third-party), VisualEditor