Topic on Project:Support desk

VirsualEditor & error 500

2
Michelandre (talkcontribs)

- OS: NethServer-7.6.1810

● MediaWiki 1.31.6 (c168a3f)

● PHP 7.2.26 (fpm-fcgi) (from nethserver-php-scl)

● MariaDB 10.2.22-MariaDB (from nethserver-rh-mariadb102)

● ICU 62.1

● Semantic MediaWiki 3.1.1

● CharInsert - (b5f34be)

● MsUpload 12.0 (d854ddf)

● ParserFunctions 1.6.0 (a28ad04)

- node v6.17.1

- npm 3.10.10

- parsoid 0.11.0 / 2019-12-20

- VisualEditor 0.1.0 (c3c9140)


MediaWiki and Semantic are working correctly, create, edit etc...


- I installed and adjusted VisualEditor according to: https://www.howtoforge.com/tutorial/how-to-install-visualeditor-for-mediawiki-on-centos-7/


● Why VisualEditor can starts correctly when I create a new file but gives  when I want to save it: HTTP 500?


● When I edit a file, VisualEditor does’t start "Error loading data from server: apierror-visualeditor-docserver-http: HTTP 500. Would you like to retry?"?


● Jan 19 01:32:59 server-name node: {"name":"parsoid","hostname":"server-name/domain-name","pid":2621,"level":60,"err":{"message":"","name":"lib/index.js","stack":"AccessDeniedError: Your wiki requires a logged-in account to access the API.\n    at AccessDeniedError (/opt/parsoid/lib/mw/ApiRequest.js:214:3)\n    at ConfigRequest._handleJSON (/opt/parsoid/lib/mw/ApiRequest.js:920:13)\n    at ConfigRequest.ApiRequest._logWarningsAndHandleJSON (/opt/parsoid/lib/mw/ApiRequest.js:447:7)\n    at ConfigRequest.ApiRequest._handleBody (/opt/parsoid/lib/mw/ApiRequest.js:483:7)\n    at ConfigRequest.ApiRequest._requestCB (/opt/parsoid/lib/mw/ApiRequest.js:420:8)\n    at Request.request [as _callback] (/opt/parsoid/lib/mw/ApiRequest.js:332:35)\n    at Request.self.callback (/opt/parsoid/node_modules/request/request.js:185:22)\n    at emitTwo (events.js:106:13)\n    at Request.emit (events.js:191:7)\n    at Request.<anonymous> (/opt/parsoid/node_modules/request/request.js:1157:10)\n    at emitOne (events.js:96:13)\n    at Request.emit (events.js:188:7)\n    at IncomingMessage.<anonymous> (/opt/parsoid/node_modules/request/request.js:1079:12)\n    at IncomingMessage.g (events.js:292:16)\n    at emitNone (events.js:91:20)\n    at IncomingMessage.emit (events.js:185:7)\n    at endReadableNT (_stream_readable.js:978:12)\n    at _combinedTickCallback (internal/process/next_tick.js:80:11)\n    at process._tickCallback (internal/process/next_tick.js:104:9)","httpStatus":401,"levelPath":"fatal/request"},"msg":"Your wiki requires a logged-in account to access the API.","time":"2020-01-19T06:32:59.867Z","v":0}


● What user should I create? // "Your wiki requires a logged-in account to access the API."


Michel-André

Bawolff (talkcontribs)
Reply to "VirsualEditor & error 500"