dvcol / synology-download

Synology Download Station browser extension built with React.
https://dvcol.github.io/synology-download/
MIT License
48 stars 6 forks source link

[bug]: Polling fails after SW sleep because of invalid certificate (HTTPS) #183

Open dvcol opened 1 year ago

dvcol commented 1 year ago

Because SW are not persistent in MV3 and don't have a permanent page, when they are de-registered, we encounter SSL errors.

This leads the service worker polling to fail with invalid certificate when no valid SSL certificate has been applied and we are using unsafe override.

Possible workaround : use HTTP

(see this open issue on MV3)

dvcol commented 1 year ago

Current autologin workaroud should be removed if this is fixed.

dvcol commented 1 year ago

Related to https://github.com/dvcol/synology-download/issues/7

dvcol commented 1 year ago

Offscreen API might provide a way to make SSL auth from service worker without the popup