question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bubblewrap update throwing: ERROR Failed to download Web Manifest responded with status 403

See original GitHub issue

Describe 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:open
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
andrebancommented, Jun 9, 2021

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 read manifest.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

0reactions
naveedahmed1commented, Jun 9, 2021

Cloudflare may be using robots.txt to block bots in their bot management system

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found