Skip to content

Vite7 server proxy AggregateError [ETIMEDOUT] #20399

Closed

Description

@jackqiu0123

Describe the bug

Node v22.12
Vite 7.0.4
本地启动开发,proxy报错,如下图所示

Image

package.json

Reproduction

https://stackblitz.com/edit/vitejs-vite-mxh9fcml?file=src%2Frequest.js,package.json,vite.config.js,src%2Fmain.jsx,src%2FApp.jsx,src%2FApp.css,index.html,yarn.lock&terminal=dev

Steps to reproduce

yarn
yarn dev
https://dev.xxx.com/

System Info

System:
    OS: macOS 15.5
    CPU: (8) arm64 Apple M1 Pro
    Memory: 133.55 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm
    pnpm: 10.12.4 - /opt/homebrew/bin/pnpm
  Browsers:
    Brave Browser: 108.1.46.144
    Chrome: 138.0.7204.101
    Chrome Canary: 140.0.7288.0
    Safari: 18.5
  npmPackages:
    @vitejs/plugin-basic-ssl: ^2.1.0 => 2.1.0 
    @vitejs/plugin-react: ^4.5.2 => 4.6.0 
    vite: ^7.0.2 => 7.0.4

Used Package Manager

yarn

Logs

No response

Validations

Activity

  1. added theissue type on Jul 11, 2025
  2. locked and limited conversation to collaborators on Jul 12, 2025
  3. converted this issue into a discussion #20403 on Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions