app static web not work for production, but is working for not production environments

Eusebio Guzman Simo 0 Reputation points
2025-02-17T23:06:47.76+00:00

I have an app static web that was running during 6 month, but now is not working, just for production environment. In the app, I have three more environments no production, all are working correctly.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,081 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Suwarna S Kale 791 Reputation points
    2025-02-18T01:50:45.0066667+00:00

    Hello [Eusebio Guzman Simo],

    Thank you for posting your question in the Microsoft Q&A forum.

     

    As I understood your Azure Static Web App's production environment has stopped working while the other environments (e.g., staging, development) are functioning correctly, there could be several reasons for this issue.

    You may need to look for the any failed deployments or errors in the logs under Deployment Center, check the deployment history for the production environment.

    Compare the configuration settings (e.g., environment variables, app settings) between the production environment and the other environments. Ensure that the production environment has the correct settings, such as API endpoints, keys, or other dependencies. Useful link to refer - https://learn.microsoft.com/en-us/azure/static-web-apps/

    If you are using a custom domain for the production environment, ensure that:

    • The DNS records are correctly configured.

    • The SSL certificate is valid and properly configured.

    • You can test this by accessing the production environment using the default Azure Static Web App URL (e.g., https://<app-name>.azurestaticapps.net). Useful link to refer - https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain

    Also, you must check for Quota or Resource Limits as below

    • Azure Static Web Apps have certain limits on bandwidth, storage, and build minutes.

    • If your production environment has exceeded these limits, it might stop working.

    • Go to the Usage and quotas section in the Azure portal to check if any limits have been reached.

    https://learn.microsoft.com/en-us/azure/static-web-apps/quotas

    If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.