Re: Validator availability
"Michael[tm] Smith" <[email protected]> Mon, 6 Apr 2015 12:06:32 +0900
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
Hi Jens, Jens Oliver Meiert <[email protected]>, 2015-04-05 20:51 +0200: > Archived-At: <http://www.w3.org/mid/CAJ0g8QROi-9-M8n10X_HdfCwev8aMDwvb+R05p2X07n2tCFZ7g@mail.gmail.com> > > I repeatedly run into issues with validator.w3.org either returning > “excessive traffic pattern blocked” (via a commercial VPN) or nothing > at all (via Tor). > > Is this happening elsewhere, or can the W3C team comment? As far as the problem of the validator repeatedly not returning anything at all, I can’t recall ever seeing any other reports of that—nor any other reports of problems access it through Tor. But that could just be because not many people have tried using it through Tor. Does it happen every time you try to you make a validation request to validator.w3.org through Tor? Or only sometimes? Does it happen if you use http://validator.w3.org/nu/ instead? Or if you use the CSS validator? We may be able to troubleshoot it by having you make a validation request for a particular URL and checking the validator logs to see if anything unexpected is getting logged at the times when you’re seeing nothing returned. As far as the “excessive traffic pattern blocked” problem the W3C systems team does get reports of that regularly, and every single time they investigate it they find that in fact it is because a particular IP address or range is actually sending excessive traffic to the validator. The short answer to how to solve that problem is: Run a local copy of the Nu HTML Checker instead—either just using the vnu.jar executable directly from the command line, or by using it to run your own Web-based persistent instance of the checker— http://validator.github.io/validator/ http://validator.github.io/validator/#web-based-checking The longer answer is: Any traffic from a particular IP address or range that’s more than a certain maximum number of allowed requests per minute is considered excessive. The maximum is set high enough that it’s not something you’re ever going to it hit if you’re just checking documents using the Web-based form frontend and manually entering a URL for a document to check, or a file to upload for checking. But the common case where people have run into it in the past has been when they’ve installed a browser plugin that automatically sends a request to the validator for every single page they visit—or when somebody else in their local network has such a browser plugin installed. Otherwise the only other case where I think you’d ever hit the limit is if you’re running a script or some other custom application that’s capable of sending a large number of requests to the validator in a short amount of time. I’ve gotten blocked myself just when running a simple shell script that recursively finds all HTML files in a particular directory and then uses curl to make a validator request for each HTML file it finds. If you’re running a script or app like that and it’s processing a lot of files at once, you’re going to get blocked and there’s no way to avoid it— because it is actually generating an excessive amount of traffic as far as the W3C rate-limiting metrics are concerned. But the solution to that problem is as I mentioned above pretty straightforward: Just grab the latest vnu.jar release and run that locally. —Mike -- Michael[tm] Smith https://people.w3.org/mike
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVIfgzAAoJEIfRdHe8OkuVSUgQAJzamblB/yalHgcYrMwXap2y ENw/H0uPG/nElkDO/uA0dGLhAYIQoYvBHWdK0uGAn5TBUuMG57i6HKN5y685Yrdl eTuGcp7HiorIATxvvxZ/uc/5Gg2tps+T9ww25M/2B1/Fsx/uWmOAy3M0oiWyfznE bzqA+b6TwtOUDMOp8uK7a6tX69dpeqCELSISRUTW3Hxn/vpRSA7wjEMFOVajVt4I 2mnh4Xy9ie7+BX+LDlv9J7LUuAd850RU/OHW7aPS1eJ6RxwPgWCoE+b9/jO6eUiv H/MUPX1AydXoKSsgSqMSG5BK5Lrh24ljKGeIWWO5rZQljQ7b219cl0BNwj+30rS8 7YLluJ4Ma6yQN0q6YmLIR+Fe992fM9j5vQ5HV5RgW+K5jBWv+7bMHaPPfITuGYey lduW3mIxtXt2SImyDh1RW5NMWap34qXYrKpk07bnvkXt38oh5jhT3eO747parLbu +QQryoV0E14Eqnp7FBXtQonyTJHgGi5PEZOKpLWui/tUiuPuN+wO9Q1wfJ0VZksL bXiao/QSTFIro73MkVOLNEBtANPstWXoxZu11JQAn5UxyaCz4Q2c88w2rqyeILt9 J5q4CaQIFqb6taFahbo617gv1RLGmcxQfvWIHOGbo8sFvJC2fUoGjX2x307wLZj7 zQacYCIf8Ppq97lNYgOq =0Clp -----END PGP SIGNATURE-----