Extension talk:VisualEditor

About this board

Please note that the Wikimedia Foundation does not provide support for installing VisualEditor on third-party wikis. However, if you have a question we may try to help.

Error contacting the Parsoid/RESTBase server (HTTP 403)

Summary by AID-PMBD

Solution found in: https://stackoverflow.com/questions/64106004/error-contacting-the-parsoid-restbase-server-http-bad-status-on-fresh-mediawiki

Changed $wgServer = from $wgServer = "http://wiki.name.domain.com"; to $wgServer = "https://wiki.name.domain.com";

AID-PMBD (talkcontribs)

I just finished setting up a fresh wiki with the following configuration:

Mediawiki 1.35.6

PHP 7.4.3 (apache2handler)

MySQL 8.0.29-0ubuntu0.20.04.3

ICU 66.1

Lua 5.1.5

VisualEditor 0.1.2

wikimedia/parsoid 0.12.2

Parsoid and Visual Editor were installed through the Mediawiki bundling. I have a wiki with a similar configuration the only difference is Mediawiki 1.35.3, which works perfectly fine. On the wiki with Mediawiki 1.35.6 VisualEditor returns the following error:

Error contacting the Parsoid/RESTBase server (HTTP 403)

Any idea on how I can fix this without updating Mediawiki from 1.35 and downgrading it to 1.35.3? I need to stay on the legacy version of Mediawiki.

AID-PMBD (talkcontribs)

As additional information, I have given all users that are supposed to be able to edit the following permission:

$wgGroupPermissions['Edit']['writeapi'] = true;

AID-PMBD (talkcontribs)

Another additional piece of information:

I am running the wiki as a vhost with apache2. My .config file in etc/apache2/sites-available looks like this:

<VirtualHost *:80>

ServerAdmin admin@email.com

ServerName wiki.name.domain.com

ServerAlias www.wiki.name.domain.com

DocumentRoot /var/www/html

ErrorLog ${APACHE_LOG_DIR}/error.log

CustomLog ${APACHE_LOG_DIR}/access.log combined

RewriteEngine on

RewriteCond %{SERVER_NAME} =wiki.name.domain.com [OR]

RewriteCond %{SERVER_NAME} =www.wiki.name.domain.com

RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]


<Directory /var/www/html>

       AllowOverride All


AID-PMBD (talkcontribs)

Can I increase Timeout seconds on VisualEditor with Mediawiki 1.35?

MPThLee (talkcontribs)

Error contacting the Parsoid/RESTBase server: (curl error: 28) Timeout was reached

I'm using Parsoid/PHP, which added since MW 1.35

Since some of pages are needs much time to renders up, VisualEditor give up to rendering with curl error 28. Can I increase the timeout seconds?

It's not things like server misconfigure or else. It's just VE gives up to render on certain page on rendering.

MarioSuperstar77 (talkcontribs) (talkcontribs)

This is also an issue for me, any advise would be appreciated

Reply to "Can I increase Timeout seconds on VisualEditor with Mediawiki 1.35?"

Error contacting the Parsoid/RESTBase server (HTTP 500) while editing large table

ThT (talkcontribs)

I assume the size of the table (10 columns, 6728 rows, page has 896.183 Bytes) is the reason for the error. Does anyone know a rule of thumb for the maximum size of tables?

Reply to "Error contacting the Parsoid/RESTBase server (HTTP 500) while editing large table"

Error contacting the Parsoid/RESTBase server: (curl error: no status set)

10 (talkcontribs)


I have fresh installation of MediaWiki 1.37. When trying to use VisualEditor error comes:

Error contacting the Parsoid/RESTBase server: (curl error: no status set)

It's seems to be specific error as no status is set for curl error.

Any hints?

Sokote zaman (talkcontribs)

Installing parsoid (talkcontribs)

Isn't Parsoid bundled by default in MediaWiki 1.35+?

Sokote zaman (talkcontribs)

It is installed by default, but: Many problems are solved by installing and configuring Parsroid and a visual editor. (talkcontribs)

OK, so how to reinstall or reconfigure it?

Sokote zaman (talkcontribs)

I worked very hard on this and spent a lot of time. If you wish, I can share my knowledge with you for a normal fee (talkcontribs)

