Can we detect when XMLRPC is blocked, returning 404, and display a relevant error message?
Currently, the error when trying to access media on a site with xmlrpc.php returning a 404 says there was a problem and to try again later, which is not very good advice for this case.
Steps to reproduce:
- Do a fresh install of WPiOS.
- Launch a site with access to xmlrpc.php blocked or unavailable.
- Verify that
$site/xmlrpc.php is blocked.
- Install Jetpack and connect it to any WP.com account.
- Log in to WPiOS using the WP.com-connected account from the previous step.
- Go to My Sites > Media in the app.
- Go to Profile > Help & Support > Activity Logs > Current and save or copy the logs for reference.
Result: (1m27s) trying to open the Media Library results in the following error:
There was a problem when trying to access your media. Please try again later.

Tested with WPiOS 13.5.0.0 beta (TestFlight) on iPhone 6S iOS 13.1.3 logged in as `user1017` which is the Jetpack-connected user for `raw-bengal-397.jurassic.ninja`.
Aside: I expected the app to detect and use an alternate XMLRPC endpoint in my test, but it did not.
Can we detect when XMLRPC is blocked, returning 404, and display a relevant error message?
Currently, the error when trying to access media on a site with xmlrpc.php returning a 404 says there was a problem and to try again later, which is not very good advice for this case.
Steps to reproduce:
$site/xmlrpc.phpis blocked.Result: (1m27s) trying to open the Media Library results in the following error:

Tested with WPiOS 13.5.0.0 beta (TestFlight) on iPhone 6S iOS 13.1.3 logged in as `user1017` which is the Jetpack-connected user for `raw-bengal-397.jurassic.ninja`.Aside: I expected the app to detect and use an alternate XMLRPC endpoint in my test, but it did not.