Topic on VisualEditor/Feedback

Erro ao carregar dados do servidor: apierror-visualeditor-docserver-http-error: (curl error: 6) Couldn't resolve host name

1
Paulo C C Junior (talkcontribs)

Hi, im trying do install visual editir on my local wiki, but i get the error "Erro ao carregar dados do servidor: apierror-visualeditor-docserver-http-error: (curl error: 6) Couldn't resolve host name"


Local settings php:

$wgVirtualRestConfig['modules']['parsoid']['url'] = array(

    // URL to the Parsoid instance

    // Use port 8142 if you use the Debian package

    'url' => 'http://localhost:8000',

    // Parsoid "domain", see below (optional)

    'domain' => 'localhost',

    // Parsoid "prefix", see below (optional)

    'prefix' => 'localhost'

);


config.yaml


services:

  - module: lib/index.js

    entrypoint: apiServiceWorker

    conf:

        mwApis:

          # This is the only required parameter,

          # the URL of you MediaWiki API endpoint.

        - uri: 'http://localhost/wikijdb/api.php'

         

          # The "domain" is used for communication with Visual Editor

          # and RESTBase.  It defaults to the hostname portion of

          # the `uri` property above, but you can manually set it

          # to an arbitrary string.

          domain: 'wiki/wikijdb'  # optional   

       

         

Someone knows how to solve this problem? its so bad to edit on source code

Reply to "Erro ao carregar dados do servidor: apierror-visualeditor-docserver-http-error: (curl error: 6) Couldn't resolve host name"