Page MenuHomePhabricator

AndrewDBate (Andrew Bate)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
May 9 2021, 11:40 PM (153 w, 4 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
AndrewDBate [ Global Accounts ]

Recent Activity

Jan 13 2022

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

I have just determined that my suggested workaround is not required when using MediaWiki 1.36.1 and Nginx.

Jan 13 2022, 10:50 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor
AndrewDBate added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

@maiden_taiwan Thank you very much for confirming this. You have confirmed that my suggested workaround is not required when using MediaWiki 1.37.1 and Apache.

Jan 13 2022, 10:35 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor
AndrewDBate added a comment to T299175: VisualEditor can edit, but not save pages, if $wgServer is a protocol-relative URL on a secure site: "Error contacting the Parsoid/RESTBase server (HTTP 415)".

It would be interesting to determine whether the same can be reproduced when using Nginx as the webserver.

Jan 13 2022, 10:22 PM · VisualEditor
AndrewDBate added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

That is very impressive @maiden_taiwan!

Jan 13 2022, 10:12 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Dec 28 2021

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

I think that because it is a private wiki, then if you can GET a page without additional authorization then that should be enough to prove that VisualEditor has the required access. (But I am not an expert. Maybe someone else could confirm this?)

Dec 28 2021, 5:46 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor
AndrewDBate added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

@maiden_taiwan I honestly don't know... Maybe there is something wrong with your TLS certificate config? Are you using Let's Encrypt or something else?

Dec 28 2021, 4:59 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor
AndrewDBate 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!

Dec 28 2021, 4:49 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Oct 20 2021

AndrewDBate created T293933: Email Authorization extension does not support PostgreSQL.
Oct 20 2021, 8:55 PM · PostgreSQL, MediaWiki-extensions-Email_Authorization

Oct 11 2021

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

I agree it is worth trying a directory other than /tmp to save the log file.

Oct 11 2021, 8:56 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Oct 7 2021

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

@Technoabyss Unfortunately not. I am running MediaWiki 1.36.1 and still need the workaround I posted.

Oct 7 2021, 7:43 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor
AndrewDBate added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

@maiden_taiwan Okay, that's strange. The first step would then be to get $_SERVER['REMOTE_ADDR'] to print to a log with the correct value so that we can determine the value of $_SERVER['REMOTE_ADDR'] when a call is made to the REST API from the local machine (we cannot use echo for that because there is no page being loaded).

Oct 7 2021, 6:49 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor
AndrewDBate added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

@maiden_taiwan Okay, good to know. Please do update this ticket if you ever figure out why $_SERVER['REMOTE_ADDR'] is empty in your LocalSettings.php but not when printed from plain PHP files.

Oct 7 2021, 6:03 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Oct 4 2021

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

@maiden_taiwan That really is strange.

Oct 4 2021, 9:14 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor
AndrewDBate added a comment to T268277: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki.

@maiden_taiwan So in the table of everything in the $_SERVER array near the bottom of the output of phpinfo() is it showing non-empty strings for $_SERVER['REMOTE_ADDR'] and $_SERVER['SERVER_ADDR']?

Oct 4 2021, 8:51 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Oct 2 2021

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

@maiden_taiwan Are the production and testing servers identical, other than one is http and the other is https? Do both use Apache? Are you using IPv6? Or are you using IPv4 only?

Oct 2 2021, 7:00 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Sep 23 2021

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

I have the same issue on MediaWiki 1.36.1.

Sep 23 2021, 12:10 AM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Sep 8 2021

AndrewDBate added a comment to T247310: Update outdated ElectronPdfService Extension page to reflect the switch to Proton.

Why has this task been closed when the page at https://www.mediawiki.org/wiki/Extension:ElectronPdfService still clearly says at the top:

Sep 8 2021, 1:04 AM · Product-Infrastructure-Team-Backlog-Deprecated, Documentation, Electron-PDFs

Sep 5 2021

AndrewDBate added a comment to T267477: CannotCreateActorException when renaming the currently-logged-in user.

I can confirm that I am having the same issue on MediaWiki version 1.36.1 on Debian.

Sep 5 2021, 12:27 AM · MediaWiki-User-rename

May 9 2021

AndrewDBate added a comment to T157424: TimedMediaHandler does not support PostgreSQL.

Another PostgreSQL user here. I am keen to get TimedMediaHandler working with PostgreSQL. Is there anything I can do to help?

May 9 2021, 11:45 PM · TestMe, PostgreSQL, TimedMediaHandler