microsoft / microsoft/aspire

[CI Failure] Flaky: OtlpHttpServiceTests.CallService_OtlpHttpEndPoint_ExceedRequestLimit_Failure fails with 'Connection reset by peer' socket error

Open
#19,696 1 comment 0 reactions 0 assignees View on GitHub
ci-failure-cause test-failure
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

## Build Information

Build: https://github.com/microsoft/aspire/actions/runs/32909638198
Build error leg or test failing: Tests / Dashboard / Dashboard (ubuntu-latest) / `Aspire.Dashboard.Tests.Integration.OtlpHttpServiceTests.CallService_OtlpHttpEndPoint_ExceedRequestLimit_Failure`
Pull request: #19677

## Error Message

```
System.Net.Http.HttpRequestException : Error while copying content to a stream.
---- System.IO.IOException : Unable to write data to the transport connection: Connection reset by peer.
-------- System.Net.Sockets.SocketException : Connection reset by peer
```

## Description

Flaky: OtlpHttpServiceTests.CallService_OtlpHttpEndPoint_ExceedRequestLimit_Failure fails with 'Connection reset by peer' socket error

**Type**: flaky-test

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-08-26 | [32909638198](https://github.com/microsoft/aspire/actions/runs/32909638198) | Tests / Dashboard / Dashboard (ubuntu-latest) | #19677 |
| 2026-09-02 | [33671638017](https://github.com/microsoft/aspire/actions/runs/33671638017) | Tests / No-package tests (regular, Aspire.Hosting.Sdk.Tests, Hosting.Sdk, Hosting.Sdk, tests/Aspire.Hosti... / Hosting.Sdk (windows-latest) | #19403 |

Contributor guide

Open the contributing guide

Research direction

Start with Aspire.Dashboard.Tests.Integration.OtlpHttpServiceTests.CallService_OtlpHttpEndPoint_ExceedRequestLimit_Failure and reproduce the failure from the referenced CI runs on the affected platforms. Investigate the connection-reset error during the request-limit check; done means the test reliably verifies the expected failure without intermittent socket errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.