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

Oryx Pipeline Timeout - deploying Next.js #1035

Closed
camila-akqa opened this issue Jan 12, 2023 · 10 comments
Closed

Oryx Pipeline Timeout - deploying Next.js #1035

camila-akqa opened this issue Jan 12, 2023 · 10 comments
Assignees

Comments

@camila-akqa
Copy link

camila-akqa commented Jan 12, 2023

Describe the bug

Hope you can help us, we are trying to deploy a next.js solution to azure static web apps but our Azure pipelines stopped working since yesterday with an upload timeout.

image

Our solution is building fine and as per logs it seems to have Finished Upload and failed Polling on deployment.

I verified creating a new Static Web App and the results are similar, some times it works with no issue, and sometimes it fails. In azure I see that the status of the environment is "Uploading" and then after sometime (weight long time after the build failed) it changes to ready.

image

This is an extract of the yml step that is failing:
image

Expected behavior
The build files to upload to the static app every time the build is triggered .

@sachin-rathor
Copy link

Hi @camila-akqa,

Thanks for reaching out!

Could you share us the repo detail, Action runs, .yml file, default Hostname to investigate more on this?

@camila-akqa
Copy link
Author

camila-akqa commented Jan 12, 2023 via email

@camila-akqa
Copy link
Author

Hi @sachin-rathor I am wondering if you have had a change to look into this further. Today again this started to fail during upload without much details:

image

The difference this time is that it actually never get uploaded in Azure Static Web apps

image

Please let me know if there is anything else I can do.

Thanks

@sachin-rathor
Copy link

sachin-rathor commented Jan 18, 2023

Hi @camila-akqa,

Could you provide us the DeploymentId from the logs for the failed deployment?

@camila-akqa
Copy link
Author

Hi @sachin-rathor last failed DeploymentId: b88058b8-3858-43a1-b44f-ef114ac94c05 , please let me know if you also want the full log :) thanks again for looking into this

@sachin-rathor
Copy link

Hi @camila-akqa,

On looking into your issue, we found that there was an error related to function host. Right now we could see that your app has been successfully deployed many times after the last failed deployment.

Did you make any code changes on your side after the last failure deployment? If yes, then it might be happening because of your code changes.

If not, would it be possible for you to share your repo with us to do further investigation.
Thanks!

@camila-akqa
Copy link
Author

Hi @sachin-rathor

I hope you can keep this issue open, I've just sent you an email with further details.

Thanks

@awariis
Copy link

awariis commented Mar 6, 2024

Hello, I'm facing the same issue on nextjs 14.

@thomasgauvin
Copy link
Contributor

@awariis I recommend detailing your issue in this GitHub issue, where we'll be centralizing the discussion around Next.js deployment issues: #1427

@thomasgauvin
Copy link
Contributor

I'm closing this issue as it was opened before our improved Next.js support. Refer to the improved Next.js support announcement #1428 and #1427 for updated threads.

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

No branches or pull requests

4 participants