Saving in Site Admin sometimes causes ERR_CONNECTION_RESET. Problem is reproducible.

Saving in Site Admin sometimes causes ERR_CONNECTION_RESET. Problem is reproducible.

by Patrick Gay -
Number of replies: 3

Note: I added spaces in the URL because the forum thought it was spam. The URLs are correct, spaces redacted.

When I visit http: // servername / moodle / admin / settings.php ?section=editorsettingsatto and click the "Save Changes" button, I get this message: "This site can't be reached. The connection was reset.  ERR_CONNECTION_RESET". 

However, when I visit 

http: // servername / moodle / admin / category.php?category=editoratto and click the "Save Changes" button, everything works just fine.

I have look at everything I can think of, including the server error logs and I can find nothing, save the message below. This problem only seems to occur, right now, when changing parameters on Site administration.  When I do something else, say for example: Authentication, LDAP server, it works perfectly fine. It hasn't happened on the front end yet.

The only thing I did find when I enabled Apache debug was this when I tried to Save:
[Sun Sep 13 18:17:04.965814 2020] [charset_lite:debug] [pid 31885] mod_charset_lite.c(219): [client: ipaddr] AH01448: incomplete configuration: src unspecified, dst unspecified, referer: http:// servername . domain. com/ moodle/ admin/ settings.php?section=atto_equation_settings. The config.php file has this in it for wwwroot = 'http: // servername /moodle'

Anyone have any ideas about what might be causing this?

Version Information:
Moodle Version: 3.9.1
Apache Version: 2.4.6
Database: MariaDB 10.5.5
PHP: 7.4.10
Browsers: Chrome and Firefox 
Moodle was installed from git.
Theme: Boost
Average of ratings: -
In reply to Patrick Gay

Re: Saving in Site Admin sometimes causes ERR_CONNECTION_RESET. Problem is reproducible.

by Ken Task -
Picture of Particularly helpful Moodlers

Never saw that one before ... however, the apache error suggest looking at config of apache ...

"mod_charset_lite.c(219): [client: ipaddr] AH01448: incomplete configuration: src unspecified, dst unspecified"

especially at the mods configured to load ...

Here's specific reference in apache docs:

https://httpd.apache.org/docs/2.4/mod/mod_charset_lite.html

Running mod_security?  Appears there is a rule related ...

find ./ -name mod_charset_lite.so

./modules/mod_charset_lite.so matches

Good luck!

'SoS', Ken





Average of ratings: Useful (1)
In reply to Ken Task

Re: Saving in Site Admin sometimes causes ERR_CONNECTION_RESET. Problem is reproducible.

by Patrick Gay -

Hi all,

Firstly, thanks Ken. I thought the same thing, but I didn't do anything about it until another set of eyes took a look.  

Anyway, I didn't need mod_charset_lite, it was just being loaded by default, so I set it not to load. I tried the action and the problem remained.

I turn debug up to 7 on apache, including DumpIO and reproduced the problem. There was nothing in the logs that I saw in the logs pointing to a problem.  See attached file.

Anyone have any ideas?


In reply to Patrick Gay

Re: Saving in Site Admin sometimes causes ERR_CONNECTION_RESET. Problem is reproducible.

by Stefano Modafferi -
We are experiencing the same issue. Any support is appreciated.

We do not have any problem in a cloud installation with an URL, while we are experiencing the problem in the dev environment (not in the cloud) where we use an IP address.

page: http:// IPADDRESS /moodle/admin/settings.php?section=themesettings
Action: trying to update the URL of the top bar (home... etc).

Moodle version: 3.11.
Browsers: Chrome and Firefox
apache version: 2.4.41-4 on ubuntu3.1
mysql version: 8.0.23-0 on ubuntu0.20.04.1
php: 7.4.3
Theme: Edumy, but I do not think that this matters.
Average of ratings: Useful (1)