Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Add http proxy option for near-cli #940

Open
nanbatian119 opened this issue Feb 19, 2022 · 5 comments
Open

Add http proxy option for near-cli #940

nanbatian119 opened this issue Feb 19, 2022 · 5 comments
Labels
enhancement New feature or request T-dev-tools

Comments

@nanbatian119
Copy link

nanbatian119 commented Feb 19, 2022

Problem:
I have to use vpn to connect to rpc.testnet.near.org. But It only takes effect in my browser and bash terminal. In near-cli vpn won't works.
I guess nodejs program can't use global proxy bring this problem.

Suggest:
Near-cli may add http_proxy option for users in case of direct connect problems.

截屏2022-02-19 下午8 49 14

@nanbatian119 nanbatian119 added the enhancement New feature or request label Feb 19, 2022
@zhang-wenchao
Copy link

I also need this, proxy won't works.

@nanbatian119
Copy link
Author

I also need this, proxy won't works.
https://hackmd.io/@L9ZnGph8Tbaio2GVX_z-EA/r15etnPg9)
this way has solved my problem

@ghost
Copy link

ghost commented Apr 15, 2022

I also need this, proxy won't works.
https://hackmd.io/@L9ZnGph8Tbaio2GVX_z-EA/r15etnPg9)
this way has solved my problem

thanks for your solution!

@xffxff
Copy link

xffxff commented May 1, 2022

https://hackmd.io/@L9ZnGph8Tbaio2GVX_z-EA/r15etnPg9

Thanks! This worked for me, and can we put it in a more visible place, like the readme

@xiangxn
Copy link

xiangxn commented Sep 28, 2023

All proxy problems can be solved in this way: #1067

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request T-dev-tools
Projects
None yet
Development

No branches or pull requests

4 participants