-
-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
admin-ajax.php: 502 Bad Gateway #612
Comments
Awesome! Not a awesome bug but awesome that I am not alone with this bug. 😆 Have had this issue for a while (on different sites but with the same environment/version. I have failed for some time to find the cause of the issue. But it seems to be related to some plugins running on development (Vagrant) box. For me it happens in wp-admin on all pages that has the grid view of the media gallery. I.e. under Media or every edit screen where I attach/upload/edit images. It happens if both Advanced Custom Fields and Query Monitor plugins are activated. If I deactivated either of these plugins the issue stop. This bug does not appear on staging/production environment with the same plugin configuration. Are you using any of these plugins as well or any other plugins that's causing this issue for you? I hope this information helps someone reproduce this issue and find a solution. |
For me it happens with WordPress Meta Data & Taxonomies Filter, when adding their widget. And indeed the bug does not occur on production & staging environments. |
Really strange that it's only happening on development, but I figured out what's going on. @vercotux thanks for the good bug report but always remember to check logs too :) In
I tried bumping nginx_fastcgi_buffer_size to It's a bit of a guessing game with these values but we might have to bump that value permanently. |
Fix #612 - Bump nginx_fastcgi_buffer_size
Submit a feature request or bug report
What is the current behavior?
Plugins which rely on admin-ajax.php in the admin dashboard (Appearance --> Widgets) are not working.
What is the expected or desired behavior?
Being able to use the admin dashboard for plugins which rely on admin-ajax.php
Bug report
On development (Vagrant) the admin-ajax.php script seems to be broken or otherwise inaccessible
This is the server response when a plugin tries to access https://example.dev/wp/wp-admin/admin-ajax.php:
This looks like some sort of issue with nginx.
Please describe your local environment:
Ansible version: 2.1.0.0
OS: Ubuntu 16.04 x64
Vagrant version: 1.7.4
Where did the bug happen? Development or remote servers?
Development
Please provide a repository or your
wordpress_sites
config (if possible):The text was updated successfully, but these errors were encountered: