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

Running dev server in https results in error #14807

Closed
chrisnoden opened this issue Sep 4, 2022 · 1 comment
Closed

Running dev server in https results in error #14807

chrisnoden opened this issue Sep 4, 2022 · 1 comment

Comments

@chrisnoden
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v16.15.1
  • Nuxt Version: 3.0.0-rc.9
  • Nitro Version: 0.5.0
  • Package Manager: yarn@1.22.19
  • Builder: vite
  • User Config: nitro
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Run any nuxt v3 project with the --https option.

Describe the bug

It appears part of the nuxt/vite code is trying to connect to http for a manifest file even though https has been selected.

Additional context

This is reproducible with the most simple code, eg https://github.com/chrisnoden/nuxt3-bug

Run you run yarn dev (which equates to npx nuxi dev --https --ssl-cert localhost.pem --ssl-key localhost-key.pem) you will get the error after the Vite client warmed up message.

Logs

[nuxt] [request error] [unhandled] [500] request to http://0.0.0.0:3000/__nuxt_vite_node__/manifest failed, reason: socket hang up ()
  at async $fetchRaw2 (./node_modules/ohmyfetch/dist/chunks/fetch.mjs:131:20)  
  at async ./.nuxt/dev/index.mjs:457:20  
  at async ./.nuxt/dev/index.mjs:520:64  
  at async ./.nuxt/dev/index.mjs:106:22  
  at async ./node_modules/h3/dist/index.mjs:592:19  
  at async Server.nodeHandler (./node_modules/h3/dist/index.mjs:538:7)
@danielroe
Copy link
Member

let's track in #14783.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 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

2 participants