brackets-w3cvalidation icon indicating copy to clipboard operation
brackets-w3cvalidation copied to clipboard

Time out.

Open zsolt247 opened this issue 9 years ago • 46 comments

Hi, the W3C Validation stopped working, I get the following message:

"W3CValidation has timed out after waiting for 10000 ms"

Using the latest Brackets 1.3, everything is updated.

Your help would be appreciated. Thanks.

zsolt247 avatar Jun 18 '15 15:06 zsolt247

Wow, it looks like it stopped working. It was working fine earlier.

cfjedimaster avatar Jun 21 '15 02:06 cfjedimaster

Fixed - will be on the registry in a bit.

cfjedimaster avatar Jun 21 '15 02:06 cfjedimaster

I have the same. And the w3c validation service blocks my ip due to abuse of the requests

olivaresp avatar Jun 24 '15 13:06 olivaresp

I saw this happen Monday. I don't know how as I had only tested a few times. Will look again later this week.

cfjedimaster avatar Jun 24 '15 13:06 cfjedimaster

I wouldn't mind if the validation was on demand only instead of automatically re-validating with every code change... Just a thought...

zsolt247 avatar Jun 24 '15 13:06 zsolt247

Unfortunately that's not how the Brackets Linting API works. I'd have to change the extension to be more manual.

On Wed, Jun 24, 2015 at 8:42 AM, zsolt247 [email protected] wrote:

I wouldn't mind if the validation was on demand only instead of automatically re-validating with every code change... Just a thought...

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-114871785 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Jun 24 '15 13:06 cfjedimaster

Hi Raymond,

I'm seeing the same error message today.

LukeMcGurdy avatar Jul 14 '15 14:07 LukeMcGurdy

If you can, open up the dev tools and see if you are being blocked for hitting the API too much.

On Tue, Jul 14, 2015 at 9:07 AM, LukeMcGurdy [email protected] wrote:

Hi Raymond,

I'm seeing the same error message today.

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-121248722 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Jul 14 '15 14:07 cfjedimaster

I am having the same problem today also. Only installed the extension yesterday, when it worked fine.

Failed to load resource: the server responded with a status of 403 (Forbidden)

marcusyoung avatar Jul 16 '15 13:07 marcusyoung

Yep - nothing I can do about it for now - their API is blocking the extension for misuse even though it shouldn't be hitting it that much. I've seen an example of using the Java library from Node, but that would require a big rewrite of the extension. For now, I'm open to someone giving me a hand here because I'm out of ideas.

On Thu, Jul 16, 2015 at 8:17 AM, Marcus Young [email protected] wrote:

I am having the same problem today also. Only installed the extension yesterday, when it worked fine.

Failed to load resource: the server responded with a status of 403 (Forbidden)

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-121953069 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Jul 16 '15 13:07 cfjedimaster

Hi Raymond,

As of this moment it looks fine so there is nothing to check. I will add that a couple of days back my IP was blocked from the W3C validation site for 24 hours because I had apparently exceeded the max number of requests. I had been saving a lot that day so if I understand your response about the nature of the Brackets Linting API this might explain why my IP was blacklisted.

I appreciate the extension all the same.

LukeMcGurdy avatar Jul 16 '15 14:07 LukeMcGurdy

Help! I have been using this extension fine for a couple of days with no problems, but suddenly I received a timeout "IP blocked due to re-requesting files too often" The specific type of abuse we observed is: re-requesting the same resource too frequently. Specifically, we received at least 500 requests for the same resource (URI) from your IP address within a ten-minute time interval. http://www.w3.org/Help/abuse-info/re-reqs.html

jbwCode avatar Aug 29 '15 23:08 jbwCode

Yep, known issue. Nothing I can really do about it for now. I've looked into converting the extension to run a Jar locally, but it is a lot of work I'm not sure I want to actually do at this moment.

On Sat, Aug 29, 2015 at 6:04 PM, jbwCode [email protected] wrote:

Help! I have been using this extension fine for a couple of days with no problems, but suddenly I received a timeout "IP blocked due to re-requesting files too often" The specific type of abuse we observed is: re-requesting the same resource too frequently. Specifically, we received at least 500 requests for the same resource (URI) from your IP address within a ten-minute time interval. http://www.w3.org/Help/abuse-info/re-reqs.html

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-136059685 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Aug 29 '15 23:08 cfjedimaster

Hmmm... sad to hear, it's an awesome extension! Maybe something in the html file is triggering the bug? I was using it fine with files in one folder for two days. When I opened up a folder with tutorials from a couple of months ago, it triggered the error...

One thing I can tell you, is that the files in the folder I just opened were missing "<!doctype html>"

jbwCode avatar Aug 29 '15 23:08 jbwCode

Not sure it is a bug per se - it uses the built in linting API for Brackets. Maybe it is triggering on a bunch of files at once? So you literally got this just opening a folder?

On Sat, Aug 29, 2015 at 6:11 PM, jbwCode [email protected] wrote:

Hmmm... sad to hear, it's an awesome extension! Maybe something in the html file is triggering the bug? I was using it fine with files in one folder for two days. When I opened up a folder with tutorials from a couple of months ago, it triggered the error...

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-136061815 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Aug 29 '15 23:08 cfjedimaster

One thing I can tell you, is that the files in the folder I just opened were missing "<!doctype html>"

jbwCode avatar Aug 29 '15 23:08 jbwCode

No promises, but this week Ill try to see if I can see Brackets doing something weird network wise. 500 seems like a lot in ten minutes.

