Skip to content

Angular 11: Live reload not working behind reverse proxy #19406

@prabh-62

Description

@prabh-62

🐞 Bug report

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes. Live reload worked behind a reverse proxy in Angular v10

Description

Live reload is not working for Angular 11 apps when served behind reverse-proxy

🔬 Minimal Reproduction

🔥 Exception or Error


zone-evergreen.js:2845 GET https://localhost:4202/admin/sockjs-node/info?t=1605577113479 net::ERR_SSL_PROTOCOL_ERROR

angular_11_proxy_error_ssl

🌍 Your Environment


$ ng version
Angular CLI: 11.0.1
Node: 15.2.0
OS: darwin x64

Angular: 11.0.0
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1100.1
@angular-devkit/build-angular   0.1100.1
@angular-devkit/core            11.0.1
@angular-devkit/schematics      11.0.1
@angular/cli                    11.0.1
@schematics/angular             11.0.1
@schematics/update              0.1100.1
rxjs                            6.6.3
typescript                      4.0.5

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions