Http Failure Response for (url): 0 Unknown Error?

Asked

Viewed 224 times

0

I have a local code. The front (Angular 8) sends a POST request to the back (.net). On another computer it works normally.

But in my current computer does not work.

Returns:

Http failure response for (url): 0 Unknown Error

inserir a descrição da imagem aqui

on the console appears:

POST (url) net::ERR_INVALID_HTTP_RESPONSE

if I call the direct back request returns normal. What could it be? CORS on the back and front are configured.

  • 2

    already seen this problem in version 2.2 of . net core, in our case we solved changing the version

  • I thought about it. However, on another computer it works normally. Only on "mine" it doesn’t. And on production/test environment it also works.

  • 1

    @Lucasmiranda worked. The error was in 2.2.0 - I switched to 2.2.204 and now it ran. I updated Runtime too. Thank you. :)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.