Skip to content

HttpClient on .net core3.0 and 5.0 with different responses #54807

@jchhh912

Description

@jchhh912

Hi there,
I see a few cases of the same error as mine in Issues, and I thought I should do something to give you more information to make changes to this issue.

Next I used the same code on two computers, using the company network and 4G network to test The following two links

PC [001]

OS Name: Windows, OS Version: 10.0.19042, RID: win10-x64
Macafee Version:
image
Pulse Secure Version:
image

PC[002] =>Restore factory mode

OS Name: Windows, OS Version: 10.0.18362, RID: win10-x64

Link1:https://sfapi-sbox.sf-express.com/std/service

Link2:https://demo.identityserver.io/.well-known/openid-configuration

1.Using the company network

PC [001] link1 Link2
.netcore 3.1 OK OK
.netcore 5.0 Exception OK
Exception:A connection attempt failed because the connected party did not properly respond after a period of time,or established connection failed because connected host has failed to respond.
PC [002] link1 Link2
.netcore 3.1 OK OK
.netcore 5.0 OK OK

2.Using the 4G network

PC [001] link1 Link2
.netcore 3.1 OK OK
.netcore 5.0 Exception OK
PC [002] link1 Link2
.netcore 3.1 OK OK
.netcore 5.0 OK OK

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions