Very similar to an issue that was already closed, but despite following the steps, I still get a cURL 7 error. Relatively new to MediaWiki
Similar to T207504, but all attempts to follow it and other tickets were unsuccessful at fixing the issue.
Specs:
Debian 9.11
MediaWiki 1.31.0
PHP 7.0.33-0+deb9u1
Parsoid 0.10.0
Server is working on an intranet in an office and the regular HTML editing works fine. We can cue up VE on a new page since there's nothing for it to parse, but going to save it returns the cURL error.
I think the issue is either the port I am using or a firewall setting. I am attempting to do 8142 (recommended for Debian), and every time I use cURL on http:// [[IPAddress or localhost]] / [[wiki name]] / api.php I get the HTML output. But when I do http:// [[IPAddress or localhost]]:8142 / [[wiki name]] / api.php, I get "Failed to connect to [[IP/localhost]] port 8142: Connection refused. netstat doesn't list the port either.
Any help is appreciated. I do not mind redoing steps I've already tried. Thanks!
config.yaml
mwApis:
- # This is the only required parameter,
- the URL of you MediaWiki API endpoint uri: 'http:// [[IP Address]] / [[wiki-name]] / api.php'
- domain: 'localhost' #optional
LocalSettings.php
$wgVirtualRestConfig['modules']['parsoid'] = array(
// URL to the Parsoid instance // Use port 8142 if you use the Debian package 'url' => 'http:// [[IPAddress]] :8142' , // Parsoid "domain", see below (optional) // 'domain' => 'localhost' ,