You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no true workaround since node.js does not use system proxy settings (so you can't set it there).
The only way for the command to work is to not use the proxy.
The text was updated successfully, but these errors were encountered:
Expected Behaviour
The
discover
command uses the proxy set via the environment variablesHTTP_PROXY
and/orHTTPS_PROXY
.Actual Behaviour
The
discover
command does not use the proxy set via the environment variablesHTTP_PROXY
and/orHTTPS_PROXY
.Reproduce Scenario (including but not limited to)
HTTP_PROXY
andHTTPS_PROXY
tohttp://127.0.0.1:8080
andhttps://127.0.0.1:8080
respectivelyaio info
aio discover
- it should hit the proxy, but it does not (see logs in the Terminal)Investigation
We use node-fetch directly, without setting any proxy server configuration via the environment variables.
Proposed Fix
Use the proxied fetch implementation in @adobe/aio-lib-core-networking instead of node-fetch.
Workaround
There is no true workaround since node.js does not use system proxy settings (so you can't set it there).
The only way for the command to work is to not use the proxy.
The text was updated successfully, but these errors were encountered: