Questions tagged [error]
The error tag has no usage guidance.
110 questions
1
vote
1
answer
293
views
'version OPENSSL_1_1_1 not found' error when running 'cargo build-sbf' on linux
I consistently get this error message when running cargo build-sbf or cargo build-bpf:
Warning: cargo-build-bpf is deprecated. Please, use cargo-build-sbf
cargo-build-bpf child: /home/anish/.local/...
1
vote
1
answer
985
views
receiving the following error using solana cli "Error: RPC response error -32003: Transaction signature verification failure"
I am using the following commands to try and send Solana and am receiving "Error: RPC response error -32003: Transaction signature verification failure"
solana transfer --from <file path&...
1
vote
1
answer
181
views
Cannot allocate memory error
I'm running a container based on the official solana image.
Dockerfile:
ARG SOLANA_VERSION=v1.11.3
FROM solanalabs/solana:${SOLANA_VERSION}
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint....
1
vote
1
answer
38
views
Run rpc node connection timed out Unable to determine the validator's public IP address
I'm trying to setting up a rpc node for Solana on a rented Hetzner Server.
I have followed the official documentation's guide https://docs.anza.xyz/operations/setup-a-validator here.
I have modified ...
1
vote
0
answers
13
views
error in anchor test
Found a 'test' script in the Anchor.toml. Running it as a test suite!
Running test suite: "/home/emperor/solana-txn-mod1/hello-solana/Anchor.toml"
Usage Error: The nearest package directory (...
1
vote
1
answer
55
views
Anchor build dependency issue
anchor build
error: not a directory: '/home/emperor/.local/share/solana/install/releases/1.18.18/solana-release/bin/sdk/sbf/dependencies/platform-tools/rust/lib'
I have tried to install the latest ...
1
vote
0
answers
64
views
Anchor tests failing and not giving logs
I just finished following along project 3 where we include actions and blinks to the peanut butter voting project. At the very end, we had to anchor clean and anchor test to have it clear its cache ...
1
vote
0
answers
23
views
Bitcoin transfer error
I sent BTC to website for purchase and I switched to calculate transfer in USD which was $150 and withdraw show. .000281 Sats but it withdrew .08 so like $5,300 USD and shows the remainder going back ...
1
vote
1
answer
315
views
Raydium Swap InvalidInstructionData
I am getting InvalidInstructionData error when trying to execute a raydium SwapBaseIn Instruction. I am using GoLang to construct the swap transaction. I am getting all the parameters from an other ...
1
vote
1
answer
64
views
How do I fix this error? PLEASE HELP ME
[2024-07-18T18:51:20.140305625Z ERROR solana_metrics::metrics] datapoint: panic program="validator" thread="main" one=1i message="panicked at /var/lib/buildkite-agent/builds/...
1
vote
0
answers
114
views
cant able to buy swap or send to other account - a particular coin
I bought a coin from Dex screener , but i cant able to sell,swap & buy the coin when i am swaping it is showing me a error msg ( this transaction reverted during the simulation . Funds may be lost ...
1
vote
0
answers
601
views
Bypass TransactionExpiredBlockheightExceededError
So, i've been trying to send multiple addresses my token using Javascript (@solana/web3.js and @solana/spl-token).
Sadly, the same error occurs multiple times, ...
1
vote
0
answers
83
views
When nuxt build,An error occurred [closed]
When nuxt build, report such an error :You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
1
vote
0
answers
287
views
Anchor Error: InstructionDidNotDeserialize
I was following this tutorial: "Build a TikTok Web 3.0 Blockchain App with Solana" and got around the 2:50:00 timestamp when I tried adding a TikTok, and it gave me this error:
Then I ...
1
vote
0
answers
66
views
"unknown variant `base58`, expected `binary`" error when running `solana program show --buffers | --programs
When I run solana program show --programs ( or with --buffers ), I'm getting this weird error with no details on what's actually wrong. Any suggestions?
Error: RPC response error -32602: unknown ...
1
vote
0
answers
137
views
Sending a transaction does not work in NextJS production mode
i deployed my website built with NextJS on a dedicated node server served by Nginx.
When sending a transaction, executing Next in dev mode both locally and on the server everything works fine, but ...
1
vote
1
answer
154
views
what is the meaning of custom program error: 0x70? (112 in decimal)
I am getting this error in my contract written in Anchor.
I have already checked the custom errors of anchor at https://docs.rs/anchor-lang/latest/anchor_lang/error/enum.ErrorCode.html, but did not ...
0
votes
1
answer
218
views
solana playground: Reason: Program failed to complete
I am currently getting into sc development and playing around a bit.
Basically I wanted to create a counter where anyone can call the decrease or increase func and modify the value.
I think my current ...
0
votes
3
answers
269
views
Issue, transfer SOL via CPI call
I am trying to make a SOL transfer via a CPI call, I managed to create an account to which I have to transfer, this account's authority is owned by a (master) PDA, transfer/deposit works fine but when ...
0
votes
1
answer
587
views
Solana Airdrop Devnet issue
I am brand new and am having issues. I have created a file system wallet via CLI, my config is set to devnet and the wallet shows up, my balance is 0. I have requested an airdrop of 1 with the ...
0
votes
1
answer
198
views
How can I initialize a second wallet on Anchor tests?
I would like to test that a public key that doesn't own a PDA can't alter its data. I'm doing as follows:
Generate a new keypair for user2 (user1 is the pubkey of the local wallet on Anchor's ...
0
votes
1
answer
464
views
solana$ ./cargo build => "error: linking with `cc` failed: exit status: 1"
I try to install the Solana chain locally but when I execute the ./cargo build command, i fall on this fail: error: linking with `cc` failed: exit status: 1
But if I do a ./cargo build --release i ...
0
votes
2
answers
301
views
Error: IncorrectProgramId at transferCheckedWithFee
import {
Connection,
Keypair,
PublicKey,
SystemProgram,
Transaction,
clusterApiUrl,
sendAndConfirmTransaction,
} from '@solana/web3.js';
import {
ExtensionType,
TOKEN_2022_PROGRAM_ID,...
0
votes
1
answer
134
views
Block height exceeded - Wormhole - Receiving WETH in Solflare wallet
Sorry if the question has already be submited, but I couldn't find any answer and I'm a bit lost.
I can't finalize the transaction to receive WETH from Wormhole (portalbridge.com) on my Solflare ...
0
votes
1
answer
91
views
Anchor installation stops with error: (signal: 9, SIGKILL: kill) on random crates
Today i tried installing Anchor and it was stopping on random crates with a SIGKILL error 9.
I was using this command
cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.0 anchor-cli --...
0
votes
1
answer
80
views
Solana CLI how to fix this? Not configured Program ID
PS C:\Users\Keola> spl-token mint 4ZPyP3fGWEoFV7ey32jqwJGCydyK9(censored) 80000000 14fbryUnN5Px4GGg1MMgTKawpyvBXUz(censored)
Error: "Account 14fbryUnN5Px4GGg1MMgTKawpyvBXUz(censored) is owned ...
0
votes
2
answers
408
views
Can't mint any token 2022? I tried minting 60,000,000 tokens but only 18 million were generated and when I try minting more I get an error
Error: Client(Error { request: Some(SendTransaction), kind: RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed: Error processing Instruction 0: custom program error:...
0
votes
1
answer
351
views
My wallet can't send sol to others and can't mint nft
I met a problem my sol address can't send out sol to another wallet but can send it into it, and my address can't mint nft. Really don't know what's with it. Really strange. My address is
...
0
votes
1
answer
304
views
getProgramAccounts - error when calling
Good day to all.
I encountered this problem.
When I call getProgramAccounts I don't get a response but an error.
Tell me, maybe I’m doing something wrong?
My task is to get a list of tokens - am I ...
0
votes
1
answer
39
views
solana$ ./cargo test => "error: test failed, to rerun pass `-p solana-cli --test program`" : arguments passed solve nothing
I have a problem when testing the solana chain. I successfully built the solana repo, but after if i do a ./cargo test, i fall on this error:
error: test failed, to rerun pass `-p solana-cli --test ...
0
votes
1
answer
257
views
Getting different Buffers in Solana transactions. The front-end and back-end transactions are different
I have a Solana dApp that requests tokens from a wallet that I own. When the user try to claim the Tokens, one transaction is created on the frontend and signed by the user; the signature is coded and ...
0
votes
1
answer
310
views
Avoid 'parsed' type error from getParsedTransaction
As you can see in screenshots, I have a type error. How can I avoid this problem ?
The type of my transaction is 'ParsedTransactionWithMeta' from getParsedTransaction method.
Same problem with '...
0
votes
1
answer
142
views
Difference between assert!() and custom Anchor Errors [closed]
What is difference in between
#[error_code(offset = 0)]
pub enum CoinFlipError {
#[msg("Bet Amount small")]
BetTooSmall, }
and
assert!(betAmount > minAllowedBet, "Bet Amount ...
0
votes
0
answers
6
views
Phantomに関してログイン出来ない件
I launch the Phantom app, press the bottom right of the screen, press the top right of the screen, and it does not jump to the login screen. So I'm having trouble logging in. I don't know much about ...
0
votes
0
answers
19
views
when trying to sell a token im holding im getting this error, execution reverted: "TransferHelper: TRANSFER_FROM_FAILED" (action="estimateGas",
im new to the bullx platform and im running into this error when trying to sell. execution reverted: "TransferHelper: TRANSFER_FROM_FAILED" (action="estimateGas",. what does this ...
0
votes
0
answers
6
views
Getting Block Height Exceed Errors when try to mint NFT using metaplex
I am trying to mint NFTs using metaplex, but I am getting errors - "Block height exceeded".
I tried to add priority fee to tx, but at metaplex functions I cannot find that option.
How to ...
0
votes
0
answers
5
views
Conversion to transfer
Why is it that after I exchange my meme tokens for sol, the sol is always sent to some other address that doesn't belong to me?
My address has become a forwarding address.
0
votes
0
answers
22
views
Ledger stax & solana cli [Error: no device found]
I am using Ledger Nano X and everything works fine with the CLI tool. However, I have purchased a new Ledger Stax and the Solana CLI does not support it. When trying to execute solana-keygen pubkey ...
0
votes
1
answer
575
views
How do I determine the cause of an "Unknown instruction error"?
I don't know why i cannot move my grass token from Phantom to ByBit wallet, when i do it show me this problem:
Program Error: "Instruction #4 Failed - Unknown instruction error"
It is not ...
0
votes
1
answer
63
views
Anchor tests failing
I just finished following along with Project 3, which includes actions and blinks to the peanut butter voting project. At the very end, we had to anchor clean and anchor test to have it clear its ...
0
votes
0
answers
28
views
Error while testing code
Here is my solana todolist program
#![allow(clippy::result_large_err)]
use anchor_lang::prelude::*;
declare_id!("6u7Wzgps8X8Qjd5AaqaF5mpKdfZzSfNt2MaPjATf2Z6Y");
#[program]
pub mod ...
0
votes
0
answers
11
views
Charts intervals on all PERPS revert back to 15min. No matter what
I'm getting this bug while trading today and its really limiting activity today. I will select the 1 minute interval on the PERP market charts, and as soon as i do, the interval reverts back to 15min ...
0
votes
0
answers
22
views
Money stuck, wallet wont sign tx or allow me to get keys
I just opened a new wallet using phantom. Depositing some money to buy a coin, went on raydium, error. tried on jup, error. when i realized it wasnt allowing any transactions to go through citing &...
0
votes
0
answers
80
views
MY NODE.JS SOLANA SNIPER BOT
please how do i fix this error
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
{"level":"error","message":"Error initializing bot: Non-...
0
votes
0
answers
147
views
SOLANA SNIPER BOT
hi i am building a solana sniper bot using typescript in node.js using the ES modules in visual studio code environment. Its not working.
its finding it difficult to compile the ts script
it is ...
0
votes
1
answer
32
views
Where can I deploy a Program MVP without having to pay?
We created a project to be deployed but we are stuck with deploying it to the mainnet, like we are unable to fund our wallets with sol and if we want to buy we have to complete EDD, like wth I don't ...
0
votes
0
answers
96
views
I cant use my sol in my wallet
There’s a smart contract in the wallet to send any funds out of the wallet , I asked a different dev to do it for me because the wallet was compromised , what I can do boys? I cant send my sol it's ...
0
votes
0
answers
68
views
Can't deploy a smart contract: cli 'solana program show --programs' returns nulls
For those who've been following this, I been dealing with ISSUES trying to make a solana-token ICO widget,
basically I finally got around both the,
error: package `solana-program v1.18.2` cannot be ...
0
votes
0
answers
101
views
pyo3_runtime. PanicException: called 'Result: :unwrap()
I got some error like that
sometimes it is work well but sometimes it gets that error
I tried try, except code but it doesnt work.
note: run with 'RUST_BACKTRACE=1 environment variable to display a ...
0
votes
0
answers
35
views
failed to load manifest during ‘anchor build’
I used anchor build command.
E:\Data\on-going\Solana\share-nft>anchor build
[2024-05-17T13:51:20.417937300Z ERROR cargo_build_sbf] Failed to obtain package metadata: cargo metadata exited with an ...