Re: IO error
"Michael[tm] Smith" <[email protected]> Fri, 26 Jun 2015 12:43:54 +0900
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
Alberto Nannini <[email protected]>, 2015-06-19 00:43 +0200: > Archived-At: <http://www.w3.org/mid/[email protected]> > > your validator rise up an "IO error" validating my site. > > Here is my homepage url: [1]http://www.notanumber.it/en/ > > Let me know if there is something wrong. That server is sending a broken gzip response. I think the response is either missing the standard/expected 8-byte gzip trailer, or the gzip trailer is corrupted—maybe because the server is closing the connection before it’s sent the whole response. If you have the “curl” command around, you can test the server by doing this: curl -s -H “Accept-Encoding: gzip” http://www.notanumber.it/en/ | gunzip -t You’ll get back the error message “gzip: stdin: unexpected end of file”. You won’t see that error message if you try the same thing for a URL from a server that’s sending a valid gzip response; for example: curl -s -H “Accept-Encoding: gzip” https://sideshowbarker.net/ | gunzip -t The reason this doesn’t cause any problems in Web browsers is that I think browsers will quietly ignore a corrupted or missing trailer. But other tools (e.g., the gunzip tool) will not. So the right solution to the problem would be to try to get that server fixed so that it’s not sending out a broken gzip response. In the mean time if you want to run the HTML checker on any URLs from that server, you’ll need to turn off gzip compression on the server (until you can get the cause figured out and fixed). —Mike -- Michael[tm] Smith https://people.w3.org/mike
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVjMp1AAoJEIfRdHe8OkuVAGsQAJZRRs7CzONdvqNjaGpuMYcW 9DFEmTfr8IniFPfpOIbSn3Hj1Cm6dWbd9jCkMBP+AvvuPEbnAaNg9iS8ipkRZp0X o65qzrNvjTIM8S0NlSRzGUyuUOL0qDEBDk90SNcghzlxbjo26Lx7bAK1c10Z3E4M u3V2rbr0BDQNZLrjTgmrhntbSyZSX/r/F+HofJ3rf6GpHNP4dVJ7GzJLJneZryzZ 27f48FciZScVAIjvqHp5gLb2F09NKyaEUUwcxyHKhaKMpImb2vyOIBkUd2PTCyXe 5FKlDF3uFvPua4Oojq+bcURam+WPzWRNS6ReYIMYNc6nunqpu1iYlkc1d5kaeTnQ Q0/3TJ60iDc0hrAFOR5TiZ78OYJ1rHWhv7xutxmWDNvYTnqgK+zNgdMAIs6WJh+0 1PhC/0S+RAoOvjzaDAGFZ5UneapDZS1PQGkkROOfZ0zY0wsp1Vq9x6K7v4FBoBZ/ W41d9YYTObIOWIQdIiPQ89UmLfRoEMEji+rJDL/4XUbIYiiEhlM8mCfiU8KXlKrs QZN4yu6XAIXQtge4VpqH4Iar6JyU/2DA+dF8P8DAjBl9IntN2hRmzTcnEqNFhDr5 7fJxWFWMxoKfNwHeqtnlqJ58XqSE3diy9l+f6KK4UjLWxzlcM3eHqeN482I47OMT qZfjMIcq1snnTR+PYh9t =Xxri -----END PGP SIGNATURE-----