Open yyjdelete opened 1 year ago
@yyjdelete, support for proxy will be added in the next version of the MCUXpresso Installer.
Note: Please use this GitHub Issues section to report ambiguities or problems encountered in this documentation. For MCUXpresso for Visual Studio Code extension issues, feedback or search for solutions and ideas please use dedicated Community page (which is now public).
A new version of the MCUXpresso Installer is available. Installer includes an auto-update feature (documented here) that will upgrade it to the latest version. If the network configuration blocks the auto-update, please use the download links provided here.
After installer update, in order to use a proxy you have two options:
%LOCALAPPDATA%\Programs\MCUXpressoInstaller\resources\app\
, on Linux: /usr/local/MCUXpressoInstaller/resources/app/
, on macOS: /Volumes/MCUXpressoInstaller/MCUXpressoInstaller.app/Contents/Resources/app/
) and update the proxy
and proxy.auth
(this is optional) entries from config.ini file. Restart the installer and try again.Additional network troubleshooting details can be found here
Seems proxy settings for axios is not proper set for http proxy, https-proxy-agent should be used for this And maybe socks-proxy-agent for socks/socks4/socks5 proxys
It will try to send something like
GET https://www.nxp.com/lgfiles/updates/mcuxpresso/components.json HTTP/1.1
Accept: application/json, text/plain, */*
User-Agent: axios/1.4.0
Accept-Encoding: gzip, compress, deflate, br
host: www.nxp.com
Connection: close
instead of normal
CONNECT www.nxp.com:443 HTTP/1.1
Host: www.nxp.com:443
User-Agent: axios/1.4.0
Tested with v0.9.68 for Windows I try to set proxy in windows, and Enviroment
http_proxy=http://x.x.x.x:xxxx
andhttps_proxy=http://x.x.x.x:xxxx
, but none works