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

Configuring https server results in an exception #92

Open
metalmarker opened this issue May 30, 2023 · 3 comments
Open

Configuring https server results in an exception #92

metalmarker opened this issue May 30, 2023 · 3 comments

Comments

@metalmarker
Copy link

I'm trying to configure Vite (express) to run https on localhost using these methods.

The problem is that when vite-plugin-node is active, I'm getting this error:
`ERROR [Uncaught exception] Cannot read properties of undefined (reading 'readable')

Stack: TypeError: Cannot read properties of undefined (reading 'readable')
at IncomingMessage._read (node:http_incoming:214:19)
at IncomingMessage.Readable.read (node:internal/streams/readable:487:10)
at resume
(node:internal/streams/readable:987:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)`

Perhaps that can be accomplished by writing a custom adapter?

@metalmarker metalmarker changed the title Configuring http server results in an exception Configuring https server results in an exception Jun 20, 2023
@Ami777
Copy link

Ami777 commented Jul 26, 2023

+1

@Gobbo89
Copy link

Gobbo89 commented Jan 30, 2024

Same here, did you find a solution?

@metalmarker
Copy link
Author

Same here, did you find a solution?

Haven't found a clean solution, instead I've used local-ssl-proxy as a workaround.

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