Need help with - net::ERR_HTTP2_PROTOCOL_ERROR

On occasion I receive the following error when my website (rdoc.org) loads:

net::ERR_HTTP2_PROTOCOL_ERROR

If I reload the site - it works. I am looking for a way to catch this error (in VELO) and automatically reload the site. Can anyone provide a code snippet and where would be the best place to put it - Thanks!!!

Site link
If this is happening on a site, include a live or test site link

What I’m trying to do
Describe the goal or outcome you’re hoping for

What I’ve tried so far
Let us know what you’ve already tested, changed, or searched

Extra context
Anything else that might help - edge cases, screenshots, etc.

Somewhere on your site, you will have a function called → frame() ← , right???
This function is connected to another interval-function???

Check what’s going wrong, regarding the intervall-function and the frame() function.

Uncaught TypeError: Cannot read properties of null (reading ‘style’)

  • The code accesses a DOM element that null is
  • This often happens when the script is executed before the element is loaded .
  • In this case, it seems frame() to be a function setInterval running in a (line 185).

Another issue i can see on your site is…
2025-09-17 21_26_08-Window

As soon as you can resolve the first ERROR —> the second will be eleminated automatically, since it is caused by the first error.

Why both appear together

  • This TypeError continually generates new errors that Sentry tries to report.
  • Since this happens very often (e.g. in a setInterval ), Sentry triggers one 429 Too Many Requests .

Check third-party scripts

  • Scripts like analytics, Sentry, or Wix apps sometimes cause HTTP/2 stream resets.
  • Try disabling non-critical third-party scripts and see if the error persists.

Thanks so much for your reply!!! It was a huge help! I did have a “preloader” function that was causing the errors you mentioned. I disabled that code. It’s much better but I am still “occasionally” getting the attached error, but no other errors…

As i can see those mentioned ERRORs are gone on my side, when i do test your page.
You must have changed something. All your pages are now error-free (ALMOST).

Only on your CONTACT-PAGE, there seems still to be an issue with your Wix-Data (COLLECTION/DATABASE) ---->

You try to store something into a STRING-DATAFIELD → WHAT IS NOT A STRING, but instead something else, maybe a number maybe another type!!!