Regular usage of the “Add Plugin” function, just like always. As a matter of fact, this screen didn’t display any errors the day before.
Current behavior
Overview / Popular tab displays the error: " An unexpected error occurred. Something may be wrong with ClassicPress.net or this server’s configuration. If you continue to have problems, please try the support forums."
Also, searches using the search form return nothing, ie. the loading animation is being displayed … and then the above mentioned error message appears.
Possible solution
I aint have the faintest clue why this happened. Out of the blue, access to the cp.net API seems to be blocked. Even disabling the only plugin I yesterday installed changed nothing, so its definitelly gotta be something going wrong, either from my install to cp.net or from cp.net to the wp.org API.
Yes, cp.net look to be blocked but I don’t encounter problems on add-plugin, I just upload and activate one (direct upload). The dasboard load a litte bit lazy, first, with some errors. On the second login, it works normally. (I cleared the transients and the cache using Sweep and Clear Cache).
All looks good here, tested on 2 different sites on 2 different servers… this means it is probably an issue with the specific server or hosting company, or something else along the network path of your site’s connection to WordPress.org:
Using Query Monitor to debug is a good idea. You should see at least one request to https://api.wordpress.org/plugins/info/1.0/ - and you may have to clear transients from the DB before this request will be made.
This specific error message should probably say “WordPress.org” since we are still pulling plugin data from there.
That’s my guess for that part if the issue. I’ve been experiencing this issue intermittently on WP installs for months. It’s always that same call to WP that fails.