Hello,
Recently I discovered an issue that occurs on three DirectAdmin servers. I have spent a fair amount of time troubleshooting (Google, WordPress, GitHub, multiple web browsers, etc.) but am not finding a resolution. I have found other users online that have experienced the same problem, and have suggested it is a configuration issue with Apache and/or NGINX. I am running default installations of Apache/NGINX reverse proxy from CustomBuild (i.e. no customization).
The issue pertains to WordPress and Gutenberg block widgets (i.e., the "new" WordPress block widgets feature). "Legacy" Widgets work fine.
When attempting to save Block Widgets through the default URL path (i.e. Dashboard > Appearance > Widgets) - they will not save. Instead, the error message below is displayed:
"There was an error. You are probably offline."
Chrome displays the following route error for all WordPress installations (on all servers):
{"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}
URL for the above error:
What is odd is that I am able to save block widgets through the WordPress Customizer on all servers (i.e. Appearance > Customize > Widgets).
After much investigation I found the following links that appear to be the same issue I am experiencing. They suggest a possible loopback issue and/or NGINX config issue:
https://forum.infinityfree.net/t/wo...as-an-error-you-are-probably-offline/57183/36
https://stackoverflow.com/questions...pi-405-error-unable-to-save-gutenberg-widgets
I have attached the headers from Chrome when the error occurs (substituted "real" domain).
Can anyone running Apache/NGINX reverse proxy confirm their ability to use the WordPress block widgets feature? Has anyone experienced anything similar? Any suggestions for a resolution?
My concern is that this issue is not specific to me - but to DirectAdmin Apache/NGINX by default.
Thank you for any assistance.
Recently I discovered an issue that occurs on three DirectAdmin servers. I have spent a fair amount of time troubleshooting (Google, WordPress, GitHub, multiple web browsers, etc.) but am not finding a resolution. I have found other users online that have experienced the same problem, and have suggested it is a configuration issue with Apache and/or NGINX. I am running default installations of Apache/NGINX reverse proxy from CustomBuild (i.e. no customization).
The issue pertains to WordPress and Gutenberg block widgets (i.e., the "new" WordPress block widgets feature). "Legacy" Widgets work fine.
When attempting to save Block Widgets through the default URL path (i.e. Dashboard > Appearance > Widgets) - they will not save. Instead, the error message below is displayed:
"There was an error. You are probably offline."
Chrome displays the following route error for all WordPress installations (on all servers):
{"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}
URL for the above error:
Code:
https://www.domain.com/wp-json/batch/v1?_locale=user
What is odd is that I am able to save block widgets through the WordPress Customizer on all servers (i.e. Appearance > Customize > Widgets).
- I have disabled ConfigServer to see if it was firewall related - it does not appear to be the case (unless I am missing something).
- I have installed and tested a base installation of WordPress without plugins - the same error occurs.
- WordPress is configured to display errors - none are shown.
- There are no errors recorded by the web server(s).
- I have found numerous references online about similar errors, however, they are typically a few years old and not related to saving widgets.
After much investigation I found the following links that appear to be the same issue I am experiencing. They suggest a possible loopback issue and/or NGINX config issue:
https://forum.infinityfree.net/t/wo...as-an-error-you-are-probably-offline/57183/36
https://stackoverflow.com/questions...pi-405-error-unable-to-save-gutenberg-widgets
I have attached the headers from Chrome when the error occurs (substituted "real" domain).
Can anyone running Apache/NGINX reverse proxy confirm their ability to use the WordPress block widgets feature? Has anyone experienced anything similar? Any suggestions for a resolution?
My concern is that this issue is not specific to me - but to DirectAdmin Apache/NGINX by default.
Thank you for any assistance.
Attachments
Last edited: