Skip to content

[Bug] Not able to connect to validator RpcFailure: DeadlineExceeded #38

@dwjorgeb

Description

@dwjorgeb

🐛 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

Activity

kphfb

kphfb commented on Jun 18, 2019

@kphfb
Contributor

Can you check your network connection and try again?

dwjorgeb

dwjorgeb commented on Jun 18, 2019

@dwjorgeb
Author

@kphfb network connection is working fine, apt update and upgrade work fine, can ping and open websites.

kphfb

kphfb commented on Jun 18, 2019

@kphfb
Contributor

@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.

lingani

lingani commented on Jun 18, 2019

@lingani

Hi, I still have the error after changing timeout to 15000 or larger.

nootfly

nootfly commented on Jun 19, 2019

@nootfly

Hi, I still have the error after changing timeout to 15000 or larger.

blockchain1977

blockchain1977 commented on Jun 19, 2019

@blockchain1977

I have same issue:
Finished dev [unoptimized + debuginfo] target(s) in 3m 37s
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") })

My environment:
Linux 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

blockchain1977

blockchain1977 commented on Jun 19, 2019

@blockchain1977

cool, got it work. Just by simply running again.

lingani

lingani commented on Jun 19, 2019

@lingani

I changed internet provider, I run again and it works. Thank you all.

mohamedahmed01

mohamedahmed01 commented on Jun 19, 2019

@mohamedahmed01

same issue here :
./scripts/cli/start_cli_testnet.sh
Building and running client in debug mode.
Finished dev [unoptimized + debuginfo] target(s) in 0.25s
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") })
on ubuntu 18.04
i tried using vpn and changing the connection but still the same.

dwjorgeb

dwjorgeb commented on Jun 19, 2019

@dwjorgeb
Author

@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

KaviarasuSakthivadivel

KaviarasuSakthivadivel commented on Jun 21, 2019

@KaviarasuSakthivadivel

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.

icarter09

icarter09 commented on Jun 25, 2019

@icarter09

@KaviarasuSakthivadivel what OS are you using?

KaviarasuSakthivadivel

KaviarasuSakthivadivel commented on Jun 25, 2019

@KaviarasuSakthivadivel

@icarter09 MacOS, actually problem solved when I tried in my Home wifi, previously i tried in Office Wifi, and it seems a firewall block.

icarter09

icarter09 commented on Jun 25, 2019

@icarter09

@KaviarasuSakthivadivel glad to hear you found a solution.

@dwjorgeb can you close this issue? Thanks.

Johnny-lou

Johnny-lou commented on Dec 11, 2019

@Johnny-lou

happened again when running ./scripts/cli/start_cli_testnet.sh
Not able to connect to validator at ac.testnet.libra.org:8001, error RpcFailure(RpcStatus { status: RpcStatusCode(4), details: Some("Deadline Exceeded") })

Johnny-lou

Johnny-lou commented on Dec 11, 2019

@Johnny-lou

happened again when running ./scripts/cli/start_cli_testnet.sh
Not able to connect to validator at ac.testnet.libra.org:8001, error RpcFailure(RpcStatus { status: RpcStatusCode(4), details: Some("Deadline Exceeded") })
@davidiw
image

davidiw

davidiw commented on Dec 11, 2019

@davidiw
Contributor

Could you try updating to the latest branch and try again?

Johnny-lou

Johnny-lou commented on Dec 11, 2019

@Johnny-lou

Could you try updating to the latest branch and try again?

yes, I tryed serveral times, but not work

davidiw

davidiw commented on Dec 11, 2019

@davidiw
Contributor

Could you try updating to the latest branch and try again?

yes, I tryed serveral times, but not work

As you made this post, we were literally in the midst of redeploying our testnet. I suspect you were unlucky. I can confirm that the latest head of testnet is able to connect and mint.

Johnny-lou

Johnny-lou commented on Dec 11, 2019

@Johnny-lou

Could you try updating to the latest branch and try again?

yes, I tryed serveral times, but not work

As you made this post, we were literally in the midst of redeploying our testnet. I suspect you were unlucky. I can confirm that the latest head of testnet is able to connect and mint.

work now, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @davidiw@nootfly@icarter09@lingani@Johnny-lou

        Issue actions

          [Bug] Not able to connect to validator RpcFailure: DeadlineExceeded · Issue #38 · diem/diem