bubblewrap icon indicating copy to clipboard operation
bubblewrap copied to clipboard

Unable to fetch/read manifests on Win 11

Open aashutoshrathi opened this issue 4 years ago • 4 comments

Describe the bug Unable to read the manifests.

To Reproduce Steps to reproduce the behavior:

  1. Install bubblewrap/core and bubblewrap/cli globally.
  2. Do bubblewrap init --manifest=https://doom-fire.com/manifest.json
  3. Let Bubblewrap install the SDK
  4. Give the path to your Android SDK (Windows: C:\Users\{USERNAME}\AppData\Local\Android\sdk)
  5. It exits after printing
Initializing application from Web Manifest:
        -  https://doom-fire.com/manifest.json

Expected behavior It should initiate a Bubblewrap app from manifest

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Brave

Additional context None

aashutoshrathi avatar Nov 17 '21 14:11 aashutoshrathi

Can you check if using bubblewrap init --manifest="https://invoicify.netlify.app/manifest.json" --fetchEngine="node-fetch" on your PWA change anything? This should change from using the fetch-h2 to node-fetch.

andreban avatar Nov 17 '21 14:11 andreban

@andreban changing fetchEngine worked! What might be the issue at my end?

aashutoshrathi avatar Nov 17 '21 15:11 aashutoshrathi

I'm not sure exactly what the issue is - any chance there's a proxy or a VPN that could be interfering with the connection?

andreban avatar Nov 18 '21 17:11 andreban

No! there was no VPN or connection interference, the manifest was accessible at the same time in the browser, as I described on the call also.

aashutoshrathi avatar Nov 19 '21 08:11 aashutoshrathi

Closing, as this works using node-fetch

andreban avatar Aug 01 '23 09:08 andreban