Discussion:
apache2: ERR_CONTENT_LENGTH_MISMATCH (unexpectedly closed the connection)
(too old to reply)
Daniel Bauer
2020-03-22 08:13:01 UTC
Permalink
Hi,
when trying to access a file that isn't a .php or .txt file in
/srv/www/htdocs/... from another device in the same local net (192.168.1.x) I
This page isn't working
192.168.1.38 unexpectedly closed the connection
ERR_CONTENT_LENGTH_MISMATCH
192.168.1.34 - - [21/Mar/2020:11:34:44 +0100] "GET
/Entwicklung/karls/logo_small.png HTTP/1.1" 200 4002 "-" "Mozilla/5.0 (Linux;
Android 8.1.0; DRA-L21) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/70.0.3538.110 Mobile Safari/537.36"
there is nothing related in apache2 error.log
I can access and display an "index.php" on the same location, also a
"x.txt"-file in a subfolder of this location, but no .js, .png, .mp3 files -
they all produce the error above, even when smaller in bytes than the .php file
I can access /all/ files from a browser on the same machine where apache is
running. The errors occur only when accessing from another device in the same
wifi-net
What could that be?
Weird error: ERR_CONTENT_LENGTH_MISMATCH
https://stackoverflow.com/q/28993959/3422102
Been on that page, too. But this is for typo3, I believe - or I wouldn't
know where to put that "config.enableContentLengthHeader = 0"... ???
--
Daniel Bauer photographer Basel Málaga
https://www.patreon.com/danielbauer
https://www.daniel-bauer.com
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
To contact the owner, e-mail: opensuse+***@opensuse.org
Per Jessen
2020-03-22 08:39:36 UTC
Permalink
Hi,
when trying to access a file that isn't a .php or .txt file in
/srv/www/htdocs/... from another device in the same local net
This page isn't working
192.168.1.38 unexpectedly closed the connection
ERR_CONTENT_LENGTH_MISMATCH
[snip]
I can access /all/ files from a browser on the same machine where
apache is running. The errors occur only when accessing from another
device in the same wifi-net
another *mobile* device ?

Daniel, I was wondering if you maybe had a another computer, maybe
laptop, to try your website with? That way you might be able to limit
the issue to having to do with mobile devices.
--
Per Jessen, Zürich (3.1°C)
http://www.hostsuisse.com/ - dedicated server rental in Switzerland.
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
To contact the owner, e-mail: opensuse+***@opensuse.org
Carlos E. R.
2020-03-22 12:12:34 UTC
Permalink
Post by Per Jessen
Hi,
when trying to access a file that isn't a .php or .txt file in
/srv/www/htdocs/... from another device in the same local net
This page isn't working
192.168.1.38 unexpectedly closed the connection
ERR_CONTENT_LENGTH_MISMATCH
[snip]
I can access /all/ files from a browser on the same machine where
apache is running. The errors occur only when accessing from another
device in the same wifi-net
another *mobile* device ?
Daniel, I was wondering if you maybe had a another computer, maybe
laptop, to try your website with? That way you might be able to limit
the issue to having to do with mobile devices.
Or run a virtual machine, with a different IP in the same LAN.
--
Cheers / Saludos,

Carlos E. R.
(from 15.1 x86_64 at Telcontar)
David C. Rankin
2020-03-22 04:01:02 UTC
Permalink
Hi,
when trying to access a file that isn't a .php or .txt file in
/srv/www/htdocs/... from another device in the same local net (192.168.1.x) I
This page isn't working
192.168.1.38 unexpectedly closed the connection
ERR_CONTENT_LENGTH_MISMATCH
192.168.1.34 - - [21/Mar/2020:11:34:44 +0100] "GET
/Entwicklung/karls/logo_small.png HTTP/1.1" 200 4002 "-" "Mozilla/5.0 (Linux;
Android 8.1.0; DRA-L21) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/70.0.3538.110 Mobile Safari/537.36"
there is nothing related in apache2 error.log
I can access and display an "index.php" on the same location, also a
"x.txt"-file in a subfolder of this location, but no .js, .png, .mp3 files -
they all produce the error above, even when smaller in bytes than the .php file
I can access /all/ files from a browser on the same machine where apache is
running. The errors occur only when accessing from another device in the same
wifi-net
What could that be?
See:

Weird error: ERR_CONTENT_LENGTH_MISMATCH
https://stackoverflow.com/q/28993959/3422102
--
David C. Rankin, J.D.,P.E.
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
To contact the owner, e-mail: opensuse+***@opensuse.org
Loading...