Deployment Timeout Issue with New Azure Static Web App

Iyngaran Iyathurai 5 Reputation points
2025-05-21T07:37:37.2266667+00:00

Hello,

I'm experiencing an issue while deploying a new Azure Static Web App built with ReactJS. During the deployment process, after the "Finished Upload" step, it enters the "Polling on deployment" phase and continues to display the following repeatedly:

Status: InProgress. Time: 0.30718(s)

...

Status: InProgress. Time: 585.301984(s)

Eventually, it ends with an "Upload Timed Out" message, and I'm unsure if the deployment was successful or not. The application does not appear to be live.

For context, I have several other static web apps deployed in the same environment that are working fine. This issue is only occurring with this newly created app.

Could you please help me identify what’s going wrong or guide me on how to resolve this?

Thank you,

Iyngaran

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

3 answers

Sort by: Most helpful
  1. Iyngaran Iyathurai 5 Reputation points
    2025-05-21T12:54:33.71+00:00

    Hi Prabhavathi Manchala

    Thank you for your response.

    I see, here that that build has been completed successfully, Here is the output.

    ♻️ Generating routes...

    ✅ Processed routes in 517ms

    vite v6.3.5 building for production...

    transforming...

    ✓ 4485 modules transformed.

    computing gzip size...

    dist/index.html 0.47 kB │ gzip: 0.31 kB



    dist/assets/index-GNZGV_oQ.js 1,076.96 kB │ gzip: 316.48 kB

    ✓ built in 20.88s

    Preparing output...

    Copying files to destination directory '/7f420773-2625-4b33-ad49-6732ac308247-swa-oryx/app'...

    Done in 6 sec(s).

    Removing existing manifest file

    Creating a manifest file...

    Manifest file created.

    Copying .ostype to manifest output directory.

    Done in 57 sec(s).

    ---End of Oryx build logs---

    Try to validate location at: '/734......-oryx/app/dist'.

    Finished building app with Oryx

    Using 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored.

    [WARNING] For Next.js apps, staticwebapp.config.json features are not fully supported yet!

    Repackaged Next.js app to deploy on the backend.

    Starting to build function app with Oryx

    ---Oryx build logs---

    Also, I don't see the View Workflow Logs in the mentioned location.

    Thanks

    Iyngaran

    1 person found this answer helpful.

  2. Shree Hima Bindu Maganti 4,925 Reputation points Microsoft External Staff Moderator
    2025-05-21T14:52:43.31+00:00

    Hi @Iyngaran Iyathurai
    Thanks for your Update.
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Issue :Deployment Timeout Issue with New Azure Static Web App

    solution:
    I resolved the issue.

    Although it's a ReactJS app, the package.json file had a next dependency. I believe it was added when we installed next-themes.

    I removed the following two lines from package.json.

    "next": "14.0.3",
    "next-themes": "^0.4.6",
    

    That resolved the issue, and the deployment was successful. 😊
    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

  3. Iyngaran Iyathurai 5 Reputation points
    2025-05-21T14:24:24.4933333+00:00

    I resolved the issue.

    Although it's a ReactJS app, the package.json file had a next dependency. I believe it was added when we installed next-themes.

    I removed the following two lines from package.json.

    "next": "14.0.3",
    "next-themes": "^0.4.6",
    

    That resolved the issue, and the deployment was successful. 😊


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.