Error 421 Authorization Required

Error 421 Authorization Required

by John Sarif -
Number of replies: 1

Hello,

I had a Moodle installation version 1.9.19.

I updated by going through the following update path 1.9.19 -> 2.1.10 -> 2.2.11 -> 2.8.12 -> 3.1.2.

As part of the upgrade I had to set the PHP option register_globals off which couldn't be done on the server I was hosted. So I asked my host for a solution and they moved me to another server.

Now, from time to me and my students are getting this error message and I don't know what's causing it, if it's something from Moodle itself, if it's a setting in cPanel or something from the host. Sometimes, it goes away with a simple refresh. But in one case, a student had to wait 30 minutes for the error to go away. Thank you for the help.


Average of ratings: -
In reply to John Sarif

Re: Error 421 Authorization Required

by Ken Task -
Picture of Particularly helpful Moodlers

IF it is in Moodle ...

Site Admin -> Security -> Site Policies

Account lockout threshold - default is no
Account lockout observation window - default is 30 Min
Account lockout duration - default is 30 Min.

Check permissions/ownerships on moodledata/sessions where session files are located for every login.

Check browser cookies one gets from the Moodle server - think there are two - one involves sesssion.

The error page, however, doesn't look to be the 'typical' Moodle
error page but an Operating system/Apache (Nginx/IIS) type error page.

Might check with hosting provider FAQ's client KB or helpdesk info as it could be a setting other than Moodle.

Search Google for "response 421 too many connections from this ip" and you'll see what I mean.

'spirit of sharing', Ken