Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating androidTWA package: Failed to download Web Manifest #1648

Closed
yashhooda opened this issue Apr 23, 2021 · 7 comments
Closed

Comments

@yashhooda
Copy link

yashhooda commented Apr 23, 2021

I received the following error when generating a package

Error generating Android package.
pwabuilder com_error_500_503
Error: Internal Server Error

Details: Error generating app package: Error: Failed to download Web Manifest manifest.json.Responded with status 503

@ghost ghost added the needs triage 🔍 label Apr 23, 2021
@ghost
Copy link

ghost commented Apr 23, 2021

Hello yashhooda, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

@JudahGabriel
Copy link
Contributor

JudahGabriel commented Apr 23, 2021

Hi,

The issue is that your site is serving only HTTP/3. Some of our tools don't work with that experimental protocol yet.

I see you're serving your site from Cloudflare. You can turn off HTTP/3 by logging into Cloudflare -> Network -> Http/3:
image

Try turning that off, at least while you run PWABuilder. It should work for you after that.

@yashhooda
Copy link
Author

Hello Judah, Thanks for your reply

yes i am using cloudflare and I turned off http/3 from cloudflare and tried to build app, and i am sorry i still getting that manifest.json.Responded with status 503 error.

any idea for solution ?

Please share if any..
Thank you in advance.

@JudahGabriel
Copy link
Contributor

Hmm, I am seeing the same, even though I see Cloudflare serving your site as HTTP/2.

Can you try disabling HTTP/2 in Cloudflare and packaging with PWABuilder?

Again, this would only be temporary to create the package. You can turn these back on after creating the package.

@JudahGabriel
Copy link
Contributor

JudahGabriel commented Apr 26, 2021

Technical background: PWABuilder's Android platform uses node-fetch, which doesn't yet support HTTP/2

Once node-fetch supports it, PWABuilder Android platform should start working fine on sites that support HTTP/2.

@JudahGabriel JudahGabriel changed the title Error generating androidTWA package Error generating androidTWA package: Failed to download Web Manifest Apr 28, 2021
@JudahGabriel
Copy link
Contributor

JudahGabriel commented Apr 28, 2021

@yashhooda Can you try disabling HTTP/2 and HTTP/3? I suspect that will fix your issue. After you generate the package, you can turn these back on.

@yashhooda
Copy link
Author

Hi Sorry, just disabling HTTP/3 does nothing and there is no way to disable HTTP/2 but disabling cloudflare works , i'v done that and got the package without any issue.
I want to thank you for your time and support an good luck for pwabuiler
Thank you

@ghost ghost locked as resolved and limited conversation to collaborators Jun 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants