Jump to content

Topic on Project:Support desk

ERR_CONNECTION_RESET editing a sub section

9
Darkmatterenergy (talkcontribs)

wikimedia 1.35 on linux debian, php 7.3

what possibly could give a client side ERR_CONNECTION_RESET editing a sub section, no apparent errors server side, editing the entire page works properly, I intentionally disabled https, plain http is enough inside a secure lan

thanks for any hints whatsoever where to look possibly

Ciencia Al Poder (talkcontribs)

Did you look at your webserver error logs (apache error logs, php-fpm process logs...)? A connection reset may indicate the webserver or (more commonly) the php engine crashed while processing the request (usually with a SIGSEV signal, or "segmentation fault"). If that's the case, this may happen due to a buggy php extension installed, sometimes related to php caching.

Darkmatterenergy (talkcontribs)

I have this at the beginning of LocalSettings.php :

error_reporting( E_ALL );

ini_set( 'display_errors', 1 );

and at the end :

$wgShowError = true;

$wgShowErrors = true;

$wgShowSQLError = true;

$wgShowSQLErrors = true;

$wgShowException = true;

$wgShowExceptions = true;

$wgShowExceptionDetails = true;

$wgDebugComments = true;

$wgDebugLogFile = "/var/log/mediawiki/logfile.log";

no errors in /var/log/apache2/error.log

[Tue Sep 17 21:07:31.966640 2024] [mpm_prefork:notice] [pid 1487] AH00163: Apache/2.4.38 (Debian) configured -- resuming normal operations

[Tue Sep 17 21:07:31.966765 2024] [core:notice] [pid 1487] AH00094: Command line: '/usr/sbin/apache2'

in /var/log/mediawiki/logfile.log

I can't find any "error" or "segmentation" what should I look for say "timeout" ?

/var/log/syslog also nothing apparent :

Sep 17 21:07:31 mediawiki1 systemd[1]: Started The Apache HTTP Server.

Sep 17 21:09:00 mediawiki1 systemd[1]: Starting Clean php session files...

Sep 17 21:09:00 mediawiki1 systemd[1]: phpsessionclean.service: Succeeded.

Sep 17 21:09:00 mediawiki1 systemd[1]: Started Clean php session files.

Sep 17 21:09:01 mediawiki1 CRON[1558]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)

Sep 17 21:22:01 mediawiki1 CRON[1566]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)

Sep 17 21:39:00 mediawiki1 systemd[1]: Starting Clean php session files...

Sep 17 21:39:00 mediawiki1 systemd[1]: phpsessionclean.service: Succeeded.

it is php 7.3, how to configure php-fpm ?

Ciencia Al Poder (talkcontribs)

If you are using apache, you're using apache-mod-php and not php-fpm.

Looks like you can discard a segmentation fault at this point. It may be an intermediate firewall or proxy (mis)detecting some weird thing and resetting the connection. Only you know the different devices/software between your browser and the server to know what could be. A network inspecting tool like Wireshark or tcpdump can be used by an expert to check on both server and client from where the connection reset originates.

95.232.143.2 (talkcontribs)

from wireshark, after the POST there is a red RST, connection dropped I suspect from server side, the strange thing is that editing the entire page works

Darkmatterenergy (talkcontribs)

if possible to delete previous message, it should be :

from wireshark on client side, after the POST there is a red RST, connection dropped I suspect from server side, the strange thing is that editing the entire page works

185.80.140.124 (talkcontribs)

tgf

185.80.140.124 (talkcontribs)

ugvvjn

185.80.140.124 (talkcontribs)

lkkl

Reply to "ERR_CONNECTION_RESET editing a sub section"