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

[🐞] Azure/SWA: deployed app returns HTTP status 500 #7154

Open
rondonjon opened this issue Dec 13, 2024 · 0 comments
Open

[🐞] Azure/SWA: deployed app returns HTTP status 500 #7154

rondonjon opened this issue Dec 13, 2024 · 0 comments
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working

Comments

@rondonjon
Copy link

rondonjon commented Dec 13, 2024

Which component is affected?

Qwik Runtime

Describe the bug

Problem

Having installed the azure-swa adapter and successfully built and deployed my app, I find the target environment responding with an HTTP status code 500.

There is almost no information (stack traces etc.) available in Azure. Application Insights shows that the requests have been processed by /api/render within reasonable time, but with status code 500.

To reproduce

Repository (just a qwik starter repo with azure-swa added): https://github.com/rondonjon/qwik-swa-deployment-repro

Deployment URL: https://ashy-wave-05e72ba03-preview.westeurope.4.azurestaticapps.net

Reproduction

https://ashy-wave-05e72ba03-preview.westeurope.4.azurestaticapps.net

Steps to reproduce

  • initialize a new qwik app
  • add the azure swa adapter
  • build the app
  • deploy the app with npx swa deploy
  • open the displayed deployment URL in a browser
  • browser will display an http status code 500

System Info

 System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 7945HX with Radeon Graphics
    Memory: 15.17 GB / 31.19 GB
  Binaries:
    Node: 20.18.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @builder.io/qwik: ^1.11.0 => 1.11.0
    @builder.io/qwik-city: ^1.11.0 => 1.11.0
    typescript: 5.4.5 => 5.4.5
    undici: * => 7.1.0
    vite: 5.3.5 => 5.3.5

Additional Information

No response

@rondonjon rondonjon added STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working labels Dec 13, 2024
@rondonjon rondonjon reopened this Dec 13, 2024
@rondonjon rondonjon changed the title [🐞] Azure/SWA: app returns HTTP status 500 [🐞] Azure/SWA: deployed app returns HTTP status 500 Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant