Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React, MFE - Timed out waiting for remote to start. Check above for any errors #17354

Closed
1 of 4 tasks
vadimka123 opened this issue Jun 1, 2023 · 6 comments · Fixed by #18099
Closed
1 of 4 tasks

React, MFE - Timed out waiting for remote to start. Check above for any errors #17354

vadimka123 opened this issue Jun 1, 2023 · 6 comments · Fixed by #18099
Assignees
Labels
outdated scope: react Issues related to React support for Nx type: bug

Comments

@vadimka123
Copy link
Contributor

Current Behavior

After some time after successful start I get this error
Started after update to 16.3.0

Expected Behavior

All continue work successfully

GitHub Repo

No response

Steps to Reproduce

I checked code and looks like related to custom host option instead of standard localhost

nx serve host --open --devRemotes={...} --ssl --host {...} --ssl-cert {...}--ssl-key {...}

Nx Report

Node   : 18.12.1
   OS     : darwin x64
   npm    : 8.19.2
   Hasher : Native
   
   nx                 : 16.3.0
   @nx/js             : 16.3.0
   @nx/jest           : 16.3.0
   @nx/linter         : 16.3.0
   @nx/workspace      : 16.3.0
   @nx/cypress        : 16.3.0
   @nx/devkit         : 16.3.0
   @nx/eslint-plugin  : 16.3.0
   @nx/react          : 16.3.0
   @nrwl/tao          : 16.3.0
   @nx/web            : 16.3.0
   @nx/webpack        : 16.3.0
   nx-cloud           : 16.0.5
   typescript         : 5.0.4

Failure Logs

.../node_modules/@nx/react/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js:98
                throw new Error(`Timed out waiting for remote to start. Check above for any errors.`);
                      ^

Error: Timed out waiting for remote to start. Check above for any errors.
    at .../node_modules/@nx/react/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js:98:23
    at Generator.throw (<anonymous>)
    at rejected (.../node_modules/tslib/tslib.js:165:69)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.12.1

 ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Running target serve for project host failed

   Failed tasks:
   
   - host:serve:development
   
   Hint: run the command with --verbose for more details.

   View structured, searchable error logs at ...

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder AgentEnder added the scope: react Issues related to React support for Nx label Jun 1, 2023
@xiongemi xiongemi self-assigned this Jun 20, 2023
@Ifunanyacollins
Copy link

@xiongemi, any update to fix this issue?

@senseibarni
Copy link

I have the same issue after upgrading to 16.5.0 (from 16.2.2).

@niltonxp2
Copy link

I've got the same issue since v16.3.0

@WizzApp
Copy link

WizzApp commented Jul 26, 2023

I'm sorry to chime in here, but the issue is still happening with 16.5.5. Is this fixed in 16.6? I just saw that the PR was closed. Is there any workaround for this problem?

@ghost
Copy link

ghost commented Aug 7, 2023

The issue still occurs if serving remotes using the custom host option instead of the default "localhost".

@github-actions
Copy link

github-actions bot commented Sep 7, 2023

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: react Issues related to React support for Nx type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants