-
-
Notifications
You must be signed in to change notification settings - Fork 371
Open
Description
Describe the bug
Runtime Api
debug 日志
[2025-09-12T11:32:36.004] [INFO] forkDevWorker - ChildProcess(44495), message: {"type":"mf_call","id":"3594517d-24bf-4e05-8497-853edccfe1a7","args":[{"name":"runtime_app","host":{"context":"runtime-18-app","moduleFederationConfig":{"filename":"emp.js","dts":{"generateTypes":false,"consumeTypes":true},"dev":{"disableDynamicRemoteTypeHints":false},"name":"runtime_app","exposes":{},"implementation":"@module-federation+runtime-tools@0.18.4/node_modules/@module-federation/runtime-tools/dist/index.cjs.cjs","runtimePlugins":["@module-federation+dts-plugin@0.18.4_typescript@5.9.2/node_modules/@module-federation/dts-plugin/dist/dynamic-remote-type-hints-plugin.js"]},"typesFolder":"@mf-types","abortOnError":false,"consumeAPITypes":true},"extraOptions":{},"disableLiveReload":false,"disableHotTypesReload":false}]}
[2025-09-12T11:32:36.010] [INFO] Module Federation DTS - Publisher:runtime_app Trying to connect to ws://172.29.96.250:16322...
[2025-09-12T11:32:36.015] [INFO] forkDevWorker - ChildProcess(44495), message: {"type":"mf_call","id":"3594517d-24bf-4e05-8497-853edccfe1a7","args":[null,"update"]}
[2025-09-12T11:32:36.016] [INFO] forkDevWorker - remoteModule runtime_app receive devWorker update, start typesManager.updateTypes
[2025-09-12T11:32:36.017] [INFO] updateTypes - options: {
"updateMode": "POSITIVE",
"remoteName": "runtime_app"
};
hostName: runtime_app
[2025-09-12T11:32:36.024] [FATAL] Module Federation DTS - Failed to connect to ws://172.29.96.250:16322...
[2025-09-12T11:32:36.025] [WARN] Module Federation DTS - Connection closed with code 1006.
[2025-09-12T11:32:36.026] [INFO] Module Federation DTS - start reconnecting to server after 1s.
[2025-09-12T11:32:36.084] [WARN] Module Federation DTS - Creating new background broker...
[2025-09-12T11:32:36.240] [INFO] StartBroker - startBroker... 44507
[2025-09-12T11:32:36.278] [INFO] Module Federation DTS - background broker started.
[2025-09-12T11:32:37.027] [INFO] Module Federation DTS - Publisher:runtime_app Trying to connect to ws://172.29.96.250:16322...
[2025-09-12T11:32:37.037] [INFO] Module Federation DTS - Current pid: 44495, publisher:runtime_app connected to ws://172.29.96.250:16322, starting service...
[2025-09-12T11:32:37.041] [INFO] Broker - ADD_PUBLISHER action received
[2025-09-12T11:32:37.042] [INFO] Broker - [ADD_PUBLISHER] mf :runtime_app:172.29.96.250 Adding Publisher Succeed
Reproduction
none
Used Package Manager
pnpm
System Info
System:
OS: macOS 14.6.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 57.48 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.19.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.9.3 - /usr/local/bin/npm
pnpm: 8.15.9 - ~/Library/pnpm/pnpm
bun: 1.2.13 - ~/.bun/bin/bun
Watchman: 2024.10.14.00 - /usr/local/bin/watchman
Browsers:
Chrome: 139.0.7258.155
Safari: 17.6
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Module federation issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
No labels