Synology Chrome Downloader Only Accepts HTTPS

Work around the NAS Download Manager HTTPS-only limitation by proxying through whistle and downgrading requests to HTTP.

Feb 19, 2022 · 1 min read · 154 Words · -Views -Comments · Programming
🇨🇳 阅读中文版
Read with AI

Choose an AI assistant

ChatGPT Open in a new tab with the article link and prompt
Claude Copy the prompt, then open Claude

Open Claude
Trouble reading the article?

If the prompt is missing, copy the full prompt below into your AI assistant. If the AI cannot read the article, paste the visible passage you want to discuss and add your question.

After an update, the NAS Download Manager (for Synology) Chrome extension only accepted HTTPS URLs, but my NAS download service was still HTTP-only. Instead of reconfiguring the NAS, I solved it client-side.

Solution: whistle

whistle can proxy HTTPS traffic and issue its own certificates, which lets us downgrade the request.

  1. Configure whistle and your Chrome proxy extension so requests are intercepted. Follow the official docs:

    1. Enable HTTPS in whistle.
    2. Install and trust the root CA certificate.
    3. Use an extension such as SwitchyOmega so Chrome goes through the whistle proxy.
  2. Add a rule that rewrites HTTPS requests to HTTP, so whistle forwards them using plain HTTP:

    # NAS service endpoint
    /https(://110.100.176.222:50098.+)/ http$1
    

With that rule active, paste the URL into the download extension and it will work.

Final Thoughts

You could also enable HTTPS directly on the NAS. This post focuses on the client-side workaround via proxying.

References

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover