Flaky test: Aspire.Hosting.Tests.DistributedApplicationTests.ProxylessEndpointWorks
Build Information
Build: https://github.com/dotnet/aspire/actions/runs/14397675393 Build error leg or test failing: Aspire.Hosting.Tests.DistributedApplicationTests.ProxylessEndpointWorks Pull request:
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Assert.ThrowsAny() Failure: No exception was thrown",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Assert.ThrowsAny() Failure: No exception was thrown
Expected: typeof(System.Exception) at Microsoft.AspNetCore.InternalTesting.AsyncTestHelpers.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/tests/Shared/AsyncTestHelpers.cs:line 139
at Aspire.Hosting.Tests.DistributedApplicationTests.ProxylessEndpointWorks() in /_/tests/Aspire.Hosting.Tests/DistributedApplicationTests.cs:line 940
at Aspire.Hosting.Tests.DistributedApplicationTests.ProxylessEndpointWorks() in /_/tests/Aspire.Hosting.Tests/DistributedApplicationTests.cs:line 940
--- End of stack trace from previous location ---
Stdout
Stdout
... (truncated) OTEL_EXPORTER_OTLP_PROTOCOL = grpc
| OTEL_RESOURCE_ATTRIBUTES = service.instance.id=tbgntwyy
| OTEL_SERVICE_NAME = proxyless-endpoint-works-serviceb
| },
| Properties = {
| executable.path = dotnet
| executable.workDir = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceB
| executable.args = run, --no-build, --project, /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceB/TestProject.ServiceB.csproj, -c, Debug, --no-launch-profile
| executable.pid = 0
| project.path = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceB/TestProject.ServiceB.csproj
| resource.appArgs =
| resource.appArgsSensitivity =
| },
| HealthReports = {
| },
| Commands = {
| Start (resource-start) = Hidden
| Stop (resource-stop) = Enabled
| Restart (resource-restart) = Enabled
| }
| [2025-04-11T07:14:41] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 9
| Resource proxyless-endpoint-works-servicec/proxyless-endpoint-works-servicec-qhqdqqwv-7fd828f7 update published:
| ResourceType = Project,
| CreationTimeStamp = 2025-04-11T07:14:41,
| State = { Text = Running, Style = (null) },
| HeathStatus = Healthy,
| ResourceReady = True,
| ExitCode = (null),
| Urls = { http = http://localhost:44021 },
| EnvironmentVariables = {
| ASPNETCORE_ENVIRONMENT = Development
| DOTNET_LAUNCH_PROFILE = http
| DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION = true
| Kestrel__Endpoints__http__Url = http://*:37495
| LOGGING__CONSOLE__FORMATTERNAME = simple
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY = in_memory
| OTEL_EXPORTER_OTLP_ENDPOINT = http://localhost:18889
| OTEL_EXPORTER_OTLP_PROTOCOL = grpc
| OTEL_RESOURCE_ATTRIBUTES = service.instance.id=qhqdqqwv
| OTEL_SERVICE_NAME = proxyless-endpoint-works-servicec
| },
| Properties = {
| executable.path = dotnet
| executable.workDir = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceC
| executable.args = run, --no-build, --project, /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceC/TestProject.ServiceC.csproj, -c, Debug, --no-launch-profile
| executable.pid = 0
| project.path = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceC/TestProject.ServiceC.csproj
| resource.appArgs =
| resource.appArgsSensitivity =
| },
| HealthReports = {
| },
| Commands = {
| Start (resource-start) = Hidden
| Stop (resource-stop) = Enabled
| Restart (resource-restart) = Enabled
| }
| [2025-04-11T07:14:41] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource proxyless-endpoint-works-servicea with Executable resource proxyless-endpoint-works-servicea-zzabxvhu-7fd828f7
| [2025-04-11T07:14:41] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 10
| Resource proxyless-endpoint-works-servicea/proxyless-endpoint-works-servicea-zzabxvhu-7fd828f7 update published:
| ResourceType = Project,
| CreationTimeStamp = 2025-04-11T07:14:41,
| State = { Text = Running, Style = (null) },
| HeathStatus = Healthy,
| ResourceReady = True,
| ExitCode = (null),
| Urls = { http = http://localhost:1234 },
| EnvironmentVariables = {
| ASPNETCORE_ENVIRONMENT = Development
| ASPNETCORE_URLS = http://localhost:1234
| DOTNET_LAUNCH_PROFILE = http
| DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION = true
| LOGGING__CONSOLE__FORMATTERNAME = simple
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY = in_memory
| OTEL_EXPORTER_OTLP_ENDPOINT = http://localhost:18889
| OTEL_EXPORTER_OTLP_PROTOCOL = grpc
| OTEL_RESOURCE_ATTRIBUTES = service.instance.id=zzabxvhu
| OTEL_SERVICE_NAME = proxyless-endpoint-works-servicea
| },
| Properties = {
| executable.path = dotnet
| executable.workDir = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceA
| executable.args = run, --no-build, --project, /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceA/TestProject.ServiceA.csproj, -c, Debug, --no-launch-profile, --test1, --test2
| executable.pid = 5795
| project.path = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceA/TestProject.ServiceA.csproj
| resource.appArgs = --test1, --test2
| resource.appArgsSensitivity = 0, 0
| },
| HealthReports = {
| },
| Commands = {
| Start (resource-start) = Hidden
| Stop (resource-stop) = Enabled
| Restart (resource-restart) = Enabled
| }
| [2025-04-11T07:14:41] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource proxyless-endpoint-works-serviceb with Executable resource proxyless-endpoint-works-serviceb-tbgntwyy-7fd828f7
| [2025-04-11T07:14:41] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 10
| Resource proxyless-endpoint-works-serviceb/proxyless-endpoint-works-serviceb-tbgntwyy-7fd828f7 update published:
| ResourceType = Project,
| CreationTimeStamp = 2025-04-11T07:14:41,
| State = { Text = Running, Style = (null) },
| HeathStatus = Healthy,
| ResourceReady = True,
| ExitCode = (null),
| Urls = { http = http://localhost:46465 },
| EnvironmentVariables = {
| ASPNETCORE_ENVIRONMENT = Development
| ASPNETCORE_URLS = http://localhost:45027
| DOTNET_LAUNCH_PROFILE = http
| DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION = true
| LOGGING__CONSOLE__FORMATTERNAME = simple
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY = in_memory
| OTEL_EXPORTER_OTLP_ENDPOINT = http://localhost:18889
| OTEL_EXPORTER_OTLP_PROTOCOL = grpc
| OTEL_RESOURCE_ATTRIBUTES = service.instance.id=tbgntwyy
| OTEL_SERVICE_NAME = proxyless-endpoint-works-serviceb
| },
| Properties = {
| executable.path = dotnet
| executable.workDir = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceB
| executable.args = run, --no-build, --project, /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceB/TestProject.ServiceB.csproj, -c, Debug, --no-launch-profile
| executable.pid = 5792
| project.path = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceB/TestProject.ServiceB.csproj
| resource.appArgs =
| resource.appArgsSensitivity =
| },
| HealthReports = {
| },
| Commands = {
| Start (resource-start) = Hidden
| Stop (resource-stop) = Enabled
| Restart (resource-restart) = Enabled
| }
| [2025-04-11T07:14:41] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource proxyless-endpoint-works-servicec with Executable resource proxyless-endpoint-works-servicec-qhqdqqwv-7fd828f7
| [2025-04-11T07:14:41] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 10
| Resource proxyless-endpoint-works-servicec/proxyless-endpoint-works-servicec-qhqdqqwv-7fd828f7 update published:
| ResourceType = Project,
| CreationTimeStamp = 2025-04-11T07:14:41,
| State = { Text = Running, Style = (null) },
| HeathStatus = Healthy,
| ResourceReady = True,
| ExitCode = (null),
| Urls = { http = http://localhost:44021 },
| EnvironmentVariables = {
| ASPNETCORE_ENVIRONMENT = Development
| DOTNET_LAUNCH_PROFILE = http
| DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION = true
| Kestrel__Endpoints__http__Url = http://*:37495
| LOGGING__CONSOLE__FORMATTERNAME = simple
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES = true
| OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY = in_memory
| OTEL_EXPORTER_OTLP_ENDPOINT = http://localhost:18889
| OTEL_EXPORTER_OTLP_PROTOCOL = grpc
| OTEL_RESOURCE_ATTRIBUTES = service.instance.id=qhqdqqwv
| OTEL_SERVICE_NAME = proxyless-endpoint-works-servicec
| },
| Properties = {
| executable.path = dotnet
| executable.workDir = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceC
| executable.args = run, --no-build, --project, /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceC/TestProject.ServiceC.csproj, -c, Debug, --no-launch-profile
| executable.pid = 5797
| project.path = /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceC/TestProject.ServiceC.csproj
| resource.appArgs =
| resource.appArgsSensitivity =
| },
| HealthReports = {
| },
| Commands = {
| Start (resource-start) = Hidden
| Stop (resource-stop) = Enabled
| Restart (resource-restart) = Enabled
| }
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 1: 2025-04-11T07:14:43.4050000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: TestProject.WorkerA.Worker[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 2: 2025-04-11T07:14:43.4050000Z Worker running at: 04/11/2025 07:14:43 +00:00
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 3: 2025-04-11T07:14:43.4090000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 4: 2025-04-11T07:14:43.4090000Z Application started. Press Ctrl+C to shut down.
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 5: 2025-04-11T07:14:43.4090000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 6: 2025-04-11T07:14:43.4090000Z Hosting environment: Development
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 7: 2025-04-11T07:14:43.4090000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-workera Information: 8: 2025-04-11T07:14:43.4090000Z Content root path: /home/runner/work/aspire/aspire/tests/testproject/TestProject.WorkerA
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 1: 2025-04-11T07:14:43.5200000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[14]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 2: 2025-04-11T07:14:43.5200000Z Now listening on: http://localhost:1234
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 3: 2025-04-11T07:14:43.5240000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 4: 2025-04-11T07:14:43.5240000Z Application started. Press Ctrl+C to shut down.
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 5: 2025-04-11T07:14:43.5260000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 1: 2025-04-11T07:14:43.4520000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[14]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 6: 2025-04-11T07:14:43.5260000Z Hosting environment: Development
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 7: 2025-04-11T07:14:43.5260000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicea Information: 8: 2025-04-11T07:14:43.5260000Z Content root path: /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceA
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 2: 2025-04-11T07:14:43.4520000Z Now listening on: http://localhost:45027
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 3: 2025-04-11T07:14:43.4540000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 4: 2025-04-11T07:14:43.4540000Z Application started. Press Ctrl+C to shut down.
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 5: 2025-04-11T07:14:43.4550000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 6: 2025-04-11T07:14:43.4550000Z Hosting environment: Development
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 7: 2025-04-11T07:14:43.4550000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-serviceb Information: 8: 2025-04-11T07:14:43.4550000Z Content root path: /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceB
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 1: 2025-04-11T07:14:43.5290000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[14]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 2: 2025-04-11T07:14:43.5290000Z Now listening on: http://[::]:37495
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 3: 2025-04-11T07:14:43.5310000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 4: 2025-04-11T07:14:43.5310000Z Application started. Press Ctrl+C to shut down.
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 5: 2025-04-11T07:14:43.5310000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 6: 2025-04-11T07:14:43.5310000Z Hosting environment: Development
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 7: 2025-04-11T07:14:43.5310000Z \u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]
| [2025-04-11T07:14:43] Aspire.Hosting.Tests.Resources.proxyless-endpoint-works-servicec Information: 8: 2025-04-11T07:14:43.5310000Z Content root path: /home/runner/work/aspire/aspire/tests/testproject/TestProject.ServiceC
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Service resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Service resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Container resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Container resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Executable resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Executable resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Endpoint resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Endpoint resources.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Log streaming for proxyless-endpoint-works-serviceb-tbgntwyy-7fd828f7 was cancelled.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Log streaming for proxyless-endpoint-works-servicec-qhqdqqwv-7fd828f7 was cancelled.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Log streaming for proxyless-endpoint-works-workera-egpvztsd-7fd828f7 was cancelled.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.DcpExecutor Debug: Log streaming for proxyless-endpoint-works-servicea-zzabxvhu-7fd828f7 was cancelled.
| [2025-04-11T07:14:43] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.adminHttpHandler Information: API server changed status {"OldStatus": "Running", "NewStatus": "CleaningResources"}
| [2025-04-11T07:14:45] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.adminHttpHandler Information: API server changed status {"OldStatus": "CleanupComplete", "NewStatus": "Stopping"}
| [2025-04-11T07:14:45] Aspire.Hosting.Dcp.dcp.start-apiserver Information: Shutting down...
| [2025-04-11T07:14:45] Aspire.Hosting.Dcp.dcp.start-apiserver.dcp-host Information: Service DCP controller host terminated gracefully
| [2025-04-11T07:14:45] Aspire.Hosting.Dcp.dcp.start-apiserver Information: Shutdown complete.
Known issue validation
Build: :mag_right: Result validation: :warning: Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: :mag_right:" line. Validation performed at: 4/29/2025 6:22:35 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Last 10 failures:
| Run date | Test Name |
|---|
-- Updated on 4/29/2025 6:21:23 PM UTC
Summary
| Last 40 | Total failed / total runs |
|---|---|
| 0 | 0 / 200 |
The issue was incorrectly closed. It was referenced in https://github.com/dotnet/aspire/pull/8801, and the commit was this test was reverted but the PR description still had the link.
I re-enabled this test after it did not fail for >100 runs, but then it failed on a PR. I think the issue here might be that a previous instance of ServiceA is still running which is making the endpoint reachable.