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

config error in load_identity_keypair - Cannot find the identity file provided #379

Closed
grooviegermanikus opened this issue Apr 2, 2024 Discussed in #377 · 2 comments · Fixed by #381
Closed

config error in load_identity_keypair - Cannot find the identity file provided #379

grooviegermanikus opened this issue Apr 2, 2024 Discussed in #377 · 2 comments · Fixed by #381
Assignees

Comments

@grooviegermanikus
Copy link
Collaborator

Discussed in #377

Originally posted by ffarhanaamin March 31, 2024
TAG: v0.2.4

I am trying to run quick-forward-proxy, by invoking the following,

RUST_LOG=debug cargo run --bin solana-lite-rpc-quic-forward-proxy -- --proxy-listen-addr 0.0.0.0:11111

I am getting the following exception,

Updating git repository https://github.com/rpcpool/yellowstone-grpc.git
Finished dev [unoptimized + debuginfo] target(s) in 0.51s
Running target/debug/solana-lite-rpc-quic-forward-proxy --proxy-listen-addr '0.0.0.0:11111'
Error: Cannot find the identity file provided

Caused by:
No such file or directory (os error 2)

Caused by:
No such file or directory (os error 2)

I can read in the documentation that identify file is not a mandatory parameter.

https://github.com/blockworks-foundation/lite-rpc/tree/main/quic-forward-proxy

@grooviegermanikus grooviegermanikus self-assigned this Apr 2, 2024
@grooviegermanikus grooviegermanikus changed the title quic proxy config error -Cannot find the identity file provided config error in load_identity_keypair - Cannot find the identity file provided Apr 2, 2024
@grooviegermanikus
Copy link
Collaborator Author

affects core load_identity_keypair

@grooviegermanikus
Copy link
Collaborator Author

Case 1: no identity

--proxy-listen-addr 0.0.0.0:11111

Case 2: identity from file where path is specified as cli arg

--proxy-listen-addr 0.0.0.0:11111 --identity-keypair some-validator-identity.json

Case 3: Keypair as Json Array on ENV

export IDENTITY="[130,173,80,35,.....]"

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

Successfully merging a pull request may close this issue.

1 participant