Skip to content

Bad Request Errors After Upgrading to @sveltejs/[email protected] and @sveltejs/[email protected] #14218

@abdelfattahradwan

Description

@abdelfattahradwan

Describe the bug

All of our production apps started returning Bad Request when accessing any routes after upgrading to @sveltejs/[email protected] and @sveltejs/[email protected].

Reproduction

  • Create a new SvelteKit project.
  • Update to the latest SvelteKit version.
  • Install the latest version of adapter/node.
  • Build & deploy your application.
  • Navigate to any route in your application.

Logs

N/A

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (28) x64 Intel(R) Core(TM) i7-14700K
    Memory: 32.65 GB / 63.70 GB
  Binaries:
    Node: 22.18.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.5.2 - ~\AppData\Roaming\npm\npm.CMD
    bun: 1.2.20 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (139.0.3405.86)
    Internet Explorer: 11.0.26100.1882
  npmPackages:
    @sveltejs/adapter-node: 5.2.14 => 5.2.14 
    @sveltejs/kit: 2.29.1 => 2.29.1 
    @sveltejs/vite-plugin-svelte: ^6.1.2 => 6.1.2 
    svelte: ^5.38.1 => 5.38.1 
    vite: ^7.1.2 => 7.1.2

Severity

blocking all usage of SvelteKit

Additional Information

The affected apps are deployed on bare-metal servers behind Cloudflare, acting as a proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp1-importantSvelteKit cannot be used by a large number of people, basic functionality is missing, etc.pkg:adapter-node

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions