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

RC12 header overflow #15248

Closed
jpengelbrecht opened this issue Oct 24, 2022 · 3 comments
Closed

RC12 header overflow #15248

jpengelbrecht opened this issue Oct 24, 2022 · 3 comments

Comments

@jpengelbrecht
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v16.18.0
  • Nuxt Version: 3.0.0-rc.12
  • Nitro Version: 0.5.4
  • Package Manager: yarn@1.22.19
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Iv been struggling to reproduce this on smaller projects, but its definitely only a problem on RC 12, RC 11 works fine.

I noticed on larger projects that when requesting the router page nuxt RC12 produces a header overflow error on h3. which then causes the entire dev server to crash

Describe the bug

it seems sometimes when going to routes we get a header overflow error from h3.

this also seems to only be a problem on nuxt dev, nuxt generate seems to handle everything ok for some reason

Additional context

image
image

Logs

ERROR  [h3] [unhandled] Parse Error: Header overflow                                                                                                                                   13:58:55

  at Socket.socketOnData (node:_http_client:534:22)
  at Socket.emit (node:events:513:28)
  at Socket.emit (node:domain:489:12)
  at addChunk (node:internal/streams/readable:315:12)
  at readableAddChunk (node:internal/streams/readable:289:9)
  at Socket.Readable.push (node:internal/streams/readable:228:10)
  at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
@jgupta
Copy link

jgupta commented Oct 24, 2022

You may try disabling early hints. Please see #15189 if that is relevant to you.

export default defineNuxtConfig({
  ...
  experimental: {
    writeEarlyHints: false,
  },
  ...
})

@jpengelbrecht
Copy link
Author

huh interesting, this did seemed to of resolved the issue

@manniL
Copy link
Member

manniL commented Oct 24, 2022

As @jgupta mentioned, let's track in #15189

@manniL manniL closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants