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

Error occurs when enabling https on dev in Nuxt3 #120

Closed
shtse8 opened this issue Aug 25, 2022 · 3 comments
Closed

Error occurs when enabling https on dev in Nuxt3 #120

shtse8 opened this issue Aug 25, 2022 · 3 comments

Comments

@shtse8
Copy link

shtse8 commented Aug 25, 2022

[nuxt] [request error] [unhandled] [500] fetch failed ()
  at async $fetchRaw2 (/D:/project/node_modules/ohmyfetch/dist/chunks/fetch.mjs:131:20)
  at async /D:/project/.nuxt/dev/index.mjs:2411:20
  at async /D:/project/.nuxt/dev/index.mjs:2472:64
  at async /D:/project/.nuxt/dev/index.mjs:135:22
  at async /D:/project/node_modules/h3/dist/index.mjs:492:19
  at async nodeHandler (/D:/project/node_modules/h3/dist/index.mjs:438:7)
  at async ufetch (/D:/project/node_modules/unenv/runtime/fetch/index.mjs:9:17)
  at async $fetchRaw2 (/D:/project/node_modules/ohmyfetch/dist/chunks/fetch.mjs:131:20)
  at async Object.errorhandler [as onError] (/D:/project/.nuxt/dev/index.mjs:383:16)
  at async nodeHandler (/D:/project/node_modules/h3/dist/index.mjs:445:9)

How can I solve this?

@cwe-spb
Copy link

cwe-spb commented Sep 13, 2022

same problems.

@cwe-spb
Copy link

cwe-spb commented Sep 13, 2022

@danielroe
Copy link
Member

Yes, this should be resolved in nuxt/framework#7271. You can use it on the edge channel, but note that if you are using a self-signed certificate you must also set NODE_TLS_REJECT_UNAUTHORIZED=0.

If that does not resolve things for you, please raise a new issue in https://github.com/nuxt/framework. 🙏

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants