Current Behavior
serving a module federation host timeouts waiting on static remote proxies adding minutes to the startup
nx@22.3.0: yarn nx serve dashboard --verbose 17.93s user 2.36s system 6% cpu 5:03.66 total
Expected Behavior
serving the host does not timeout starting the static remote proxies or take multiple minutes to start serving
nx@22.2.3: yarn nx serve dashboard --verbose 0.55s user 0.14s system 2% cpu 23.772 total
GitHub Repo
https://github.com/cmcgroarty/ng-mf-serve-slow-timeout
Steps to Reproduce
- clone the repo
- run
yarn to install dependencies
- run
nx serve dashboard --verbose
- notice the long wait on starting static remote proxies and timeouts
Nx Report
Node : 24.12.0
OS : linux-x64
Native Target : x86_64-linux
yarn : 4.12.0
nx : 22.3.0
@nx/js : 22.3.0
@nx/eslint : 22.3.0
@nx/workspace : 22.3.0
@nx/angular : 22.3.0
@nx/devkit : 22.3.0
@nx/eslint-plugin : 22.3.0
@nx/module-federation : 22.3.0
@nx/rspack : 22.3.0
@nx/web : 22.3.0
@nx/webpack : 22.3.0
typescript : 5.9.3
---------------------------------------
Community plugins:
angular-eslint : 21.1.0
---------------------------------------
Cache Usage: 14.95 MB / 100.69 GB
Failure Logs
NX Starting static remotes proxies...
Connecting on localhost:4201
Error connecting on localhost:4201: ETIMEDOUT
Connecting on localhost:4202
Error connecting on localhost:4202: ETIMEDOUT
NX Static remotes proxies started successfully
NX All remotes started, server ready at http://localhost:4200
Package Manager Version
No response
Operating System
Additional Information
My guess is this is a result of #33871 that was released in v22.2.4 as v22.2.3 does not have this lengthy serve time
Current Behavior
serving a module federation host timeouts waiting on static remote proxies adding minutes to the startup
nx@22.3.0: yarn nx serve dashboard --verbose 17.93s user 2.36s system 6% cpu 5:03.66 totalExpected Behavior
serving the host does not timeout starting the static remote proxies or take multiple minutes to start serving
nx@22.2.3: yarn nx serve dashboard --verbose 0.55s user 0.14s system 2% cpu 23.772 totalGitHub Repo
https://github.com/cmcgroarty/ng-mf-serve-slow-timeout
Steps to Reproduce
yarnto install dependenciesnx serve dashboard --verboseNx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
My guess is this is a result of #33871 that was released in v22.2.4 as v22.2.3 does not have this lengthy serve time