warp-id / solana-trading-bot

Solana Trading Bot - Beta
Microsoft Public License
1.44k stars 675 forks source link

To many requests 429 #127

Open edujr1 opened 3 months ago

edujr1 commented 3 months ago

When I set 2 or more tokens to fire in parallel, I get this error "429: To Many Requests" and only after a few seconds or minutes, the bot is able to operate again

matotubol commented 3 months ago

Thats because of your rpc limits

edujr1 commented 3 months ago

Thats because of your rpc limits

How can i resolve this? only change the public RPC to a private Pay RCP?

FirstonTheBlock commented 3 months ago

Thats because of your rpc limits

How can i resolve this? only change the public RPC to a private Pay RCP?

Use Helius or Alchemy. No need to pay.

NukeThemAII commented 3 months ago

Thats because of your rpc limits

How can i resolve this? only change the public RPC to a private Pay RCP?

Use Helius or Alchemy. No need to pay.

I trying free helius and its hitting limits and many errors What u set here ?

FILTER_CHECK_DURATION=80000 FILTER_CHECK_INTERVAL=5000

i got this and too fast

Alchemy I cant find rpc for sol

FirstonTheBlock commented 3 months ago

I kept the filter duration on default. Solana mainnet is on alchemy. Just go to create app and select solana from the drop-down menu on a phone or click the tile on desktop.

Ismola commented 3 months ago

Do you only change the RCP url, or also the websocket url?

FirstonTheBlock commented 3 months ago

Do you only change the RCP url, or also the websocket url?

Both.

Ismola commented 3 months ago

Do you only change the RCP url, or also the websocket url?

Both.

I am using the alchemy endpoint: https://solana-mainnet.g.alchemy.com/v2/QR1p......

And in the websocket:

wss://solana-mainnet.g.alchemy.com/v2/QR1p......

But it does not work. Can't find any pool.

Looking in alchemy, I see that the requests give errors

image