Topic on Project:Support desk

Error contacting the Parsoid/RESTBase server (HTTP 301) error

3
Timingliu (talkcontribs)

I have the error after installing 1.35 and using certbot https://certbot.eff.org/lets-encrypt/ubuntubionic-apache.html to install SSL certificate.

I chose 2 for the following cert option: 1: No redirect - Make no further changes to the webserver configuration.

2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you're confident your site works on HTTPS. You can undo this change by editing your web server's configuration.

My question is, how to set up https redirect and visual editor together? it works fine under just http but may not be the safest option. Or should I selectively redirect (i.e. redirect all users to https but parsoid stays in http?) If so how can I do that?

Thanks a lot!

MarkAHershberger (talkcontribs)

You should redirect all requests to https and $wgServer should point to https. If you do that, you should not have a problem with 301.

Timingliu (talkcontribs)

problem solved thanks!

Reply to "Error contacting the Parsoid/RESTBase server (HTTP 301) error"