near cli can't connect to testnet and mainnet
See original GitHub issueDescribe 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:
- Created a year ago
- Comments:5
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

please add support of proxy by env
@vKolerts I resolve this issue according to this article