Closed Menghua1 closed 2 months ago
I don't think it's expected you could azd up
the entire samples repo. Each directory under the ./samples
directory is an individual Aspire app and some of them will deploy successfully with azd
but not all as each sample generally only includes enough specific code as is required to demonstrate the topic of the sample.
Did azd up
return any errors? Try running azd up --debug
to get more info.
I don't think it's expected you could
azd up
the entire samples repo. Each directory under the./samples
directory is an individual Aspire app and some of them will deploy successfully withazd
but not all as each sample generally only includes enough specific code as is required to demonstrate the topic of the sample.
Maybe my description is not clear enough. What I want to express is that for some projects in the ./samples
directory, after running azd up
, an error occurs on the page loading the service.
Did
azd up
return any errors? Try runningazd up --debug
to get more info.
More log info is as follows:
So all deployed successfully? Hard to say from the screenshots.
So all deployed successfully? Hard to say from the screenshots.
Yes, the deployment is successful, and the output in the container in the picture below is also normal, but the page cannot be loaded normally.
We found that the service links with this issue all contained the word internal
. Does this mean this is an internal service and the expected service page?
@Menghua1 are you seeing this for any endpoint/service which was configured in app-host to be public but is showing 404/stopped? Suspecting you are seeing this page 404/stopped page for internal endpoints/services. Which is the right behavior. ex:
starter-redis Services: apiservice https://apiservice.internal.braveflower-4335e738.eastus.azurecontainerapps.io/ - 404/stopped cache https://cache.internal.braveflower-4335e738.eastus.azurecontainerapps.io/ - 404/stopped webfrontend https://webfrontend.braveflower-4335e738.eastus.azurecontainerapps.io/ - accessible
404/stopped page
@Menghua1 are you seeing this for any endpoint/service which was configured in app-host to be public but is showing 404/stopped? Suspecting you are seeing this page 404/stopped page for internal endpoints/services. Which is the right behavior. ex:
starter-redis Services: apiservice https://apiservice.internal.braveflower-4335e738.eastus.azurecontainerapps.io/ - 404/stopped cache https://cache.internal.braveflower-4335e738.eastus.azurecontainerapps.io/ - 404/stopped webfrontend https://webfrontend.braveflower-4335e738.eastus.azurecontainerapps.io/ - accessible
Yes, all 404/stopped pages are configured with app-host as internal
, since this is expected I will close this issue.
Describe the issue: After running the
azd up
command, click the output link, and an error occurs when loading the page. The page is as follows:Repro Steps:
azd init
.azd up
.Environment:
azd version 1.9.0-daily.3765530 (commit 651394c3ddcfadff194d177f8b0ddf06fe3752bf)
8.0.0-preview.6.24214.1
aspire-starter
(service apiservice).Expected behavior: After
azd up
, all services links can load normally.@rajeshkamal5050, @vhvb1989 for notification.