Error retrieiving credentials from the instance profile metadata server
-
Whether attempting to browse an existing S3 bucket or create a new one using IAM roles for access, we receive this error:
Error retrieving credentials from the instance profile metadata server. (Client error:
GET https://169.254.169.254/latest/meta-data/iam/security-credentials/
resulted in a404 Not Found
response:We have (i) installed the plugin with no apparent issues, (ii) created an IAM user per the Amazon S3 Quick Start Guide, and (iii) implemented the “preferably with” modification to wp-config.php to permit us to use an IAM role instead of defining access keys within the wp-config.php file, as set forth here.
The plugin appears to detect our wp-config.php modification, as it displays the alert “defined in wp-config.php” on the Media Library tab of the plugin configuration dialog.
For additional context, we do have WordPress installed in an Amazon EC2 instance and if this matters, do use Cloudflare in front of AWS, with Cloudflare as proxy.
Ours is a fresh WordPress install with only two plugins: WP Offload Media Lite (v2.3.2) and WP Offload SES Lite (v1.4.1). We use Astra theme 2.4.5. The site health check reports no issues.
The page I need help with: [log in to see the link]
- The topic ‘Error retrieiving credentials from the instance profile metadata server’ is closed to new replies.