On Sat, Aug 29, 2015 at 6:15 PM, jbwCode [email protected] wrote:

One thing I can tell you, is that the files in the folder I just opened were missing "<!doctype html>"

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-136061934 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Aug 29 '15 23:08 cfjedimaster

Thanks, I was thinking of blocking Brackets on my Windows 7 firewall to prevent spurious packets from getting out +1:

jbwCode avatar Aug 29 '15 23:08 jbwCode

Just easier to disable my extension. :)

On Sat, Aug 29, 2015 at 6:20 PM, jbwCode [email protected] wrote:

Thanks, I was thinking of blocking Brackets on my Windows 7 firewall to prevent spurious packets from getting out +1:

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-136062083 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Aug 29 '15 23:08 cfjedimaster

Looks like a good opportunity to request a feature from the Brackets team, to allow a manual Brackets Linting API ... a feature like this this would be best served on demand like "remove white space on save".

jbwCode avatar Aug 29 '15 23:08 jbwCode

Noticed that another difference in the troublemaker files is that the html had inline style tags, unlike the earlier html files that gave no trouble. The good ones used the link tag to a stylesheet css file ...

jbwCode avatar Aug 29 '15 23:08 jbwCode

So, I did a bit of checking, and as far as I can see, Brackets isn't running my validation script overly much. I opened a folder with a lot of files, and it didn't scan everything- just the HTML files I opened.

On Sat, Aug 29, 2015 at 6:42 PM, jbwCode [email protected] wrote:

Noticed that another difference in the troublemaker files is that the html had inline style tags, unlike the earlier html files that gave no trouble. The good ones used the link tag to a stylesheet css file ...

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-136062922 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Aug 31 '15 12:08 cfjedimaster

Thanks for checking! IMHO, to receive over 500 hits in a few minutes would imply a loop somewhere. I just reproduced the error (my IP now blocked for another 24 hours) with this html (I deliberately left out !doctype html, title, and meta tags, in order to generate some normal validation problems). http://codepen.io/JohnBW/pen/ojNzMq

jbwCode avatar Aug 31 '15 14:08 jbwCode

Trying the same file, I don't see anything weird. It returns problems from the API of course, but it isn't "hitting it" lots of times.

On Mon, Aug 31, 2015 at 9:33 AM, jbwCode [email protected] wrote:

Thanks for checking! IMHO, to receive over 500 hits in a few minutes would imply a loop somewhere. I just reproduced the error (my IP now blocked for another 24 hours) with this html (I deliberately left out <!doctype html>, , and , in order to generate some normal validation problems...):



Starbuzz Coffee Beverages

House Blend, $1.49


A Smooth, mild blend of coffees from Mexico, Bolivia, and Guatemala.

Mocha Cafe Latte, $2.35


Espresso, Steamed milk and chocolate syrup.

Cappuccino, $1.89


A mixture of espresso, steamed milk and foam.

Chai Tea, $1.85


A spicy tea drink made with black tea, spices, milk and honey.



our Mission

Read the Caffeine Buzz


— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-136389774 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Aug 31 '15 17:08 cfjedimaster

I just downloaded today and am getting same error:

W3CValidation has timed out after waiting for 10000 ms

It worked a couple of times, but now keep getting this error.

I am on Mac OSX 10.11.1 Running latest Brackets - Release 1.5 build 1.5.0-16538 (release cf9cf4698)

insight2learn avatar Dec 14 '15 16:12 insight2learn

Getting the too many requests problem too.

Snukii avatar Dec 15 '15 11:12 Snukii

As I said, i was never able to reproduce the "hit the API a lot for one file". If you can, let me know. Otherwise, there isn't much I can do about it. I don't use Brackets much anymore unfortunately.

On Tue, Dec 15, 2015 at 5:47 AM, Snukii [email protected] wrote:

Getting the too many request problem too.

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-164740237 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Dec 15 '15 13:12 cfjedimaster

This extension sounded like a very convenient time saver tool, and I thank the author for trying. But I have removed it, since I could not use it without getting my IP blocked. I have gone back to pasting my code into the W3C validation web pages. According to the author, the extension relies on a Brackets API. So something is not playing well together. Maybe the Brackets team can figure it out...

jbwCode avatar Dec 15 '15 15:12 jbwCode

So I added a quick console msg to let me know every time it hits the API. Again, I'm not seeing anything weird. I open an HTML file - it runs. I edit

  • but don't save - and nothing happens. I save - it runs as expected.

If one of yall who hit the limit would like to test, I can share this mod with you. Even if you are currently blocked, you can still see if the logging is showing a lot of calls.

On Tue, Dec 15, 2015 at 9:45 AM, jbwCode [email protected] wrote:

This extension sounded like a very convenient time saver tool, and I thank the author for trying. But I have removed it, since I could not use it without getting my IP blocked. I have gone back to pasting my code into the W3C validation web pages. According to the author, the extension relies on a Brackets API. So something is not playing well together. Maybe the Brackets team can figure it out...

— Reply to this email directly or view it on GitHub https://github.com/cfjedimaster/brackets-w3cvalidation/issues/32#issuecomment-164803437 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : [email protected] Blog : www.raymondcamden.com Twitter: raymondcamden

cfjedimaster avatar Dec 15 '15 15:12 cfjedimaster

Just a thought here, but what if the extension only hits the API once, but there is a condition where Brackets goes into a loop that generates multiple HTTP requests?

jbwCode avatar Dec 15 '15 15:12 jbwCode