Open dfberry opened 2 months ago
Investigated with @dfberry and found that the app was being updated to a non-existent image. The app was therefore still running the quickstart image, which runs on port 80. We'll investigate why the deployment appeared successful even though the image doesn't exist.
I am getting the same error, when deploying a Next.js app to Container Apps.
@mjad218 can you verify that the container app is running your container and not the hello world container? On the resource, if you look at the JSON, it will tell you which image was deployed.
My issue was that my image wasn't referenced correctly in the deployment so the helloworld was deployed which uses a different port.
It's running the hello world. I created another Container App with the image I want and it's working now.
Thanks mate
This issue is a: (mark with an x)
Issue description
The container exposes port 3000 and the app runs on port 3000. I'm not sure what else to try.
Steps to reproduce
Expected behavior [What you expected to happen.]
I'm not sure why it thinks my container only has the default port open. Could there be an underlying issue with the revision creation?
Actual behavior [What actually happened.]
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I'm not having this issue with any other apps, just Next.js. I did see that @manekinekko set the environment variable for the port in his app so I tried that but that didn't seem to help.
I'm going to try to pull down the image from the registry locally and make sure I can still use it in case somehow the image is messed up.
@craigshoemaker @anthonychu