net :: ERR_SPDY_PROTOCOL_ERROR

0

I had an API on a server where it works perfectly.

When I migrated it to the new server, it stopped working, I see continuously the error: net::ERR_SPDY_PROTOCOL_ERROR in chrome and Solicitud de origen cruzado bloqueada: La misma política de origen no permite la lectura de recursos remotos en https://xxx. (Razón: Solicitud CORS sin éxito) .

If I press the access button repeatedly, it does, but it does not make sense what is happening.

I have two hypotheses:

  • The new server serves the content in HTTP2 and angularjs does not interpret correctly
  • The installation of the API has not been correct.
  • Regarding the first, I will investigate how to force the server to respond in HTTP, to see if so, at least, solve the error, while investigating the why of it.

    Data: Only fails with requests POST , in GET does not happen.

        
    asked by Diego 20.12.2018 в 13:16
    source

    1 answer

    0

    For the one that has ever happened to me, in my case, it's because IIS was serving the content in HTTP 2, and despite Chrome, firefox, etc. They were updated, they did not interpret it well.

    I have forced to return the content in HTTP and it works without problems.

        
    answered by 20.12.2018 / 15:22
    source