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

"code": -32603, "message": "Internal error" #407

Closed
tymur999 opened this issue Jul 15, 2024 · 4 comments
Closed

"code": -32603, "message": "Internal error" #407

tymur999 opened this issue Jul 15, 2024 · 4 comments

Comments

@tymur999
Copy link

Git cloned latest build and ran cargo run --release. No errors.

Sending a transaction yields this.

{
    "jsonrpc": "2.0",
    "error": {
        "code": -32603,
        "message": "Internal error"
    },
    "id": 2
}

The transaction in question is this

{
        "jsonrpc": "2.0",
        "id": 2,
        "method": "sendTransaction",
        "params": [
            "AVxTmK1m3yEtjbVqA9ycJOOy6/BCV8DWPfeCSlLf1WnWY82kmLw8GwajB931a3cWqmKSVQw9sT1gi4Bf8q3yCg8BAAkODEX355QsN+1/bd5jjxz87LsZH8YMT9WP16yytcskaJEVLsXxN1EPjqGIBeuqCaR5Y7seAK5CJaRpfbrHOkpUiH2ZXcSGYKoSLY49fjujSV7duzydLETKBue9NnCuRda5rRHmpPwpRKT6glG++BVCbhv7KMa2ZGZ3YHxq2fVmpkbs2xIblfPophq+uI+aySqHtzvFBelPn3hjlffs3671PgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVbg9pNmWs9E2xVovxdbqlGJy5f10v87ZV0rtv1tGLADBkZv5SEXMv/srbpyw5vnvIzlu8X3EmssQ5s6QAAAAAbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV+/wCpOoZeae4PVIDKvPZjV+TcLxjVjUXB6nSJ+zcj2Xk8cqZJTqtb39m5NES5tL+vpNXpeDBzM4SwSkD7q+nmBNrVIIyXJY9OJInxuz0QKRSODYMLWhOZ2v8QhASOe9jb6fhZrPE26wH8HE6IPSPItYRKtZo39mrdV8XprDtT4FnTXGSvLBsaN2rldf725Yb2rMlAeaDoNyHoWsU6jADhzMomDx3YgBJ9KRwTlEq/kk+gJBZmB7h0/I3QIH87Ly4kgP+6BAcACQMfZgYAAAAAAAcABQJovwAACgEBGQeCmr3/pUboP79jbhAAAAAAJ5TRnLghAAAGDAkDDQQCAQAFCwgMBhgz5oWkAX+DrUpMSLKMAwAAAQAAAAAAAAA=",
            {
            "encoding": "base64",
            "skipPreflight": true,
            "preflightCommitment": "processed",
            "maxRetries": 0
            }
        ]
}

This is a random transaction pulled from scraping data. Obviously the blockhash has expired, but that shouldn't matter since preflight is set to false. It is a valid transaction otherwise.

Sent via Helius and it succeeded. Also a valid transaction in https://explorer.solana.com/tx/inspector

Using Helius public RPC as RPC_ADDR and WS_ADDR
Nothing useful in metrics but will post it anyway

# HELP literpc_connections_to_keep Number of connections to keep asked by tpu service
# TYPE literpc_connections_to_keep gauge
literpc_connections_to_keep 7
# HELP literpc_current_slot Current slot seen by last rpc
# TYPE literpc_current_slot gauge
literpc_current_slot 277614022
# HELP literpc_estimated_slot Estimated slot seen by last rpc
# TYPE literpc_estimated_slot gauge
literpc_estimated_slot 277614022
# HELP literpc_nb_active_connections Number quic tasks that are running
# TYPE literpc_nb_active_connections gauge
literpc_nb_active_connections 7
# HELP literpc_nb_active_quic_connections Number of quic connections open
# TYPE literpc_nb_active_quic_connections gauge
literpc_nb_active_quic_connections 5
# HELP literpc_nb_cluster_nodes Number of cluster nodes in saved
# TYPE literpc_nb_cluster_nodes gauge
literpc_nb_cluster_nodes 4163
# HELP literpc_quic_connection_attempted Number of times conn attempted
# TYPE literpc_quic_connection_attempted gauge
literpc_quic_connection_attempted 46
# HELP literpc_quic_connection_error_timed_out Number of times connection errored TimedOut
# TYPE literpc_quic_connection_error_timed_out gauge
literpc_quic_connection_error_timed_out 27
# HELP literpc_quic_connection_errored Number of times connection errored
# TYPE literpc_quic_connection_errored gauge
literpc_quic_connection_errored 27
# HELP literpc_quic_connection_successful Number of times conn successful
# TYPE literpc_quic_connection_successful gauge
literpc_quic_connection_successful 5
# HELP literpc_quic_connection_timer_histogram Time to connect to the TPU port
# TYPE literpc_quic_connection_timer_histogram histogram
literpc_quic_connection_timer_histogram_bucket{le="0.005"} 0
literpc_quic_connection_timer_histogram_bucket{le="0.01"} 0
literpc_quic_connection_timer_histogram_bucket{le="0.025"} 0
literpc_quic_connection_timer_histogram_bucket{le="0.05"} 0
literpc_quic_connection_timer_histogram_bucket{le="0.1"} 0
literpc_quic_connection_timer_histogram_bucket{le="0.25"} 1
literpc_quic_connection_timer_histogram_bucket{le="0.5"} 3
literpc_quic_connection_timer_histogram_bucket{le="1"} 4
literpc_quic_connection_timer_histogram_bucket{le="2.5"} 12
literpc_quic_connection_timer_histogram_bucket{le="5"} 41
literpc_quic_connection_timer_histogram_bucket{le="10"} 41
literpc_quic_connection_timer_histogram_bucket{le="+Inf"} 41
literpc_quic_connection_timer_histogram_sum 102.78885671600001
literpc_quic_connection_timer_histogram_count 41
# HELP literpc_quic_nb_connection_requested Number of connections requested
# TYPE literpc_quic_nb_connection_requested gauge
literpc_quic_nb_connection_requested 19
# HELP literpc_rpc_responding If RPC is responding
# TYPE literpc_rpc_responding gauge
literpc_rpc_responding 1
# HELP literpc_rpc_send_tx RPC call send transaction
# TYPE literpc_rpc_send_tx counter
literpc_rpc_send_tx 1
# HELP literpc_transactions_in_priority_heap Number of transactions in priority heap
# TYPE literpc_transactions_in_priority_heap gauge
literpc_transactions_in_priority_heap 0
# HELP literpc_txs_in_store Transactions in store
# TYPE literpc_txs_in_store gauge
literpc_txs_in_store 143927

One interesting thing is why literpc_txs_in_store is 143927. Only sent one transaction. And it doubles every 5-10 secs.

Postnote: If there was a dedicated production build that would be great. It seems that there are bugs introduced when pushing to master.
Didn't get this error when tried around 2 months ago.

@tymur999
Copy link
Author

The latest commit at the time of this post 409db57.

@tymur999
Copy link
Author

Same error with sending a fresh transaction that didn't have blockhash expiry.

@tymur999
Copy link
Author

Found the error. It should be specified in the docs that only base58 transactions are supported. This would save a lot of time.

@tymur999
Copy link
Author

#408

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

1 participant