-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[WebToolsE2E][Aspire] Running the eShop.Web solution using http
fails with error: The endpoint https is not allocated for the resource webhooksclient.
#228
Comments
https
is not allocated for the resource webhooksclient
.http
fails with error: The endpoint https is not allocated for the resource webhooksclient.
I just ran into this on Mac OS with the
|
@adityamandaleeka can we have someone investigate? I believe this reproduces using the latest released Aspire P4. |
Look like a regression. |
Hmm I'd be surprised if this happened on windows. This seems like an issue where the https launch profile isn't being used... |
I have the same problem on a Macbook M1 chip. |
Unable to reproduce on 17.10 Preview 3 [Includes Aspire 8.0.0-preview.5.24201.12] using eShop |
I have the same problem on my own project using a Macbook Air M2 (using Preview 6). Was also able to reproduce it from the starter template with following steps:
|
Aspire Starter var builder = DistributedApplication.CreateBuilder(args);
var apiService = builder.AddProject<Projects.AppAspireRepro_ApiService>("apiservice");
builder.AddProject<Projects.AppAspireRepro_Web>("webfrontend")
.WithExternalHttpEndpoints()
.WithReference(apiService);
Console.WriteLine($"IP {apiService.GetEndpoint("http").Url}");
builder.Build().Run(); results in:
MBP M2
|
Hitting this too the using
|
REGRESSION INFO: Worked fine on Aspire 8.0.0-preview.3.24105.21
INSTALL STEPS
REPRO STEPS
aspire-preview.4
branchNote
ACTUAL:
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
Hosting failed to start
System.InvalidOperationException: The endpoint
https
is not allocated for the resourcewebhooksclient
.at Aspire.Hosting.ApplicationModel.EndpointReference.get_Value() in //src/Aspire.Hosting/ApplicationModel/EndpointReference.cs:line 37
at Aspire.Hosting.ResourceBuilderExtensions.<>c__DisplayClass4_0
1.<WithEnvironment>b__0(EnvironmentCallbackContext context) in /_/src/Aspire.Hosting/Extensions/ResourceBuilderExtensions.cs:line 76 at Aspire.Hosting.Dcp.ApplicationExecutor.CreateExecutablesAsync(IEnumerable
1 executableResources, CancellationToken cancellationToken) in //src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 573at Aspire.Hosting.Dcp.ApplicationExecutor.CreateContainersAndExecutablesAsync(CancellationToken cancellationToken) in //src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 304
at Aspire.Hosting.Dcp.ApplicationExecutor.RunApplicationAsync(CancellationToken cancellationToken) in //src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 100
at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 68
at Microsoft.Extensions.Hosting.Internal.Host.b__15_1(IHostedService service, CancellationToken token)
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable
1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List
1 exceptions, Func`3 operation)Additional Info
![image](https://private-user-images.githubusercontent.com/71361488/310021149-d3f36844-c1fe-417f-8664-3fea137efc33.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExODM3NjksIm5iZiI6MTcyMTE4MzQ2OSwicGF0aCI6Ii83MTM2MTQ4OC8zMTAwMjExNDktZDNmMzY4NDQtYzFmZS00MTdmLTg2NjQtM2ZlYTEzN2VmYzMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDAyMzEwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxYTMzN2Y5OGI5ODYyYTU3ZjY0N2Q1MzY3MWFhNWUyZTllNThhZTQ5OWE0ODViODNjYTA2ZDkxZmYyMTdiNDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1C7Axu5lZptRz8LMYdx7ozzCTf5O2jSfZPr6sLkyJ94)
EXPECTED
Running with http successfully.
The text was updated successfully, but these errors were encountered: