🐞 Bug report
Command (mark with an x)
Is this a regression?
No
Description
Since 11.0.0 there is the new feature to inline fonts. The problem is that it does not work behind HTTP proxy. We have correctly set HTTP_PROXY/http_proxy and NO_PROXY/no_proxy environment variables, but it is ignored.
🔬 Minimal Reproduction
There is no support for proxy:
There is not really a reproduction scenario. It fails only when running behind HTTP proxy.
🔥 Exception or Error
✖ Index html generation failed.
Inlining of fonts failed. An error has occurred while retrieving https://fonts.googleapis.com/icon?family=Material+Icons over the internet.
connect ETIMEDOUT 172.217.16.202:443
🌍 Your Environment
Angular CLI: 11.0.1
Node: 14.15.0
OS: linux x64
Angular:
...
Ivy Workspace:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1100.1 (cli-only)
@angular-devkit/core 11.0.1 (cli-only)
@angular-devkit/schematics 11.0.1 (cli-only)
@schematics/angular 11.0.1 (cli-only)
@schematics/update 0.1100.1 (cli-only)
Anything else relevant?
🐞 Bug report
Command (mark with an
x)Is this a regression?
No
Description
Since 11.0.0 there is the new feature to inline fonts. The problem is that it does not work behind HTTP proxy. We have correctly set
HTTP_PROXY/http_proxyandNO_PROXY/no_proxyenvironment variables, but it is ignored.🔬 Minimal Reproduction
There is no support for proxy:
angular-cli/packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts
Line 107 in 871dd6a
There is not really a reproduction scenario. It fails only when running behind HTTP proxy.
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?