Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time out. #32

Open
zsolt247 opened this issue Jun 18, 2015 · 46 comments
Open

Time out. #32

zsolt247 opened this issue Jun 18, 2015 · 46 comments

Comments

@zsolt247
Copy link

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.

@cfjedimaster
Copy link
Owner

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

@cfjedimaster
Copy link
Owner

Fixed - will be on the registry in a bit.

@olivaresp
Copy link

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

@cfjedimaster
Copy link
Owner

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

@zsolt247
Copy link
Author

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

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@LukeMcGurdy
Copy link

Hi Raymond,

I'm seeing the same error message today.

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@marcusyoung
Copy link

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)

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@LukeMcGurdy
Copy link

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.

@jbwCode
Copy link

jbwCode commented Aug 29, 2015

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

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Aug 29, 2015

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>"

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Aug 29, 2015

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

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Aug 29, 2015

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

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Aug 29, 2015

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
Copy link

jbwCode commented Aug 29, 2015

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 ...

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Aug 31, 2015

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

@cfjedimaster
Copy link
Owner

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...):

<style type="text/css">
body {
background-color: #d2b48c;
margin-left: 20%;
margin-right: 20%;
border: 2px dotted white;
padding: 10px 10px 10px 10px;
font-family: sans-serif;
}

</style>


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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@insight2learn
Copy link

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)

@Snukii
Copy link

Snukii commented Dec 15, 2015

Getting the too many requests problem too.

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Dec 15, 2015

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...

@cfjedimaster
Copy link
Owner

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
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Dec 15, 2015

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?

@cfjedimaster
Copy link
Owner

Sure - but how? Right now it uses the built in linter api which I can't
control, but as far as I can see, it is working right. On edit, do nothing

  • but on save, run the lint.

If we can just find a way to recreate the "run a lot!" we would be golden.
;)

It is also possible the API is not telling the truth.

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

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?


Reply to this email directly or view it on GitHub
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@JulienJo
Copy link

Hi! Getting the too many requests problem too. Did you updated the plugin with your mod?

@JulienJo
Copy link

Hum... It works again :-S

@cfjedimaster
Copy link
Owner

The block by w3c is temporary so it makes sense it would return. And no - I
have not done anything yet on the conversion required to run the validation
locally. As I think I said - it is possible if we call the Java code via
Node (I've seen an example of an extension doing that), but I've not had
the time to make that change.

On Wed, Jan 20, 2016 at 3:57 AM, Julien Jolly [email protected]
wrote:

Hum... It works again :-S


Reply to this email directly or view it on GitHub
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@JulienJo
Copy link

Nevermind, it seems to work great again

@cfjedimaster
Copy link
Owner

To be clear, this is an issue and it will hit you again. It's just that
the block is temporary.

On Wed, Jan 20, 2016 at 9:07 AM, Julien Jolly [email protected]
wrote:

Nevermind, it seems to work great again


Reply to this email directly or view it on GitHub
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@Bray90820
Copy link

I just installed the extension today and seem to also be getting the timeout error it worked for about 5 minutes

@cfjedimaster
Copy link
Owner

Yep, to be clear, I don't think anyone needs to confirm this anymore
(grin), it is definitely a bug. :)

On Mon, Jan 25, 2016 at 3:00 PM, Bray90820 [email protected] wrote:

I just installed the extension today and seem to also be getting the
timeout error it worked for about 5 minutes


Reply to this email directly or view it on GitHub
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@Bray90820
Copy link

Is a fix coming?

@cfjedimaster
Copy link
Owner

As it is a big change, no, not any time soon. I want to, but honestly, as I
don't use Brackets day to day anymore, it isn't high on my priority list.
Sorry to say that and just being honest.

On Mon, Jan 25, 2016 at 3:09 PM, Bray90820 [email protected] wrote:

Is a fix coming?


Reply to this email directly or view it on GitHub
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@Bray90820
Copy link

Alright thanks for the info

@jbwCode
Copy link

jbwCode commented Jan 25, 2016

Did you find a better alternative to Brackets, or are you working with something other than HTML/CSS/Javascript?

@cfjedimaster
Copy link
Owner

I'm using Visual Studio Code now. I won't say it is better, but I will say
it is better for me.

On Mon, Jan 25, 2016 at 3:20 PM, jbwCode [email protected] wrote:

Did you find a better alternative to Brackets, or are you working with
something other than HTML/CSS/Javascript?


Reply to this email directly or view it on GitHub
#32 (comment)
.

Raymond Camden, Developer Advocate for MobileFirst at IBM

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

@jbwCode
Copy link

jbwCode commented Jan 26, 2016

Hi Raymond, thanks for your input! I did not mean to open a debate on the virtues of Brackets :-) There are plenty of other discussions on the web...

I will take a look at VSCode. After looking at your website, reading some of your posts, and seeing your involvement in various advanced projects, it becomes apparent that your requirements go way beyond a client-side web editor. That is why I inquired as to what you are using now. Very cool!

I have found Brackets to be the ultimate code editor for Front End Development (and appears to be limited to that scope). which is my focus for now. But I do wish to eventually move on to full stack, back end, as well as mobile development. I have tried Notepad++, Sublime, Atom, etc...

I presume that it is the holy grail to find one code editor that can do it all... but an open source, cross platform, extensible, code editor that you can customize for all of your needs is going to be the best option. I look to the future to decide what can best fill that role :-)

@nervousjuice
Copy link

Isnt Brackets getting incorporated into Dreamweaver?

@cfjedimaster
Copy link
Owner

It is being incorporated into DW, but not moving away from working by itself as well. More info here: http://blog.brackets.io/2015/10/05/update-from-the-adobe-brackets-team/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests