Problem description:
When attempting to update the WordPress Core in an environment that uses the FAIR Connect plugin and has external requests restricted via wp-config.php, the update package download fails.
Even though the *.aspirecloud.net have been added to the WP_ACCESSIBLE_HOSTS constant in wp-config.php, the installation process is interrupted when attempting to download the .zip.
Error message:
Downloading update from https://downloads.wordpress.org/release/wordpress-6.9.2-no-content.zip…
Download failed.: User has blocked requests through HTTP.
Installation failed.
Environment configuration:
WordPress Version: 6.9.1
Plugin: FAIR Connect 1.3.0
Configuration in wp-config.php:
define( 'WP_HTTP_BLOCK_EXTERNAL', true ); if ( WP_HTTP_BLOCK_EXTERNAL ) { define( 'WP_ACCESSIBLE_HOSTS', '*.aspirecloud.net' ); }
Steps to reproduce:
Enable blocking of external requests in wp-config.php, allowing only aspirecloud.net
Attempt to update the Core from the WordPress admin panel using the FAIR flow.
The system recognizes the update but blocks the binary download, displaying wordpress.org as the source.
Expected behavior:
The system should allow the update package to be downloaded from authorized hosts on the whitelist without the HTTP blocker interfering with the download_url() process.
Problem description:
When attempting to update the WordPress Core in an environment that uses the FAIR Connect plugin and has external requests restricted via wp-config.php, the update package download fails.
Even though the
*.aspirecloud.nethave been added to the WP_ACCESSIBLE_HOSTS constant in wp-config.php, the installation process is interrupted when attempting to download the .zip.Error message:
Downloading update from https://downloads.wordpress.org/release/wordpress-6.9.2-no-content.zip…
Download failed.: User has blocked requests through HTTP.
Installation failed.
Environment configuration:
WordPress Version: 6.9.1
Plugin: FAIR Connect 1.3.0
Configuration in wp-config.php:
define( 'WP_HTTP_BLOCK_EXTERNAL', true ); if ( WP_HTTP_BLOCK_EXTERNAL ) { define( 'WP_ACCESSIBLE_HOSTS', '*.aspirecloud.net' ); }Steps to reproduce:
Enable blocking of external requests in wp-config.php, allowing only aspirecloud.net
Attempt to update the Core from the WordPress admin panel using the FAIR flow.
The system recognizes the update but blocks the binary download, displaying wordpress.org as the source.
Expected behavior:
The system should allow the update package to be downloaded from authorized hosts on the whitelist without the HTTP blocker interfering with the download_url() process.