Topic on Extension talk:VisualEditor

The error "http" appears in a JS alert box. What could this mean?

5
Summary by Seb35

php-curl was missing.

216.114.117.77 (talkcontribs)

My installation is throwing up a JS alert box whose only content is the string "http". That's it.

This is with MediaWiki 1.28.2, snapshot 93528b7 of VisualEditor as provided by the extension distributor, and snapshot 7f120fa of Parsoid from https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid.

The wiki is private and uses HTTPS. I have checked, and I have correctly entered HTTPS URIs in both Parsoid's config.yaml and MediaWiki's LocalSettings.php.

No messages appear in the browser's console. My Parsoid server doesn't see anything happen. I don't know of any other logs to provide. Does anyone know what my cause this kind of issue?

Thanks!

216.114.117.77 (talkcontribs)

I should add a crucial piece of information: The JS box appears after some delay when I hit the edit link for a page.

Spas.Z.Spasov (talkcontribs)

Have you setup `stunnel` for Parsoid?

216.114.117.77 (talkcontribs)

I'm pretty sure I have. It is installed, and it appears to be running according to service --status-all. Here is my configuration for stunnel, located at /etc/stunnel/parsoid.conf:

cert = /etc/letsencrypt/live/(redacted)/fullchain.pem
key = /etc/letsencrypt/live/(redacted)/privkey.pem

[parsoid]
accept  = 8143
connect = 8142

I don't actually know anything about stunnel other than that it's supposed to let VisualEditor and Parsoid talk over HTTPS. Or that's my understanding. I will try to learn more, including looking for log files. Please let me know if there is any other configuration you would like to see

If it's important, I'm using Let's Encrypt, which seems to be working perfectly.

216.114.117.77 (talkcontribs)

Figured it out. I needed to install php-curl. Doing that resolved this issue.