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

[BUG] Creation of windows app fails #4842

Open
davesmits opened this issue Nov 8, 2024 · 6 comments
Open

[BUG] Creation of windows app fails #4842

davesmits opened this issue Nov 8, 2024 · 6 comments
Assignees
Labels

Comments

@davesmits
Copy link

davesmits commented Nov 8, 2024

What happened?

I tried to create a the windows package for this app https://www.pwabuilder.com/reportcard?site=https://happy-stone-0394e9503.5.azurestaticapps.net/

and fails:

Error: Failed. Status code 500
System.InvalidOperationException: Unable to fetch manifest via manifest finder service. The call to https://pwabuilder-apiv2-node.azurewebsites.net/api/FindWebManifest?site=https%3A%2F%2Fhappy-stone-0394e9503.5.azurestaticapps.net%2F failed

How do we reproduce the behavior?

1 go to https://www.pwabuilder.com/reportcard?site=https://happy-stone-0394e9503.5.azurestaticapps.net/
2 enter the package id, publisher id, publisher display name
3 click on generate package
4 it gives an error:
image

The site I was testing is: https://happy-stone-0394e9503.5.azurestaticapps.net/
at Microsoft.PWABuilder.Windows.Chromium.Services.WebManifestFinder.InvokeManifestFinderService(String apiUrl) in C:\app\Services\WebManifestFinder.cs:line 138
at Microsoft.PWABuilder.Windows.Chromium.Services.WebManifestFinder.Find(WindowsAppPackageOptions options) in C:\app\Services\WebManifestFinder.cs:line 91
at Microsoft.PWABuilder.Windows.Chromium.Services.WindowsAppPackageCreator.GenerateZip(WindowsAppPackageOptions options) in C:\app\Services\WindowsAppPackageCreator.cs:line 135
at Microsoft.PWABuilder.Windows.Chromium.Services.WindowsAppPackageCreator.CreateAppPackage(WindowsAppPackageOptions options, AnalyticsInfo analyticsInfo) in C:\app\Services\WindowsAppPackageCreator.cs:line 72
at Microsoft.PWABuilder.Windows.Chromium.Controllers.MsixController.CreateAppPackage(WindowsAppPackageOptions options, HttpContext httpContext) in C:\app\Controllers\MsixController.cs:line 153
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

HEADERS

Accept: /
Connection: keep-alive
Host: pwabuilder-windows-docker.azurewebsites.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9,nl;q=0.8
Content-Type: application/json
Max-Forwards: 9
Origin: https://www.pwabuilder.com
Content-Length: 2011
sec-ch-ua-platform: "Windows"
platform-identifier-version: 1.0.0
sec-ch-ua: "Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"
platform-identifier: PWABuilder
sec-ch-ua-mobile: ?0
correlation-id: 10d53375c-d1042-4fe7-9ea8-e27910cc68d31
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
X-ARR-LOG-ID: b39fd1fa-b603-4fe1-b92e-87ed66422679
CLIENT-IP: 188.89.220.180:51088
DISGUISED-HOST: pwabuilder-windows-docker.azurewebsites.net
X-SITE-DEPLOYMENT-ID: pwabuilder-windows-docker
WAS-DEFAULT-HOSTNAME: pwabuilder-windows-docker.azurewebsites.net
X-Forwarded-Proto: https
X-AppService-Proto: https
X-ARR-SSL: 2048|256|CN=Microsoft Azure RSA TLS Issuing CA 03, O=Microsoft Corporation, C=US|CN=*.azurewebsites.net, O=Microsoft Corporation, L=Redmond, S=WA, C=US
X-Forwarded-TlsVersion: 1.3
X-Forwarded-For: 188.89.220.180:51088, 188.89.220.180
X-Original-URL: /msix/generatezip
X-WAWS-Unencoded-URL: /msix/generatezip

at Ge (https://www.pwabuilder.com/code/test-publish-pane.c459aeca.js:14:310)
at async Ye (https://www.pwabuilder.com/code/test-publish-pane.c459aeca.js:14:7400)
at async ye (https://www.pwabuilder.com/code/test-publish-pane.c459aeca.js:14:7009)
at async g.generate (https://www.pwabuilder.com/code/test-publish-pane.c459aeca.js:1832:1123)

What do you expect to happen?

I expect the windows package is created

What environment were you using?

windows 11; edge browser

Additional context

My app is about a windows widget; in order to make this work beeing in the store is a required; making it blocking to continue with my app

Some of the other apps I have that worked before are now failing: https://www.pwabuilder.com/reportcard?site=https://zealous-coast-000168303.4.azurestaticapps.net

@davesmits
Copy link
Author

@jgw96 the part where this goes wrong isnt open source is it? (would love to help if it is)

@jgw96
Copy link
Contributor

jgw96 commented Dec 5, 2024

Note to self: Seems to fail specifically because of Widgets.

@jgw96
Copy link
Contributor

jgw96 commented Dec 5, 2024

@davesmits sorry about the delay, working on this now. I have narrowed it down specifically to Widgets, which is causing a call to a service that is not at that URL anymore.

@jgw96
Copy link
Contributor

jgw96 commented Dec 5, 2024

Testing a fix for the issue now that im out of meetings, then need to start the deployment process

@jgw96
Copy link
Contributor

jgw96 commented Dec 9, 2024

I have a fix for this pushed but still working on deploying. Working through some issues there.

@davesmits
Copy link
Author

thanks @jgw96 ; looking forward to publish my app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants