How to resolve the ERR_HTTP2_PROTOCOL_ERROR when running dashboard embedded application?
While launching the dashboard from embedded application, the ERR_HTTP2_PROTOCOL_ERROR error may occur due to various reasons, such as an outdated browser, network issues, or conflicts with third-party software. This error typically arises when HTTP/2 is either outdated or not supported.
Follow these steps to troubleshoot and resolve the err_http2_protocol_error
problem:
1. Update the web browser
Ensure that you are using the latest version of your web browser. Updating the browser can often resolve compatibility issues with HTTP/2.
2. Clear the browser’s data
Clearing the browser’s cache, cookies, and browsing history can help resolve the issue.
3. Open the embedded application in a private browser window
Using a private browsing window, such as Incognito mode, can help isolate the issue and determine if browser settings or extensions are causing the problem.
4. Disable or uninstall third-party browser extensions
Some browser extensions may interfere with HTTP/2. Disabling or uninstalling these extensions may resolve the issue.
5. Turn off the browser’s QUIC protocol
Disabling the QUIC protocol in your browser settings can help resolve the error.
6. Restore the browser’s default settings
Resetting your browser to its default settings can help resolve conflicts that might be causing the issue.
7. Flush the DNS
Flushing the DNS cache can resolve network-related issues. Use ipconfig /flushdns
for Windows or sudo killall -HUP mDNSResponder
for Mac.
8. Ensure that there is enough disk space
Free up disk space on your device to avoid issues related to insufficient storage.
9. Upgrade Visual Studio
If you are using Visual Studio 2019 version 16.10.0, upgrade to version 16.10.1.
10. Turn off gzip compression on the Nginx config
If you are working with Node.JS and an Nginx server, turn off the gzip compression on the Nginx configuration.
Contact Bold BI Support, if more assistance needed.
Additional reference:
-JavaScript Embedding
-JavaScript API reference
-JavaScript Sample applications