ERR_HTTP2_PROTOCOL_ERROR
-
Does anyone have any advice on this error?
ERR_HTTP2_PROTOCOL_ERROR
After installing the Events Manager plugin on the latest version of WordPress (5.7.2), all seems OK, until I click to create a new event. Then I get a blank page except for the browser showing this:
This site can’t be reachedThe webpage at https://www.wvforlife.org/wp-admin/post-new.php?post_type=event might be temporarily down or it may have moved permanently to a new web address.
ERR_HTTP2_PROTOCOL_ERRORThe page I need help with: [log in to see the link]
-
Hi,
You can try to install WP Safe Mode to help you narrow down the problem and see if that is possibly due to other plugins or theme conflicts.
Thanks. However, I tried the WP Safe Mode plugin, but it has issues.
I tried unchecking the theme change option, but the theme was changed regardless.
I tried checking the theme change option and choosing various themes, but the theme choices were always ignored.
Good news! After a good bit of searching, I found the issue and a fix. It’s apparently an issue unique to GoDaddy hosting.
I found out it about on a search result that led to this page:
https://theme-fusion.com/forums/topic/woocommerce-plugin-creating-error-messages-when-editing-pages/The “fix” is to add the following to the .htaccess file:
# BEGIN Line too long fix
SubstituteMaxLineLength 10M
# END Line too long fixHello @dougjoseph ,
Where exactly should we add these lines?
# BEGIN Line too long fix
SubstituteMaxLineLength 10M
# END Line too long fixBecause we added these lines after # END WordPress I got error 500 – Internal server error and website was down. After removing the above 3 lines from the .htaccess file the website was up again. Please help us. Thanks in advance.
Dear @priyaasawa
Hello. Are you adding the line to your .htaccess file?
If so, I would recommend adding it at the top.
If not, then be aware it goes in your .htaccess file.
PS: I see now you are indeed doing the add to your .htaccess file.
If you try adding it at the top, does that help?
Also, feel free to post or otherwise share your .htaccess file’s contents.
One last question: Are you using Godaddy for your hosting?
Q : Are you adding the line to your .htaccess file?
A : YesQ : If you try adding it at the top, does that help?
A : NoQ : Are you using Godaddy for your hosting?
A : Yes.htaccess file’s contents
# BEGIN GD-SSL
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_USER_AGENT} ^(.+)$
RewriteCond %{SERVER_NAME} ^www\.theglacstudio\.dk$ [OR]
RewriteCond %{SERVER_NAME} ^bp2\.bb9\.myftpupload\.com$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Header add Strict-Transport-Security “max-age=300”
Header always set Content-Security-Policy “upgrade-insecure-requests”
</IfModule>
# END GD-SSL# BEGIN WordPress
# The directives (lines) between “BEGIN WordPress” and “END WordPress” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
After updating the .htaccess file I am getting the below error message.
500 Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Dear @priyaasawa
OK, that could mean at least two different things. One is that your issue is something else entirely, not related to the “SubstituteMaxLineLength” — and the other is you may have more than one issue, something in addition to “SubstituteMaxLineLength”
At this point, and I’m assuming you’ve already tried (by process of elimination) to rule out something related to either plugins or themes, it may be time for you to simply contact Godaddy support.
And finally, for clarity sake, here’s what I was suggesting on where to add it (which I am also assuming is exactly what you already tried):
SubstituteMaxLineLength 10M # BEGIN GD-SSL <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_USER_AGENT} ^(.+)$ RewriteCond %{SERVER_NAME} ^www\.theglacstudio\.dk$ [OR] RewriteCond %{SERVER_NAME} ^bp2\.bb9\.myftpupload\.com$ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] Header add Strict-Transport-Security “max-age=300” Header always set Content-Security-Policy “upgrade-insecure-requests” </IfModule> # END GD-SSL # BEGIN WordPress # The directives (lines) between “BEGIN WordPress” and “END WordPress” are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Yes we have done exactly as you have mentioned in the above post. It is still not working.
We are facing this issue with the Form maker plugin. We have created a simple registration form (https://www.theglacstudio.dk/glacatsis/) and if it is submitted with a missing information the user is intimated about the same. So that the user can update and resubmit. But after the user resubmits the form the page takes a long time to reload and we get the error : ERR_HTTP2_PROTOCOL_ERROR
This issue is only occurring on some specific mobile phones with chrome browsers. On laptop and iPhone it works just fine.I have checked with the Plugin team and their reply is as below
“We couldn’t find any issue related to the form plugin, There is a problem related to the server, as we have been getting the same error when first time we tried to open https://www.theglacstudio.dk/login page from mobile. We got the same error when we tested the website on google speed score site. Thus we suggest asking about the problem at the server support, maybe the error logs will show useful information.”But we don’t have access to error logs and Godaddy is pushing us to buy premium support plan to provide help for the issue. As per them it is content issue not a server issue. I don’t agree with them
I think we found the issue. There was a date field which was displayed out of the mobile screen. Once we resized it to fit in the screen. The error was resolved ??
Dear @priyaasawa
Wow, that’s interesting. Glad you got it sorted out.
Doug, you Beautiful man!!!! Thank you sooooo much. I’m 30 hours into this problem and you solved it for me in 3 minutes. Godaddy tried to help with no luck. I went through a lot of steps and it’s one line of code. May good things come to you and I hope you win the lottery.
- This reply was modified 3 years, 1 month ago by ronheaslet.
- The topic ‘ERR_HTTP2_PROTOCOL_ERROR’ is closed to new replies.