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

No data received #38

Open
ethan2029 opened this issue Jan 9, 2025 · 1 comment
Open

No data received #38

ethan2029 opened this issue Jan 9, 2025 · 1 comment
Assignees

Comments

@ethan2029
Copy link

Hello,

First of all, thank so much for the work.

I had the following issue

Subscribed to blocks mentioning program: 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P
No data received for 30 seconds, sending ping...
No data received for 30 seconds, sending ping...
No data received for 30 seconds, sending ping...
No data received for 30 seconds, sending ping...

I used below in config file

from solders.pubkey import Pubkey

PUMP_PROGRAM = Pubkey.from_string("6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P")
PUMP_GLOBAL = Pubkey.from_string("4wTV1YmiEkRvAtNtsSGPtUrqRYQMe5SKy2uB4Jjaxnjf")
PUMP_EVENT_AUTHORITY = Pubkey.from_string("Ce6TQqeHC9p8KetsN6JsjHK7UTZk7nasjjnr7XxXp9F1")
PUMP_FEE = Pubkey.from_string("CebN5WGQ4jvEPvsVU4EoHEpgzq1VV7AbicfhtW4xC9iM")
PUMP_LIQUIDITY_MIGRATOR = Pubkey.from_string("39azUYFWPz3VHgKCf3VChUwbpURdCHRxjWVowf5jUJjg")
SYSTEM_PROGRAM = Pubkey.from_string("11111111111111111111111111111111")
SYSTEM_TOKEN_PROGRAM = Pubkey.from_string("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA")
SYSTEM_ASSOCIATED_TOKEN_ACCOUNT_PROGRAM = Pubkey.from_string("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL")
SYSTEM_RENT = Pubkey.from_string("SysvarRent111111111111111111111111111111111")
SOL = Pubkey.from_string("So11111111111111111111111111111111111111112")
LAMPORTS_PER_SOL = 1_000_000_000

RPC_ENDPOINT = "https://api.mainnet-beta.solana.com"
WSS_ENDPOINT = "wss://api.mainnet-beta.solana.com"

I saw that someone had the same issue on ticket #13 but except the message "RPC was the problem" I don't know how he solved it

Could you please help me ?

Thank you

@akegaviar
Copy link
Member

You are using the free public RPC endpoints. Those are used by thousands of users for one-off actions like a token transfer etc. They won't work for heavy production usage. I suggest you start by getting a node eg on the free Chainstack developer plan or a paid one. Just make sure you are aware of the requests per second limits (RPS) and handle them in your script too.

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

2 participants