Closed ZhaoTonggang closed 2 years ago
Hello ZhaoTonggang, 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 🙌
I'm able to repro.
As the error states, your web server is sending a 503 (Server Unavilable) when PWABuilder tries to fetch your manifest. This is likely because you use Cloudflare, and Cloudflare is blocking PWABuilder's servers, thinking us an unwanted bot.
I recommend you temporarily pause Cloudflare, create your Android package, then re-enable Cloudflare. You can do this by logging into Cloudflare, selecting your site, then choosing: Pause Cloudflare on site
:
Once you create your Android package, you can unpause Cloudflare.
Give that a try and let us know if it works for you.
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.
Closing for inactivity. Please reopen if you're still hitting the issue after following the steps outlined above.
I received the following error when generating a package for https://my.heheda.top
Error: Error generating Android package. Status code: 500 Error: Internal Server Error Details: Error generating app package: Failed to download Web Manifest https://my.heheda.top/manifest.json.Responded with status 503 stack: Error: Failed to download Web Manifest https://my.heheda.top/manifest.json.Responded with status 503 at TwaGenerator.writeWebManifest (/app/node_modules/@bubblewrap/core/dist/lib/TwaGenerator.js:221:19) at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at TwaGenerator.createTwaProject (/app/node_modules/@bubblewrap/core/dist/lib/TwaGenerator.js:350:13)
at BubbleWrapper.generateTwaProject (/app/build/bubbleWrapper.ts:112:9)
at BubbleWrapper.generateAppPackage (/app/build/bubbleWrapper.ts:53:9)
at createAppPackageWith403Fallback (/app/routes/project.ts:249:12)
at createAppPackage (/app/routes/project.ts:225:12)
at /app/routes/project.ts:36:24