So what is the fee?

Sokote zaman (talkcontribs)

Should a program that is free and open source be installed and configured free by others? (talkcontribs)

I asked about price, not philosophical arguments...

Sokote zaman (talkcontribs)

Give as much as you'd like.

Email me every problem I have to fix for you.

Reply to "Error contacting the Parsoid/RESTBase server: (curl error: no status set)"

Uploaded graphics including 'index.php?title=' code

Issiegainsley (talkcontribs)

I have been looking high and low for some instruction on how to remove this code that is getting added into the wikitext code.

This is what my wikitext looks like when I upload a graphic using visualeditor:

[[index.php?title=Media:nameoffile.xlsx|Budget Impact Model]]
Issiegainsley (talkcontribs)

I wrote a re-write rule to shorten the URL and now the index.php?title= is not added.

Reply to "Uploaded graphics including 'index.php?title=' code"

Insert images works, but only if I write the exact name of the image

3 (talkcontribs)

Im running MW 1.24wmf6 (322acf7) with the latest VisualEditor 0.1.0 (Version 3733e8b). Whether $wgUseInstantCommons is set to false or true I can find an uploaded image, but only if I write the exact filename. The Search function does not work for local files, only for the files in commons.wikimedia.org. My Wiki is public. Anyone who knows why?

/Claes (talkcontribs)

Solved. I did not know that I had to put a "*" after the search. Ex: fotba* shows picturenames which names are fotball.

MedEncore (talkcontribs)

Still not working for me...

Reply to "Insert images works, but only if I write the exact name of the image"

Search uploaded files not working

MedEncore (talkcontribs)


I have the latest version of MediaWiki. When trying to search for media by name, it doesn't show any results. I'm sure that the files that I'm searching for have been successfully uploaded as I can search and find them perfectly fine in the File list special page.

Any ideas or anything are very welcomed.

Reply to "Search uploaded files not working"

Error contacting the Parsoid/RESTBase server: http-bad-status

Summary last edited by MyWikis-JeffreyWang 03:17, 13 July 2021 10 months ago

The problem

This issue seems to occur on private wikis:

$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;

because VisualEditor accesses your pages as an Anonymous user (and thus can't see the page at all).

The workaround

Add the following to your LocalSettings.php after all of your $wgGroupPermissions configurations (ideally at the very, very end):

  $wgGroupPermissions['*']['read'] = true;
  $wgGroupPermissions['*']['edit'] = true;
  $wgGroupPermissions['*']['writeapi'] = true;

...while replacing YOUR_SERVER_IP with the server's IP address. You can get this using curl, for example:

curl ifconfig.me

Maybe they'll fix it

There is an open ticket for this issue where you can express your opinion on this.

Chitinlink (talkcontribs)

I've just finished upgrading from MW 1.33 to 1.35. I have the following VisualEditor-relevant options in my LocalSettings.php file:

// Enable by default for everybody
$wgDefaultUserOptions['visualeditor-enable'] = 1;
// Set VisualEditor as the default
$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";

When I try to edit a page, VisualEditor tries to load, but then spits out the following error:

Error contacting the Parsoid/RESTBase server: http-bad-status

Looking in the console, this is error code apierror-visualeditor-docserver-http-error.

I'm not sure what this means but it sounds like not only is something wrong but the error handler is receiving an unsupported status code? Any help appreciated.

LapisLazuli33 (talkcontribs)

VisualEditor/PHP will contact wiki/rest.php or w/rest.php when you go into visual editing. If you are already using rewrites to make nice short URLs, you may find that - your rewrite rule will make the call to rest.php redirect to index.php, which gives a 404.

If you just ignore redirecting call to rest.php, your visual editor will work but cannot load page contents - it is accessing rest.php/yourdomain.name/v3/.... to load the page content, which cannot be ignored by checking rest.php.

The solution is, check the HTTP_USER_AGENT - VisualEditor make its access with UA: VisualEditor-MediaWiki/1.35.0. Add the bold line to every rewrite rules you defined for mediawiki (I'm assuming you are using apache2, tweak this accordingly if you are using other service):

RewriteCond %{REQUEST_URI} !^(static)

RewriteCond %{HTTP_USER_AGENT} !^(VisualEditor)



RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/wiki/index.php [L]

This will not make any rewrite to calls from VisualEditor and make it successfully access page contents and load it without affect other short URLs.

Chitinlink (talkcontribs)
Chitinlink (talkcontribs)

So to reiterate, my wiki is private. (maybe has something to do with this?)

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;

I have the following VisualEditor related options set:

wfLoadExtension( 'Parsoid', 'vendor/wikimedia/parsoid/extension.json' );
$wgGroupPermissions['user']['writeapi'] = true;

// Enable by default for everybody
$wgDefaultUserOptions['visualeditor-enable'] = 1;
// Set VisualEditor as the default
$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";

The Extension:VisualEditor page as of right now has a banner at the top that says "This extension comes with MediaWiki 1.35 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.". The other instructions I need to follow are not exactly clear, honestly...

Further down the page on a section I didn't follow, there's a warning, saying that RESTBase should not be installed on private wikis. Is RESTBase installed on my wiki just by virtue of VisualEditor being bundled with 1.35? Again, I'm getting a RESTBase error when I try to edit pages.

Jörgi123 (talkcontribs)

Your configuration will not be working.

Please remove the line

wfLoadExtension( 'Parsoid', 'vendor/wikimedia/parsoid/extension.json' );

from your config.

Also make sure that you are not setting anything in

$wgVirtualRestConfig['modules']['parsoid']. If you set anything there, Parsoid will no longer be found automatically.

Chitinlink (talkcontribs)

I've removed the line you mentioned, and confirmed my LocalSettings.php doesn't touch $wgVirtualRestConfig.

As before, I continue to have the same issue: VE loads when creating a new page, but when editing an existing one, throws: "Error contacting the Parsoid/RESTBase server: http-bad-status"

Cscott (talkcontribs)
Ciencia Al Poder (talkcontribs)

The "VE can't contact Parsoid/RESTBase" error is rather generic and it mentions two possible causes (choose the one that applies to you). This doesn't mean you have RESTBase installed, and you probably don't.

Aschroet (talkcontribs)

As Technoabyss, I find the description rather confusing. Could you please tell, Ciencia Al Poder, is an additional RestBase installation needed for a 1.35 or not? For me, i am getting an Error contacting the Parsoid/RESTBase server: http-request-error with my 1.35 installation. Actually, this directly points to a missing RestBase but my assumption was that the VisualEditor works out of the box.

Jörgi123 (talkcontribs)

An additional Restbase installation is not needed. It is optional, you do not need it.

Ciencia Al Poder (talkcontribs)

...however, if you happen to configure something related to $wgVirtualRestConfig in your LocalSettings (which may be set for other extensions, like math), then MediaWiki will connect only to RESTBase

Rehman (talkcontribs)

@Technoabyss, were you able to resolve your issue? I too don't have Short URLs enabled, and VE does not work out-of-the-box (i.e. fresh install).

This post was hidden by Chitinlink (history)
This post was hidden by Chitinlink (history)
This post was hidden by Chitinlink (history)
This post was hidden by Chitinlink (history)
This post was hidden by Chitinlink (history)
Chitinlink (talkcontribs)

Sorry for not following up on this. I will be trying everyone's suggestions in a moment

Edit: As before, nothing about my situation has changed... I've gone ahead and done as @Jörgi123 recommended, but the issue remains.

Chitinlink (talkcontribs)

Screenshots of the request as shown in the dev console when I open the page for visual editing:

Spas.Z.Spasov (talkcontribs)

I just solved similar issue by removing extensions/VisualEditor and installing it again. (talkcontribs)

Same exact error for me. That response code , somewhat useless as it is (state what url/port/anything really has failed to be reached, we're clearly getting to api.php, but what is being tried from there?), sounds more like it's trying to reach something at an old location. Have you managed to get any further here?

Chitinlink (talkcontribs)

No, though I haven't really tried much since my last post. Do you happen to also have a private wiki? (talkcontribs)

I do, my upgrade has been from 1.15 to 1.35, so more prone to issues I'd believe. I'm running the new wiki on fresh 20.04 and fwiw the visual editor worked for saving new pages and editing before I restored and updated the database (without errors).

Being that the error is so vague I want to believe there's something stale or failed in there causing this issue, but mediawiki's debug log doesn't throw any obvious errors. I suppose for now I'm waiting for someone else to figure this out or 1.36. Unless there's someone here who happens to know if update.php doesn't run something needed for the new visualeditor config to work.

If I had any other insight to add, I do get a different error (There is no revision with ID 0.) by editing source on an existing page and moving back to the visual editor, then hitting try again when failed to load. (talkcontribs)

Well I got it. For me at least. I had $wgGroupPermissions['*']['read'] = false; set in my LocalSettings.php which appears to cause this. Does this mean the visualeditor is actually a user? If so, what group/user can I allow read permissions to fix this but still keep read limited to groups of my choosing?

Chitinlink (talkcontribs)
Sidnaught (talkcontribs)

I solved this for my private wiki by following these steps linked here under 401 error.

I found I also had the same issue if I restricted the site using .htaccess and .htpasswd, instead of making it private.

The only issue I have now is that Visual Editor does not show recently uploaded files when you insert media.

Metalliqaz (talkcontribs)

I have this error and I don't have a private wiki. It only shows up for a particularly large page. Most pages are able to be edited properly. (talkcontribs)

I've solved too, like Sidnaught, by adding following lines into LocalSettings.php

        $wgGroupPermissions['*']['read'] = true;
        $wgGroupPermissions['*']['edit'] = true;

note: use the actual ip address (not local host or too if parsoid is actually running on the same server.

Chitinlink (talkcontribs)

Well, I fixed it following the same instructions. We've also got some attention on the issue I opened, so maybe at some point this workaround will no longer be necessary.

MyWikis-JeffreyWang (talkcontribs)

Keep in mind that the fix needs to be at the very end of your configuration, after you've set your other $wgGroupPermissions variables. Otherwise, it'll just get overridden.

MyWikis-JeffreyWang (talkcontribs)

Hi @Woozle, I saw your recent edit to the summary. I've changed it back to the previous version because specifying the client's browser IP address is incorrect. The reason we use the server's IP is because the server is making cURL requests to itself. Logically, specifying the client's IP doesn't really make any sense either—it stands to reason that if they are editing with VisualEditor, they already have edit permissions.

Woozle (talkcontribs)

I think perhaps some more explanation is needed, then, because this is inconsistent with the workaround code given:

  $wgGroupPermissions['*']['read'] = true;
  $wgGroupPermissions['*']['edit'] = true;

According to the PHP docs for $_SERVER:

  • $_SERVER['REMOTE_ADDR'], which this example uses, is "The IP address from which the user is viewing the current page." i.e. the browser/client
  • $_SERVER['SERVER_ADDR'] is "The IP address of the server under which the current script is executing."

...so if this works as you say, wouldn't you want to use the latter?

I also verified that Apache is in fact being accessed from my client machine, and not from the machine serving it, by inserting some code into LocalSettings which logs the value of $_SERVER['REMOTE_ADDR']. When I attempted to save a page through VisualEditor, all the IP addresses logged were in fact my client IP, not the server's IP.

MyWikis-JeffreyWang (talkcontribs)

What I've said is perfectly consistent with the workaround code given, so you'll want to use the former.

  • When the browser makes requests to MediaWiki, it's authorized to edit using the user's permissions. In this case, it's simple: the browser is the client and the server is the server.
  • When PHP Parsoid needs to communicate with MediaWiki, it needs to access the MediaWiki API to either read, write, or both. (Not sure how this is exactly done yet in PHP Parsoid, which is why I guess the prevailing solution is to go ahead and grant both permissions.) In this case, Parsoid is the client making the requests to MediaWiki's API, and Parsoid now runs from the same server as MediaWiki. Therefore, in this case, the server is its own client. Apparently, when they released PHP Parsoid, they neglected to test how Parsoid is supposed to access the MediaWiki API if the wiki doesn't allow anonymous read/edit. This is the problem that this code snippet attempts to resolve. Since Parsoid doesn't have a "username" or some sort of API key that gives it special powers to do stuff, I guess this is the workaround that is required for now.

Why does Parsoid need to do internal talking to MediaWiki? Well, there's a lot of stuff that can't be done from the client side. They will need to do their own communication behind closed doors, and the browser is not privy to these communications.

This fix doesn't attempt to provide to fix an access issue for the end user, but rather for Parsoid accessing the MediaWiki API. Nothing is wrong with the browser-web server relationship, but something is wrong with the Parsoid-MW API interface. That's why we don't even consider the browser in this case. Hope that makes sense.

In response to: "When I attempted to save a page through VisualEditor, all the IP addresses logged were in fact my client IP, not the server's IP."

I'm assuming this is the Apache access log. What endpoint is logged as being accessed?

I would like to note that using the server IP, not the client IP, has worked for the rest of the commenters and the hundreds of wikis at MyWikis using VisualEditor. Please elaborate on how it would be possible to allow all client IPs to edit without allowing IPs not yet logged into MediaWiki.

Woozle (talkcontribs)

Okay, I think I understand what you're getting at: when dealing with Parsoid internal API requests, the server acts as the client.

I think I was confused because this doesn't match the behavior I'm seeing -- but it's possible there are other reasons for that: from what I can tell, the rest.php entry-point is (for some reason) rejecting requests from my browser (returning a 404 or 405 in its JSON response, depending on what is sent), so possibly the code never gets to the point where Parsoid makes its internal request, and therefore I don't see those requests in my logs.

I'm abandoning this issue for now as being non-critical-path, but I may get back to it at some point if it's not fixed upstream soonish.

Thanks for your explanation, and sorry for confusion on my part.

MrStonedOne (talkcontribs)

After everything in this thread failed. I was able to fix this by fixing my nginx config to allow path arguments to the rest.php script (wiki/rest.php/path/arguments)

location ~ \.php$ { to location ~ \.php(/|$) { and adding fastcgi_split_path_info ^(.+\.php)(/.+)$;

UGOBOSS777 (talkcontribs)


Here's the relevant content of my LocalSettings.php

wfLoadExtension( 'VisualEditor' );

wfLoadExtension( 'Parsoid', 'vendor/wikimedia/parsoid/extension.json' );

$wgGroupPermissions['user']['writeapi'] = true;

$wgDefaultUserOptions['visualeditor-enable'] = 1;

$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";

$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;

if ( $_SERVER['REMOTE_ADDR'] == 'XXX' ) {

  $wgGroupPermissions['*']['read'] = true;

  $wgGroupPermissions['*']['edit'] = true;

  $wgGroupPermissions['*']['writeapi'] = true;


Where XXX is my server IP address.

This didn't fix it for me... any idea what I did wrong??

Ciencia Al Poder (talkcontribs)

Note that XXX must be the server address as seen when it creates outgoing requests to itself. It may be and not a public IP, depending on how it's configured

UGOBOSS777 (talkcontribs)

I tried with It didn't work for me

MyWikis-JeffreyWang (talkcontribs)

@UGOBOSS777 Try replacing the if condition with: $_SERVER['REMOTE_ADDR'] === $_SERVER['SERVER_ADDR']

UGOBOSS777 (talkcontribs)

I changed the condition, still doesn't work

Revansx (talkcontribs)

This is the at-the-end-of-LocalSettings.php workaround that worked for me:

# To be added at the very bottom of /opt/meza/src/roles/mediawiki/templates/LocalSettings.php.j2 to allow VE to work in 35.x when meza_auth_type is "viewer-read" and apache is 100% localhost behind an SSL terminator/load-balancer/proxy front-end (like haproxy)

# Define and calculate "remote_ip_test" based on hierarchy of what we know about the requestor's origin from the request header
# Result: "remote_ip_test" is if-and-only-if it is truly an internal server-side request
if     (!empty($_SERVER['HTTP_CLIENT_IP']))       { $remote_ip_test = $_SERVER['HTTP_CLIENT_IP']; }
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $remote_ip_test = $_SERVER['HTTP_X_FORWARDED_FOR']; }
elseif (isset($_SERVER['REMOTE_ADDR'] ) )         { $remote_ip_test = $_SERVER['REMOTE_ADDR']; }

# If the request is truly an internal server-side request, then open the wiki up for full access
if (isset($remote_ip_test) && $remote_ip_test == '') {
  $wgGroupPermissions['*']['read'] = true;
  $wgGroupPermissions['*']['edit'] = true;
  $wgGroupPermissions['*']['writeapi'] = true;
} (talkcontribs)

Hi all,

I've tried everything on this page that I could and so far nothing is working for existing pages. The visual editor loads for new pages but dies with the error on existing pages. This is after a new install and XML import of a previous wiki.

I have my wiki behind a pfSense box, so it has a public ip on 1:1 NAT to a private IP. I've obviously tried the code at the top of this page with public, private, and local loopback addresses, but to no effect. I've also tried Revansx's code as well. I'm running Ubuntu 20.04 and apache2.

curl ifconfig.me shows my public IP, while ip a shows my private and local loopback IPs.

Any other ideas on what could be preventing this from working for me?



MattPilz (talkcontribs)

If you are experiencing this problem only on existing pages, but are able to create a new page and add a heading/paragraph and save it again, the problem may be a glitch in the wiki formatting itself.

In my case after switching from the basic code-only editor to VisualEditor, any page that included a preformatted textblock that itself also contained URLs seemed to throw this error. I removed the offending block(s) and replaced them with INSERT → MORE → CODE BLOCK and the problem went away.

I did not have to alter any other permissions or options even with a private wiki, it was just an odd parsing/content issue with some preformatted blocks. I have nothing special in LocalSettings.php, the following works fine (for private):

$wgGroupPermissions['*']['createaccount'] = false;

$wgGroupPermissions['*']['edit'] = false;

$wgGroupPermissions['*']['read'] = false; (talkcontribs)

Well drat. The visual editor loads when I create a new page, but when I go to save the page I get the error:

Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server

...so I can't even save a new page created w/ the visual editor.

Back to the drawing board.


Ajmichels (talkcontribs)

My private wiki (v1.35) runs in an AWS VPC and is exposed by an ALB (Application Load Balancer). The only way I could get this to work was to use the ALBs private IP addresses rather than the servers IP address. This is obviously a problem. Since all traffic is coming from the load balancer every request is made to the server with these IPs. Is there a way for me to configure the host that Parsoid uses to make its requests?

Regardless of whether or not the wiki is private it seems ridiculous that I can't use a loopback to avoid network overhead, these requests should not have to leave my network if they are being made against my server.

I am having a hard time finding any substantial documentation for configuring Parsoid. The "Installation" section of the main page says "No configuration necessary if used on a single server.", but then doesn't provide any information about what configuration would be necessary if in a multi-server environment. Most of the information on that page seems to be targeted towards people developing Parsoid, not people using it.

What am I missing?

I found the following but I haven't been able to get it to work for me. I would rather not go down the path of creating a separate Parsoid server.

$wgVirtualRestConfig['modules']['parsoid'] = array(
    // URL to the Parsoid instance.
    // You should change $wgServer to match the non-local host running Parsoid
    'url' => $wgServer . $wgScriptPath . '/rest.php',
    // Parsoid "domain", see below (optional, rarely needed)
    // 'domain' => 'localhost',

I tried using this to get Parsoid to stay within the server but no luck so far. It says "non-local host" but I am hoping I can trick it into calling itself locally using the loopback. I will probably have to dig into the code to figure how this actually works and if what I am trying to do is possible.

DJ7BA (talkcontribs)

I had the same problem using the Wiki Visual Editor in my microsoft edge browser.

also using the other wiki editor produced the same problem.

Solution - problem solved by good workaround:

When I copied my improved draft version to the same draft URL page, but on my Chrome browser, everything there went ok. No more such error.

This was found just by trial and error. I cannot give a technical explanation.

Reply to "Error contacting the Parsoid/RESTBase server: http-bad-status"

The server did not respond within the expected time.

Aessaputra (talkcontribs)

The server did not respond within the expected time.

mediawiki 1.35 error after installing Math and visual editor extension. anyone know the problem?

Reply to "The server did not respond within the expected time."

Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server

Arent (talkcontribs)


Having trouble enabling VisualEditor, I suddenly realized SELinux might be the cause. So I ran

# setenforce 0

which did the trick. Digging further,

# setsebool httpd_can_network_connect 1

and enabling selinux again, was enough to use VisualEditor


Reply to "Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server"