diem: [Bug] Not able to connect to validator RpcFailure: DeadlineExceeded

🐛 Bug

When running the start_cli_testnet.sh I get this error

Building and running client in debug mode. Finished dev [unoptimized + debuginfo] target(s) in 1.75s Running target/debug/client --host ac.testnet.libra.org --port 80 -s ./scripts/cli/trusted_peers.config.toml Not able to connect to validator at ac.testnet.libra.org:80, error RpcFailure(RpcStatus { status: DeadlineExceeded, details: Some(“Deadline Exceeded”) })

To report a security issue, please email security@libra.org. -->

To reproduce

./scripts/cli/start_cli_testnet.sh

Expected Behavior

success

System information

Ubuntu 18.04

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 20 (4 by maintainers)

Most upvoted comments

Not able to connect to validator at ac.testnet.libra.org:80, error RpcFailure(RpcStatus { status: DeadlineExceeded, details: Some(“Deadline Exceeded”) })

Did the above solutions, not working yet.

@dwjorgeb can you please try editing: libra/client/src/grpc_client.rs and within the get_default_grpc_call_option() function, change the timeout to a larger value (perhaps 15000) and let me know if that resolves the issue or not.

@kphfb I changed it to 30000 and it works now

@dwjorgeb can you please try editing: libra/client/src/grpc_client.rs and within the get_default_grpc_call_option() function, change the timeout to a larger value (perhaps 15000) and let me know if that resolves the issue or not.