metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.31k stars 6.28k forks source link

[Bug]: Error deploying config to Solana network. SendTransactionError: failed to send transaction: Node is behind by 38635 slots #2101

Closed realsbd closed 2 years ago

realsbd commented 2 years ago

Which package is this bug report for?

candy machine cli

Issue description

I want to upload my NFT on CMv2 using IPFS storage and I get this error.

image

HERE IS THE COMMAND ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e mainnet-beta -k ./mainnet-key.json -cp ~/dev/config.json -c mainnet --rpc-url https://solana--mainnet.datahub.figment.io/apikey/xxxxxxxx/ ~/metaplex/js/packages/cli/assets-original

Error deploying config to Solana network. SendTransactionError: failed to send transaction: Node is behind by 38635 slots

Command

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e mainnet-beta -k ./mainnet-key.json -cp ~/dev/config.json -c mainnet --rpc-url https://solana--mainnet.datahub.figment.io/apikey/API_KEY/ ~/metaplex/js/packages/cli/assets-original

Relevant log output

No response

Operating system

Windows 10

Priority this issue should have

High (immediate attention needed)

Check the Docs First

spreadcharm commented 2 years ago

I have deployed two candymachine yesterday, they worked without any error. By the way, I will advice you one important thing. Please remove your private RPC url in your sentences. https://solana--mainnet.datahub.figment.io/apikey/.................................. I don't know whether you are on paid or free API plan but even you are on free plan, it's not good to post here.

realsbd commented 2 years ago

I have deployed two candymachine yesterday, they worked without any error. By the way, I will advice you one important thing. Please remove your private RPC url in your sentences. https://solana--mainnet.datahub.figment.io/apikey/.................................. I don't know whether you are on paid or free API plan but even you are on free plan, it's not good to post here.

Thank you for the heads up, I have removed it.

realsbd commented 2 years ago

I have deployed two candymachine yesterday, they worked without any error. By the way, I will advice you one important thing. Please remove your private RPC url in your sentences. https://solana--mainnet.datahub.figment.io/apikey/.................................. I don't know whether you are on paid or free API plan but even you are on free plan, it's not good to post here.

Could it be because I don't have enough sol in my wallet?

I have 5 sol in my wallet because am trying to deploy to mainnet.

What is the total cost to deploy CM to mainnet

realsbd commented 2 years ago

I have to pull a new metaplex to get it working