-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
scope: module federationIssues related to module federation supportIssues related to module federation supporttype: bug
Description
Current Behavior
serving a module federation host timeouts waiting on static remote proxies adding minutes to the startup
[email protected]: 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
[email protected]: 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
yarnto 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 GBFailure 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:4200Package Manager Version
No response
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
scope: module federationIssues related to module federation supportIssues related to module federation supporttype: bug