Topic on Project:Support desk

Jump to navigation Jump to search

Error loading data from server: 500: docserver-http: HTTP 500

2
Tormentium (talkcontribs)

So, after trial and error getting parsoid setup, i was finally able to get it and i get this error.

The wiki is hosted on a hosting site and the parsoid server is also hosted elswhere.

Below are my settings for the wiki localsettings.php and the parsoid config file, config.yaml Parsoid is on Ubuntu 14.04.5

LocalSettings.php:

$wgVirtualRestConfig['modules']['parsoid'] = array(
  "url" => "http://wiki_site_ip:8142",
  "domain" => "localhost",
  "prefix" => "localhost" );

Config.yaml

        - # This is the only required parameter,
          # the URL of you MediaWiki API endpoint.
          uri: 'http://mywikisite/w/api.php'
          # The "domain" is used for communication with Visual Editor
          # and RESTBase.  It defaults to the hostname portion of
          # the `uri` property below, but you can manually set it
          # to an arbitrary string.
          domain: 'mywikisite'  # optional

Now im sure one of these must be incorrect? Not sure.

Any help is greatly appreciated!

MarkAHershberger (talkcontribs)

(I've edited your question so that it looks like reasonable php code... Please confirm that this changes I made match what is in your LocalSettings.php.)

  • domain in your config.yaml should match the domain in the wgVirtualRestConfig.
  • url should LocalSettings should point to the parsoid server.

Would it be possible to share the URL of your wiki?