Author

Topic: 429: Too Many Requests. (blockchain) (Read 1953 times)

newbie
Activity: 10
Merit: 0
April 25, 2015, 05:56:29 PM
#13
you many requests do you make by sec using the API?

At the time, I think it was literally one per pageload to get the balance of an address, and it occurred on about the third refresh in 20 seconds (I had recently updated the file and was waiting for it to propagate to my hosting service). I think the maximum it could have been was 5 API calls per pageload, but it only caused an error on one.
Currently the minimum amount of requests on a pageload is 5, with a max of about 10 if a lot of stuff goes wrong, and if I remember correctly I've only seen the error once more, and pretty close in time to when i saw the original one.

I do a lot of calls in a short period of time to manually test things, but it's still a relatively infrequent thing, and I usually only do about 4 pageloads before i see the next bug to work on.
There is only one point in my program that this could cause an error (when i'm using the balance of an address for some math), so I should be able to catch that and abort gracefully if this shows up again, but I get that other people's implementations may be less flexible and have a lot more riding on them.

I mostly use blockchain API because I'm not hosting anything myself, and I don't want to have a lot of setup time to install daemons if I have to change hosts.
Before starting real web development with bitcoin I would have never thought that paying for enterprise-level garauntees for a reliable API was worth it, but now giving a portion of any income to blockchain for garaunteed uptime doesn't sound so bad.
legendary
Activity: 1834
Merit: 1009
April 25, 2015, 02:17:19 PM
#12
How many requests do you make by sec using the API?
newbie
Activity: 10
Merit: 0
April 25, 2015, 12:29:27 PM
#11
I just got this error today, but only once. I can refresh my page and not get any errors anymore.
I also applied for an API code once I saw that I had gotten an error, but I haven't even gotten a reply email yet and everything seems to be working fine.
hero member
Activity: 574
Merit: 500
Call me Alice. just Alice.
February 13, 2015, 02:44:49 PM
#10
bump
sr. member
Activity: 252
Merit: 250
www.CloudThink.IO
February 04, 2015, 09:50:07 PM
#9
I have been getting a similar message when attempting to access the blockchain.info block explorer via their website over the past ~week or so. I believe the exact message was something along the lines of 'too many concurrent requests'.

The rise of all the ponzi's have put significant strain on their servers and their api because most ponzis use their api to handle their automation
sr. member
Activity: 314
Merit: 250
February 04, 2015, 07:15:30 PM
#8
I recently got that message, but I was only trying to load a blockchain.info webpage showing the transactions for a particular address. Regular users are getting that message, not just people making API calls.

okey, so should i just wait it out ? its been 2 hours...

I just checked a blockchain.info webpage and it's working OK for me now, so if it's still not working for you through the API I'm not sure what the problem is.
hero member
Activity: 574
Merit: 500
Call me Alice. just Alice.
February 04, 2015, 04:15:50 PM
#7
I recently got that message, but I was only trying to load a blockchain.info webpage showing the transactions for a particular address. Regular users are getting that message, not just people making API calls.

okey, so should i just wait it out ? its been 2 hours...
sr. member
Activity: 314
Merit: 250
February 04, 2015, 04:13:24 PM
#6
I recently got that message, but I was only trying to load a blockchain.info webpage showing the transactions for a particular address. Regular users are getting that message, not just people making API calls.
legendary
Activity: 4228
Merit: 1313
February 04, 2015, 03:23:55 PM
#5
Assuming you are talking about blockchain.info, not the blockchain or some other API, it sounds like you are querying their API too frequently.

https://blockchain.info/q

You'd have to ask their support for answers on fixing it if it is over their limit.  Or their support would be good to contact about the specific error.

e.g. "Please limit your queries to a maximum of 1 every 10 seconds. "
hero member
Activity: 574
Merit: 500
Call me Alice. just Alice.
February 04, 2015, 03:22:49 PM
#4
could anyone help me solve this? using Blockchain for API and get this error 429: Too Many Requests. why do i get this error ? how can i fix it ?

Because your application is making too many requests to them...

but it was MAX 3 requests...
sr. member
Activity: 257
Merit: 250
February 04, 2015, 03:22:21 PM
#3
could anyone help me solve this? using Blockchain for API and get this error 429: Too Many Requests. why do i get this error ? how can i fix it ?

Because your application is making too many requests to them...
hero member
Activity: 574
Merit: 500
Call me Alice. just Alice.
February 04, 2015, 03:17:29 PM
#2
could anyone help me solve this? using Blockchain for API and get this error 429: Too Many Requests. why do i get this error ? how can i fix it ?
hero member
Activity: 574
Merit: 500
Call me Alice. just Alice.
February 04, 2015, 03:16:15 PM
#1
getting this error 429: Too Many Requests. on blockchain when using their API to my website. why do i get this error ? how can i fix it ?
Jump to: