Skip to content

Outgoing Http Requests "faulting". How can I get logs from the TCP stack? #119339

@Leonardo-Ferreira

Description

@Leonardo-Ferreira

First of all, sorry for not being able to produce a minimal reproduction. This is because my app uses mTLS and encryption of the body and a lot of sensitive things.

Description

My app consumes an external API and since the begging of the week, app insights has been logging a few result codes "Faulted"... not 400, not 500, "Faulted". We ran for about 65 days without a hiccup.

These "Faulted" requests are not consistent with anything. A simple retry might do the trick, but sometimes after 3 retries (spaced by 1, 3 and 7 seconds) won't do it. At the pod next door, no errors so we don't believe the problem is at the destination.

We ran a TCP dump and noticed that our pod is responding some packages with RESET. These appear to be random but the fact is that whenever there is a RESET, we get a "FAULTED".

In order to further troubleshoot this I was wondering if I can get TCP level logs to help me understand why is my code issuing "reset" packages?

Details

Dotnet + SO Version: Asp.Net 8.0.17-alpine

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Httpneeds-author-actionAn issue or pull request that requires more info or actions from the author.questionAnswer questions and provide assistance, not an issue with source code or documentation.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions