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

[DynamiciO] Connection closed when navigating next/link #72297

Closed
khuezy opened this issue Nov 5, 2024 · 4 comments
Closed

[DynamiciO] Connection closed when navigating next/link #72297

khuezy opened this issue Nov 5, 2024 · 4 comments
Labels
bug Issue was opened via the bug report template. dynamicIO Related to dynamicIO. locked

Comments

@khuezy
Copy link
Contributor

khuezy commented Nov 5, 2024

Link to the code that reproduces this issue

https://github.com/khuezy/dynamiio_bug

To Reproduce

  1. pnpm install
  2. npm run build
  3. npm run start
  4. go to http://localhost:3000/A and wait until page fully loads (browser spinner stops)
  5. Click on "B" and see "connection closed" crash in console

Current vs. Expected behavior

App shouldn't crash when navigating.

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000
  Available memory (MB): 32768
  Available CPU cores: 10
Binaries:
  Node: 22.9.0
  npm: 10.8.3
  Yarn: N/A
  pnpm: 9.12.2
Relevant Packages:
  next: 15.0.3-canary.6 // Latest available version is detected (15.0.3-canary.6).
  eslint-config-next: N/A
  react: 19.0.0-rc-4d577fd2-20241104
  react-dom: 19.0.0-rc-4d577fd2-20241104
  typescript: 5.6.3
Next.js Config:
  output: standalone

Which area(s) are affected? (Select all that apply)

dynamicIO

Which stage(s) are affected? (Select all that apply)

next start (local), Other (Deployed)

Additional context

error

@khuezy khuezy added the bug Issue was opened via the bug report template. label Nov 5, 2024
@github-actions github-actions bot added the dynamicIO Related to dynamicIO. label Nov 5, 2024
@patelvivekdev
Copy link

When you add prefetch to Link, the error disappears.

@khuezy
Copy link
Contributor Author

khuezy commented Nov 5, 2024

Great observation.

@khuezy
Copy link
Contributor Author

khuezy commented Nov 7, 2024

This was fixed in #72420, available in 15.0.3

@khuezy khuezy closed this as completed Nov 7, 2024
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template. dynamicIO Related to dynamicIO. locked
Projects
None yet
Development

No branches or pull requests

2 participants