johnbillion / query-monitor

The developer tools panel for WordPress
https://querymonitor.com
GNU General Public License v2.0
1.58k stars 207 forks source link

403 Forbidden on self GET wp-admin #850

Closed thefrosty closed 6 months ago

thefrosty commented 6 months ago

I've been seeing this 403 Forbidden error in my HTTP API Calls for quite some time, and am looking into it.

It's a URL in which can be hit on any WordPress install with the standard DB Update screen (if they aren't blocking such a request). So internally I would expect no such error.

I can hit the /wp-admin/upgrade.php?step=1 on my site in a private non-logged in window, so just trying to understand what else I might be missing.

Current server stats:

Plugins_‹_Austin_Passy_—_WordPress
johnbillion commented 6 months ago

That's the standard mechanism that WordPress multisite uses to perform updates on sites within the network. I've no idea why it could return a 403.

This isn't triggered by Query Monitor, despite what the "Component" column says. Sometimes QM will blame itself if it's not sure what triggered the request or if your site uses a non-standard directory structure.

thefrosty commented 6 months ago

Thanks, I'll continue my investigation elsewhere.