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

Can not support https request #48

Open
gjwfiza opened this issue Jan 16, 2020 · 4 comments
Open

Can not support https request #48

gjwfiza opened this issue Jan 16, 2020 · 4 comments

Comments

@gjwfiza
Copy link

gjwfiza commented Jan 16, 2020

When I set my manifestUrl by using https, a error show up, and said it can not read readRemoteManifest

@victoroliveira
Copy link

Could you give more information about the error?

I had a similar problem and fixed it setting NODE_TLS_REJECT_UNAUTHORIZED as zero.

window.nw.process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';

Meanwhile, take a look at this issue #3123.

@gjwfiza
Copy link
Author

gjwfiza commented Mar 12, 2020

I already use your method, but still don't work on my self signed SSL certificate.

The error is Cannot read remote manifest from https://10.192.188.115/client/package.json

@gjwfiza
Copy link
Author

gjwfiza commented Mar 12, 2020

I think is the mehod readJson which is not support the rejectUnanthorized options

@alitan
Copy link

alitan commented May 24, 2024

check your package.json and make sure there are no comments like "//"

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