Skip to content

(104): Connection reset by peer #1474

@wahmedswl

Description

@wahmedswl

Describe the bug

We are seeing internment failures on our Network Calls (Http + SOAP/WCF) on .Net Core 3.1. The invoked endpoints/services work fine and throws sometimes as well. We are getting following error

System.AggregateException: One or more errors occurred. (Unable to read data from the transport connection: Connection reset by peer.)
 ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
 ---> System.Net.Sockets.SocketException (104): Connection reset by peer

Expected Behavior

We shouldn't see this error and network calls should succeed without issue.

Current Behavior

System.AggregateException: One or more errors occurred. (Unable to read data from the transport connection: Connection reset by peer.)
 ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
 ---> System.Net.Sockets.SocketException (104): Connection reset by peer

Reproduction Steps

We are getting these inside Lambda on Network Calls. These are invoked via Step Function at Hourly interval and around 50/60+ API calls at each run.

Possible Solution

No response

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

<PackageReference Include="AWSSDK.Core" Version="3.7.2.2" />

Targeted .NET Platform

.Net Core 3.1

Operating System and version

Lambda

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions