-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfeatureIssue that requests a new featureIssue that requests a new feature
Milestone
Description
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
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:
angular-cli/packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts
Line 107 in 871dd6a
https.get( |
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?
chrisob, hajnej, zerola, sylweltan, motabass and 11 more
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfeatureIssue that requests a new featureIssue that requests a new feature