question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

near cli can't connect to testnet and mainnet

See original GitHub issue

Describe the bug when I input shell command of: near keys yongchun.testnet

To Reproduce Steps to reproduce the behavior: 1. input command on shell: near keys yongchun.testnet 2. See error Error: Exceeded 10 attempts for [https://rpc.testnet.near.org](https://rpc.testnet.near.org).

Expected behavior return account’s keys info

Screenshots !<span class="error">[image]</span>(https://user-images.githubusercontent.com/19633691/163384296-1398f8a6-de74-444c-8f30-ae9eb742c563.png)

Desktop (please complete the following information):

  • OS: <span class="error">[MacOS M1]</span>
  • Version <span class="error">[11.5.1 ]</span>

Additional context near version is 3.2.0 node version is v14.18.1

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
vKolertscommented, Apr 15, 2022

please add support of proxy by env

0reactions
fospringcommented, Apr 15, 2022

@vKolerts I resolve this issue according to this article

Read more comments on GitHub >

github_iconTop Results From Across the Web

NEAR CLI | NEAR Documentation - NEAR docs
The NEAR Command Line Interface (CLI) is a tool that enables to interact with the NEAR network directly from the shell. Among other...
Read more >
Getting an error when trying to fetch keys from NEAR network ...
When running the command: near keys XXXXXXX.near I'm getting the error below, I'm expecting that near-cli is using the mainnet network by ...
Read more >
Near-cli NPM - npm.io
NEAR CLI is a Node.js application that relies on near-api-js to connect to ... default for testnet; betanet; mainnet ... near keys client.chainlink.testnet...
Read more >
NEAR CLI: tools for interacting with NEAR Protocol - Morioh
NEAR CLI is a Node.js application that relies on near-api-js to connect to ... default for testnet; betanet; mainnet ... near keys client.chainlink.testnet....
Read more >
near-cli - npm
The default network for near-cli is testnet . You can change the network by prepending an environment variable to your command. NEAR_ENV=betanet ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found