I have a MediaWiki installation with VisualEditor and Parsoid server.
This was working well until fairly recently. Something changed, but unfortunately, I can't identify what it was. Now when clicking the edit link on any page this error pops up:
Error loading data from server: apierror-visualeditor-docserver-http-error: (curl error: 52) Server returned nothing (no headers, no data). Would you like to retry?
MediaWiki: 1.30.0
Parsoid: 0.8.0
I get the same curl error if I try to use curl to test the parsoid server from the command line:
$ curl -L http: //localhost:8000/version curl: (52) Empty reply from server
If I telnet to the port and type the GET command, I get a response:
$ telnet localhost 8000 Trying ::1... Connected to localhost. Escape character is '^]'. GET /version HTTP/1.1 200 OK X-Powered-By: Express Access-Control-Allow-Origin: * Content-Type: application/json; charset=utf-8 Content-Length: 36 ETag: W/"24-4cl/tnkz8/d5N8Iw6BlbZIYKEhs" Vary: Accept-Encoding Date: Tue, 14 Apr 2020 16:55:33 GMT Connection: close {"name":"parsoid","version":"0.8.1"}Connection closed by foreign host.
Host is Centos release 7.7.1908