429 Too many requests #1146
Replies: 19 comments 42 replies
-
You may need to provide your own Alchemy API Key to |
Beta Was this translation helpful? Give feedback.
-
I'm getting that error, but it is not due to too many request. |
Beta Was this translation helpful? Give feedback.
-
I just noticed that the issue does not happen anymore when I remove rainbow kit - so thats more likely the problem. |
Beta Was this translation helpful? Give feedback.
-
I have the same problems here (429 and Method not allowed), and I'm working on a local ganache server. |
Beta Was this translation helpful? Give feedback.
-
Did someore digging into this, and it does seem like a wagmi issue. If I don't use alchemy and provide an Infura Key, the issues is still there and prevents even Infura from being used, and actually spams the Infura API calls. So far what I have found work is to add an Alchemy key, and Infura Key then set priority and that fixes the issue. Issues has only been there last few weeks so not sure what changed. |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing a similar issue with my project as well! I didn't make a single change to it, started back on developing a few days later, and BAM, exhibiting this behavior now. |
Beta Was this translation helpful? Give feedback.
-
I think by default retries are very agressive here too. It would be ideal if we could listen for 429s and throttle back retries in those events. This also relates to this request - please throw on an upvote! |
Beta Was this translation helpful? Give feedback.
-
Having the same 429 issue as everyone else. Any fix for it yet? |
Beta Was this translation helpful? Give feedback.
-
Also having this issue with Rainbowkit. Can't figure out what went wrong. The docs don't have all the info to fix the issue either 😭 |
Beta Was this translation helpful? Give feedback.
-
Im having same issue, 429 im using connectKit, I just add new alchecmy and this error occur even on the first few request |
Beta Was this translation helpful? Give feedback.
-
anyway to like used, the metamask as default provider if connected? than using alchemy or infura as provider as 429 occur a lot, hope to hear from the team soon, thanks! |
Beta Was this translation helpful? Give feedback.
-
Someone mentioned that the issue goes away if you remove |
Beta Was this translation helpful? Give feedback.
-
I found the problem people. Alchemy provider accepts one "api_key" , that is used for several networks. But that doesn't work! Each API_KEY in alchemy is only for one network. So this setup will work for the default network you created your apikey for , but not for others. I think it needs a rewrite on wagmi alchemy provider |
Beta Was this translation helpful? Give feedback.
-
This sucks as it seems to ignore the setting for const { chains, provider, webSocketProvider } = configureChains(
getSupportedChains(),
[
publicProvider({
priority: 0,
stallTimeout: 1000,
}),
alchemyProvider({
priority: 1,
apiKey: ALCHEMY_API_KEY,
}),
],
{
stallTimeout: 1000,
}
) This says that after a second it should switch from I do indeed see a request with my own alchemy key after a second, which retrieves the expected result, but the public provider still keeps firing even after a minute. WTF?? Changing the priority from public:0 alchemy:1 to public:1 alchemy:0 solves the issue and there are no longer this many requests, but just one. |
Beta Was this translation helpful? Give feedback.
-
Just a heads up guys, the 429 Issue was solved in latest versions of wagmi where they changed the default RPC url for the troubling chains. /edit The issue was that the Alchemy url with an actual API key was hardcoded in previous versions of wagmi, ignoring whatever you set. |
Beta Was this translation helpful? Give feedback.
-
it's weird latest version of WAGMI seems to throw a rate limit 429 error with alchemyProvider.
|
Beta Was this translation helpful? Give feedback.
-
I didn't use alchemy api. but it sends too many request and all response are 429 error.
|
Beta Was this translation helpful? Give feedback.
-
related question: how do we "respect" the user's choice of custom RPC? i.e., let's say that the user manually adds a custom chain into MetaMask, with Optimism's chainID, but with a custom RPC URL (e.g., pointing to their own alchemy). i am using the standard how do we respect / defer to the (custom) RPC url set in MetaMask? thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Im not sure if this is related but im getting this when metamask popup opens MetaMask/metamask-extension#27099 |
Beta Was this translation helpful? Give feedback.
-
Hey guys, I am having trouble with wagmi making waay too many calls implicitly (about 100 eth_getBalance requests on page load).
Are any of you having the same problem?
I am using wagmi with rainbow kit.
Beta Was this translation helpful? Give feedback.
All reactions