metaplex-foundation / sugar

Candy Machine Rust CLI.
Apache License 2.0
203 stars 116 forks source link

os error 10061 #298

Closed JSwizzleCrypto closed 2 years ago

JSwizzleCrypto commented 2 years ago

Issue description

Error deploying to Solana Dev Net. I can't find a solution anywhere. I really hope you guys can help!

Relevant log output

Error running command (re-run needed): Failed to deploy all config lines, 480 error(s) occurred:
=> Transaction error: error sending request for url (https://api.devnet.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)

Caused by:
    0: error sending request for url (https://api.devnet.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
    1: error sending request for url (https://api.devnet.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
    2: error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
    3: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
    4: No connection could be made because the target machine actively refused it. (os error 10061)
=> Transaction error: RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)

Caused by:
    0: RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
    1: RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)

Priority this issue should have

High (immediate attention needed)

febo commented 2 years ago

Try using a different RPC – e.g., https://devnet.genesysgo.net:

sugar deploy -r https://devnet.genesysgo.net