Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

how to use net proxy? #271

Closed
Y-A-K-E opened this issue Jun 11, 2020 · 6 comments
Closed

how to use net proxy? #271

Y-A-K-E opened this issue Jun 11, 2020 · 6 comments
Assignees
Labels
type: enhancement New feature or request

Comments

@Y-A-K-E
Copy link

Y-A-K-E commented Jun 11, 2020

my os : windows 10 x64

@Y-A-K-E Y-A-K-E added the type: enhancement New feature or request label Jun 11, 2020
@kittaakos
Copy link
Contributor

@Y-A-K-E, I am pretty sure there are limitations for proxies. Please explain your use-case a bit more details. Do you need it for the 3rd party cores? Thanks!

@Y-A-K-E
Copy link
Author

Y-A-K-E commented Jun 19, 2020

China can't open github.com . we need to set a proxy server to download GitHub lib.

@kittaakos
Copy link
Contributor

China can't open github.com .

Understood. 👍

we need to set a proxy server to download GitHub lib.

What do you want to download from a GitHub lib? Do you want to pull 3rd part cores? If so, I think this should be configured in the CLI config. Is it supported, @cmaglie?

@cmaglie
Copy link
Member

cmaglie commented Jun 22, 2020

yes, the support has been added in arduino-cli 0.10.0 (arduino/arduino-cli#609) you must add in the configuration file the keyword:

network.proxy

for example:

network.proxy=http://username:[email protected]:8883/

@kittaakos
Copy link
Contributor

yes, the support has been added in arduino-cli 0.10.0

Super. Thank you!

@kittaakos kittaakos self-assigned this Jun 22, 2020
@per1234
Copy link
Contributor

per1234 commented Feb 17, 2021

Proxy can now be configured via the "Network" tab of Arduino Pro IDE's File > Preferences dialog, so I'm going to close this as fixed. @Y-A-K-E if you try out the new 0.1.4 release of Arduino Pro IDE and find that it doesn't meet your needs, please comment here and we'll investigate.

@per1234 per1234 closed this as completed Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants