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] Error: Failed. Status code 500 Windows Package #4589

Closed
EagleDotNet opened this issue Dec 24, 2023 · 6 comments
Closed

[BUG] Error: Failed. Status code 500 Windows Package #4589

EagleDotNet opened this issue Dec 24, 2023 · 6 comments

Comments

@EagleDotNet
Copy link

Link to the report card page

https://www.pwabuilder.com/reportcard?site=https://www.ch-mafaza.com/

What Store were you trying to package for?

Windows Package

What is the error message you received?

Error: Failed. Status code 500

Paste your stack trace below

The site I was testing is: https://www.ch-mafaza.com/
at Microsoft.PWABuilder.Windows.Chromium.Services.ProcessRunner.Run(String processPath, String processArgs, Nullable1 killTime, String workingDirectory, Encoding outputEncoding) in C:\app\Services\ProcessRunner.cs:line 79 at Microsoft.PWABuilder.Windows.Chromium.Services.PwaBuilderWrapper.RunPwabuilderExe(WindowsAppPackageOptions options, ImageGeneratorResult appImages, WebAppManifestContext webManifest, String outputDirectory, String pwaBuilderFilePath, String pwaBuilderArgs) in C:\app\Services\PwaBuilderWrapper.cs:line 57 --- End of inner exception stack trace --- at Microsoft.PWABuilder.Windows.Chromium.Services.PwaBuilderWrapper.RunPwabuilderExe(WindowsAppPackageOptions options, ImageGeneratorResult appImages, WebAppManifestContext webManifest, String outputDirectory, String pwaBuilderFilePath, String pwaBuilderArgs) in C:\app\Services\PwaBuilderWrapper.cs:line 64 at Microsoft.PWABuilder.Windows.Chromium.Services.PwaBuilderWrapper.Run(WindowsAppPackageOptions options, ImageGeneratorResult appImages, WebAppManifestContext webManifest, String outputDirectory, String processor, Boolean fallback) in C:\app\Services\PwaBuilderWrapper.cs:line 50 at Microsoft.PWABuilder.Windows.Chromium.Services.ModernWindowsPackageCreator.BuildStorePackage(WindowsAppPackageOptions options, ImageGeneratorResult appImages, WebAppManifestContext webManifest, String outputDirectory, String processor) in C:\app\Services\ModernWindowsPackageCreator.cs:line 105 at Microsoft.PWABuilder.Windows.Chromium.Services.ModernWindowsPackageCreator.BuildStoreReadyPackage(WindowsAppPackageOptions options, ImageGeneratorResult appImages, WebAppManifestContext webManifest, String outputDirectory) in C:\app\Services\ModernWindowsPackageCreator.cs:line 71 at Microsoft.PWABuilder.Windows.Chromium.Services.ModernWindowsPackageCreator.Create(WindowsAppPackageOptions options, ImageGeneratorResult appImages, WebAppManifestContext webManifest, String outputDirectory) in C:\app\Services\ModernWindowsPackageCreator.cs:line 50 at Microsoft.PWABuilder.Windows.Chromium.Services.WindowsAppPackageCreator.CreateModernWindowsPackage(WindowsAppPackageOptions options, ImageGeneratorResult appImages, WebAppManifestContext webManifest) in C:\app\Services\WindowsAppPackageCreator.cs:line 151 at Microsoft.PWABuilder.Windows.Chromium.Services.WindowsAppPackageCreator.GenerateZip(WindowsAppPackageOptions options) in C:\app\Services\WindowsAppPackageCreator.cs:line 138 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.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 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/120.0.0.0 Safari/537.36
Accept-Encoding: gzip, deflate, br
Accept-Language: ar-EG,ar;q=0.9,en;q=0.8
Content-Type: application/json
Max-Forwards: 9
Origin: https://www.pwabuilder.com
Content-Length: 3162
sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"
correlation-id: 7dd106b49-b673-4984-9957-aea443dbe14d
DNT: 1
platform-identifier-version: 1.0.0
sec-ch-ua-mobile: ?0
platform-identifier: PWABuilder
sec-ch-ua-platform: "Windows"
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
X-ARR-LOG-ID: 7fe706f5-f8d5-482e-9d18-736263aeb482
CLIENT-IP: 156.213.49.150:62634
DISGUISED-HOST: pwabuilder-windows-docker.azurewebsites.net
X-SITE-DEPLOYMENT-ID: pwabuilder-windows-docker__55f7
WAS-DEFAULT-HOSTNAME: pwabuilder-windows-docker.azurewebsites.net
X-Forwarded-Proto: https
X-AppService-Proto: https
X-ARR-SSL: 2048|256|CN=Microsoft Azure TLS Issuing CA 01, 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: 156.213.49.150:62634, 156.213.49.150
X-Original-URL: /msix/generatezip
X-WAWS-Unencoded-URL: /msix/generatezip

at We (https://www.pwabuilder.com/code/test-publish-pane.02aabd61.js:14:241)
at async je (https://www.pwabuilder.com/code/test-publish-pane.02aabd61.js:14:7327)
at async fe (https://www.pwabuilder.com/code/test-publish-pane.02aabd61.js:14:6936)
at async g.generate (https://www.pwabuilder.com/code/test-publish-pane.02aabd61.js:1835:1123)

What environment were you using?

Windows 10

Additional context

Error: Failed. Status code 500

Microsoft.PWABuilder.Windows.Chromium.Models.ProcessException: The pwa_builder.exe process exited with exit code -2147483645. Process: C:\app\publish\Resources\cli\pwabuilder\pwa_builder.exe Standard output: Standard error: [1224/163303.486:ERROR:network_change_notifier_win.cc(330)] WSALookupServiceBegin failed with: 0 [1224/163303.611:ERROR:network_change_notifier_win.cc(330)] WSALookupServiceBegin failed with: 0 [1224/163303.626:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization [1224/163303.689:ERROR:gpu_channel_manager.cc(953)] Failed to create GLES3 context, fallback to GLES2. [1224/163303.689:ERROR:gpu_channel_manager.cc(964)] ContextResult::kFatalFailure: Failed to create shared context for virtualization. [1224/163305.836:ERROR:pwa_headless_manifest_handler.cc(159)] Failed to load page content with error: -3 Output directory: C:\Users\ContainerAdministrator\AppData\Local\Temp\modernpackage-80c7a41a-9349-4bb1-96c0-2c090c355294 Msix options: --url="https://www.ch-XXXXX.com/" --target="C:\Users\ContainerAdministrator\AppData\Local\Temp\modernpackage-80c7a41a-9349-4bb1-96c0-2c090c355294" --version="1.0.2.0" --publisher="CN=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX" --package-id-name="24322XXXXXXXXX.XXXXX" --launch-args="--windows-store-app" --display-name="XXXXX" --publisher-display-name="XXXXXXXXX" --icons="C:\Users\ContainerAdministrator\AppData\Local\Temp\app-images-c05d138b-ada6-4e3b-8a0b-512a4f013239" --pri="C:\app\publish\Resources\resources.pri" --resource-language="AR" --display-mode="fullscreen" --target-device-family="Windows.Desktop;Windows.Holographic;Windows.Team" --signed-app Standard output: Standard error: [1224/163303.486:ERROR:network_change_notifier_win.cc(330)] WSALookupServiceBegin failed with: 0 [1224/163303.611:ERROR:network_change_notifier_win.cc(330)] WSALookupServiceBegin failed with: 0 [1224/163303.626:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization [1224/163303.689:ERROR:gpu_channel_manager.cc(953)] Failed to create GLES3 context, fallback to GLES2. [1224/163303.689:ERROR:gpu_channel_manager.cc(964)] ContextResult::kFatalFailure: Failed to create shared context for virtualization. [1224/163305.836:ERROR:pwa_headless_manifest_handler.cc(159)] Failed to load page content with error: -3 ---> Microsoft.PWABuilder.Windows.Chromium.Models.ProcessException: The pwa_builder.exe process exited with exit code -2147483645. Process: C:\app\publish\Resources\cli\pwabuilder\pwa_builder.exe Standard output: Standard error: [1224/163303.486:ERROR:network_change_notifier_win.cc(330)] WSALookupServiceBegin failed with: 0 [1224/163303.611:ERROR:network_change_notifier_win.cc(330)] WSALookupServiceBegin failed with: 0 [1224/163303.626:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization [1224/163303.689:ERROR:gpu_channel_manager.cc(953)] Failed to create GLES3 context, fallback to GLES2. [1224/163303.689:ERROR:gpu_channel_manager.cc(964)] ContextResult::kFatalFailure: Failed to create shared context for virtualization. [1224/163305.836:ERROR:pwa_headless_manifest_handler.cc(159)] Failed to load page content with error: -3

@khmyznikov
Copy link
Contributor

Working with internal team to investigate @amrutha95

@khmyznikov
Copy link
Contributor

@EagleDotNet as workaround, try to use static manifest file, without params.

@EagleDotNet
Copy link
Author

Hello

@EagleDotNet
Copy link
Author

I use the "DaftPlug Instantify - PWA & Google AMP & Instant Articles Plugin" on WordPress. However, I created a "manifest.json" file on the "pwabuilder" website and placed it at the top of the site's directory, and then I tried to create the Windows package from "https: //www.pwabuilder.com/reportcard?site=https://www.mc-smartcraft.com/” The error also appeared.

@EagleDotNet
Copy link
Author

For your information, I have 4 websites where I am all facing the same error

@khmyznikov
Copy link
Contributor

@EagleDotNet thanks for info, sorry for these troubles, we are investigating 🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done ✔️
Development

No branches or pull requests

4 participants