dsheiko / nw-autoupdater

⛔️ [DEPRECATED] Library provides low-level API to control NW.js app auto-updates
MIT License
75 stars 36 forks source link

Can not support https request #48

Open gjwfiza opened 4 years ago

gjwfiza commented 4 years ago

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

victoroliveira commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

alitan commented 4 months ago

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