-
Notifications
You must be signed in to change notification settings - Fork 621
[WebToolsE2E][Aspire] The endpoint for 'functionapp1' displays 'Hmmm...can't reach this page' when running Aspire Starter 9.2 with an Azure Functions project. #8500
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
Comments
Did you look at the logs? |
May I know where to check the logs for this issue? |
Is it possible that you just hit the url too early before the functions app is healthy? |
There are no health checks on the functions project resource, so healthy in this case means the app is running. |
@davidfowl @balachir This doesn't look like a specific issue with .net9, and it‘s also reproduced with .net 8 target (unlike mentioned in the bug note), where we can see the function app by navigating to [http://localhost:7071/api/Function1 instead of the endpoint in the dashboard. But when aspire is not introduced, the port it actually runs on is the port given in launch.settings.json. |
Moving this out of 9.2 I think the fix here is to add an http health check to functions projects (likely the template). |
@davidfowl @v-elenafeng I investigated this some more and there seems to be a regression with Functions + Aspire scenario in Aspire 9.2 compared to Aspire 9.1. I found clearer repro steps and opened a separate issue #8589, which we may want to fix for 9.2. I'll close this one as a dupe of that one. |
REGRESSION INFO
INSTALL STEPS
dotnet new install Aspire.ProjectTemplates::9.2.0-preview.1.25201.19 --force
NOTE
REPRO STEPS
ACTUAL

The page displays 'Hmmm...can't reach this page'
EXPECTED

The page should display 'Your Functions 4.0 app is up and running'
The text was updated successfully, but these errors were encountered: