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: Responded with status 500 #1675

Closed
GorOhanyan opened this issue May 2, 2021 · 9 comments
Closed

Error generating androidTWA package: Responded with status 500 #1675

GorOhanyan opened this issue May 2, 2021 · 9 comments

Comments

@GorOhanyan
Copy link

I received the following error when generating a package for https://jued.ru

Error generating Android package.

Status code: 500

Error: Internal Server Error

Details: Error generating app package: Error: Failed to download Web Manifest https://pwabuilder-safe-url.azurewebsites.net/api/getsafeurl?url=https%3A%2F%2Fjued.ru%2Fsite.webmanifest.Responded with status 500

@ghost ghost added the needs triage 🔍 label May 2, 2021
@ghost
Copy link

ghost commented May 2, 2021

Hello GorOhanyan, 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 🙌

@ghost
Copy link

ghost commented May 2, 2021

Also getting a 500 error when attempting to build TWA for android.
image

@GorOhanyan
Copy link
Author

yes

@JudahGabriel
Copy link
Contributor

@micDropper Please open a new issue and tell us your URL.

@JudahGabriel
Copy link
Contributor

Hi @GorOhanyan

I'm able to repro your issue.

The problem appears to be that your site is using HTTP/2, and our Android tooling (Google Bubblewrap) doesn't support HTTP/2. I've opened an issue on Google Bubblewrap to support HTTP/2.

In the meantime, as a workaround, can you temporarily disable HTTP/2? Disable HTTP/2, run your URL through PWABuilder, then you can re-enable HTTP/2.

@GorOhanyan
Copy link
Author

i disabled http/2 tried, but again error :

Error generating Android package.

Status code: 500

Error: Internal Server Error

Details: Error generating app package: Error: Failed to download Web Manifest https://pwabuilder-safe-url.azurewebsites.net/api/getsafeurl?url=https%3A%2F%2Fjued.ru%2Fsite.webmanifest.Responded with status 500

@JudahGabriel
Copy link
Contributor

JudahGabriel commented May 3, 2021

@GorOhanyan I just checked, and you're still serving HTTP/2 and even some HTTP/3 traffic:

image

Notice the Protocol column shows h2 (HTTP/2) and h3-29 (experimental HTTP/3). HTTP/2 isn't yet supported by PWABuilder, and HTTP/3 is still experimental; you'll need to disable both of these to create your package. Sorry for the inconvenience!

If you're using Cloudflare to enable HTTP/2 and HTTP/3 support, try disabling Cloudflare while you create your package. You can re-enable it after you finish creating your package.

@JudahGabriel JudahGabriel changed the title Error generating androidTWA package Error generating androidTWA package: Responded with status 500 May 3, 2021
@ghost
Copy link

ghost commented May 18, 2021

This issue has been automatically marked as "no-recent-activity" because it requires author feedback but has not had any activity for 14 days. It will be closed if no further activity occurs within 30 days of this comment.

@JudahGabriel
Copy link
Contributor

Closing due to inactivity. Please follow the above instructions to fix the issue. If you continue to have problems, feel free to reopen this case.

@ghost ghost locked as resolved and limited conversation to collaborators Jul 27, 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