Sunday 22 November 2020

err_http2_protocol_error while passing from a react application to another

I have an err_http2_protocol_error it happends randomly. I have two React application I'm passing from one to other with this method

window.location.href = targetAppUrl + '?post=' + encodeURIComponent(parameters)

sometimes I have a blank page with err_http2_protocol_error in console and nothing other.

I have attached an image of my situation. The length of parameters less than 1300 characters Blank page with err_http2_protocol_error in console

What I tried:

  • changed "homepage" in package.json with right address

  • added <base href="address" /> to index.html

  • changed lenght of URL params from 1380 to 70 characters

  • removed serviceWorker to evict cache problems

  • changed method of passing to next application from window.location.href = ... to window.location = ...

I had more improvements, never had blank page but now I'm having this problem (sometimes and randomly) with some API calls.

like next image in console API fails



from err_http2_protocol_error while passing from a react application to another

No comments:

Post a Comment