Skip to content

API ASP.NET Core The server returned an invalid or unrecognized response  #34

@DanBovenzi

Description

@DanBovenzi

When connecting to a web service using HttpClient factory (Core 2.1) from App Service via Hybrid Connection to an on-prem web service we get:

ASP.NET Core - Post Request to API - InnerException {System.Net.Http.WinHttpException (0x80072F78): The server returned an invalid or unrecognized response

On-prem. webservice is running on port: 8844
Hybrid Connection Manager show as connected as appears to be configured correctly.
When running the same internally with both services on-prem. (IE not via Hybrid Connection) this works fine.

Does Hybrid Connection do something that makes HttpClient reject the response?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions