Hi,
I'm attempting to use visualeditor over https, but when I attempt to edit an article using visualeditor I'm constantly getting curl error 55:
"Error loading data from server: apierror-visualeditor-docserver-http-error: (curl error: 55) Failed sending data to the peer. Would you like to retry?"
Localsettings.php:
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";
$wgHiddenPrefs[] = 'visualeditor-enable';
// $wgVisualEditorParsoidURL = 'https://mydomain.net:8143';
$wgVirtualRestConfig['modules']['parsoid'] = array(
'url' => 'https://mydomain.net:8143',
'domain' => 'localhost',
'prefix' => 'localhost',
// 'forwardCookies' => false,
// 'parsoidCompat' => false
);
Stunnel parsoid.conf:
cert = /etc/httpd/conf/ssl/mydomain.net.crt
key = /etc/httpd/conf/ssl/mydomain.net.key
CAfile = /etc/httpd/conf/ssl/root.crt
[parsoid]
accept = 8143
connect = 8142
Parsoids localsettings.js:
'use strict';
exports.setup = function(parsoidConfig) {
// Do something dynamic with `parsoidConfig` like,
parsoidConfig.setMwApi({
uri: 'https://mydomain.net/wiki/api.php'
});
};
I've tried millions of different combinations of uri/url, any help is greatly appreciated.