bubblewrap update throwing: ERROR Failed to download Web Manifest responded with status 403
See original GitHub issueDescribe the bug
When I try updating my app using command bubblewrap update --appVersionName="3.0.10"
Its throwing below error:
cli ERROR Failed to download Web Manifest https://www.mustakbil.com/manifest.json.Responded with status 403
When I try opening https://www.mustakbil.com/manifest.json in browser its working fine.
To Reproduce
I am not sure if the issue is with my manifest.json
or project config.
I haven’t made any changes to the project, I just run the update command on the same project which was working fine.
I use Cloudflare, so is there any way to check if Cloudflare is blocking access to manifest.json
when using bubblewrap cli
Expected behavior It should work without any issue.
Desktop (please complete the following information):
- OS: Windows 10
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Facing issues while trying to init Bubblewrap for TWA installation
I upgraded to the latest Node. js version with nvm install node --reinstall-packages-from=node and now the errors that I posted have gone in ......
Read more >@bubblewrap/cli - npm
CLI tool to Generate TWA projects from a Web Manifest. ... it will offer to automatically download and install external dependencies.
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >Bug listing with status UNCONFIRMED as at 2022/12/24 17 ...
StackOverflowError thrown from the UncaughtExceptionHandler in thread "process ... Bug:655926 - "x11-terms/gnome-terminal fails to respond to control codes ...
Read more >permissions - CVE - Search Results
Users unable to upgrade may set `java.io.tmpdir` to a directory to which only ... to download a web content page's XLIFF translation file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My guess here is that Clouldflare is getting more agressive when blocking traffic from robots. They have a page with instructions around managing good bots.
It seems the solution here is to edit your
robots.txt
and explicitly allow robots to readmanifest.json
. You probably want to add the URL for any images in the Web Manifest too.❗ ❗ Be aware that modifying your robots.txt file could block other bots on the web (eg: Googlebot) and make then unable to crawl your pages. Be careful and read the docs before implementing it ❗ ❗
@JudahGabriel FYI
Their website mentions this “Robots.txt is a file on a web server outlining the rules for bots accessing properties on that server. However, the file itself does not enforce these rules. Essentially, anyone who programs a bot is supposed to follow an honor system and make sure that their bot checks a website’s robots.txt file before accessing the website. Malicious bots, of course, typically do not follow this system – hence the need for bot management.”
I actually tried whitelisting my ip through their firewall, but even that didnt work.
I will also contact Cloudflare to find more details about the issue.