Exception Thrown

File: /var/www/html/cms/vendor/composer/aws/aws-sdk-php/src/Credentials/InstanceProfileProvider.php

Line: 79

Message:
Error retrieving credentials from the instance profile metadata server. (cURL error 7: Failed to connect to 169.254.169.254 port 80: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html))

Trace:
#0 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(201): Aws\Credentials\InstanceProfileProvider->Aws\Credentials\{closure}(Object(GuzzleHttp\Exception\ConnectException))
#1 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(154): GuzzleHttp\Promise\Promise::callHandler(2, Array, Array)
#2 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/TaskQueue.php(61): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#3 /var/www/html/cms/vendor/composer/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(96): GuzzleHttp\Promise\TaskQueue->run()
#4 /var/www/html/cms/vendor/composer/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(123): GuzzleHttp\Handler\CurlMultiHandler->tick()
#5 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(242): GuzzleHttp\Handler\CurlMultiHandler->execute(true)
#6 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(219): GuzzleHttp\Promise\Promise->invokeWaitFn()
#7 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(262): GuzzleHttp\Promise\Promise->waitIfPending()
#8 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(221): GuzzleHttp\Promise\Promise->invokeWaitList()
#9 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(265): GuzzleHttp\Promise\Promise->waitIfPending()
#10 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(221): GuzzleHttp\Promise\Promise->invokeWaitList()
#11 /var/www/html/cms/vendor/composer/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#12 /var/www/html/cms/vendor/composer/aws/aws-sdk-php/src/functions.php(298): GuzzleHttp\Promise\Promise->wait()
#13 /var/www/html/cms/vendor/composer/aws/aws-sdk-php/src/S3/S3Client.php(270): Aws\serialize(Object(Aws\Command))
#14 /var/www/html/cms/addons/filesystem_s3/filesystem_s3.php(394): Aws\S3\S3Client->getObjectUrl('content.gresham...', 'data/images/114...')
#15 /var/www/html/cms/addons/content_image/content_image.php(396): Addons\filesystem_s3\filesystem_s3->getHref()
#16 /var/www/html/cms/addons/content_image/content_image.php(219): Addons\content_image\image->getPath()
#17 [internal function]: Addons\content_image\image->metaValue()
#18 /var/www/html/cms/CMS/Classes/Content/ContentItem.php(28): call_user_func_array(Array, Array)
#19 /var/www/html/cms/CMS/Classes/Response/ResponseMeta.php(46): CMS\Classes\Content\ContentItem->__call('metaValue', Array)
#20 /var/www/html/cms/CMS/Core/Router.php(206): CMS\Classes\Response\ResponseMeta->applyContent(Array)
#21 /var/www/html/cms/CMS/Core/Router.php(131): CMS\Core\Router->configure(Array, Object(CMS\Classes\Request\Request), Object(CMS\Classes\Response\Response))
#22 /var/www/html/cms/CMS/Core/Router.php(99): CMS\Core\Router->runRoute(Array, Object(CMS\Classes\Request\Request), Object(CMS\Classes\Response\Response))
#23 /var/www/html/cms/CMS/Classes/SAPI/Apache2.php(19): CMS\Core\Router->run(Object(CMS\Classes\Request\Request), Object(CMS\Classes\Response\Response))
#24 /var/www/html/cms/CMS/Core/Sapi.php(42): CMS\Classes\SAPI\Apache2->execute(NULL)
#25 /var/www/html/cms/init.php(14): CMS\Core\Sapi->execute()
#26 /var/www/html/index.php(9): require('/var/www/html/c...')
#27 {main}