Cloud Front : The request could not be satisfied

cloudfront request id
cloudfront 403 error
403 error the request could not be satisfied. reddit
cloudfront dashboard
error from cloudfront
cloudfront custom error page
console aws amazon com cloudfront home region us east 1
postman error from cloudfront

I am coming across this problem, i have a chat server which needs to communicate to the lambda service hosted in aws , but cloud front throws the following error.

BODY: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
Bad request.
<BR clear="all">
<HR noshade size="1px">
<PRE>
Generated by cloudfront (CloudFront)
Request ID: h5kPdVnMXwh-P7e7mxQ5LL1gj9fAupp_MNAPxmxufI74W4WhE_MByw==
</PRE>
<ADDRESS>
</ADDRESS>
</BODY></HTML>

This is how my request goes in application.

const options = {
    hostname: 'xxx.uat.com',
    port : '443',        
    path: '/qa/addMessage',
    method: 'POST'
};
const req = http.request(options, (res) => {
}

the chat server.js is hosted in ec2. what is the issue here?


require('http');

That is an HTTP client -- not an HTTPS client.

Specifying port 443 doesn't result in an HTTPS request, even though port 443 is the assigned port for HTTPS. It just makes an ordinary HTTP request against destination port 443.

This isn't a valid thing to do, so CloudFront is returning a Bad Request error.

You almost certainly want to require('https');.

Resolve CloudFront Error "Request Blocked", "The request could not be satisfied. Request Blocked." is an error from the client. This error can occur due to AWS Web Application Firewall  ERROR The request could not be satisfied. CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection. Generated by cloudfront (CloudFront)


I have seen this problem before. It happens due to the following reasons,

  1. Invalid Protocol (using http instead of https)
  2. Unknown http verb, make sure the endpoint is having the POST implemented in your case. If you are using API gateway, make sure you have deployed it.

ERROR The request could not be satisfied, Anyone know why I would get this on one of my s3/cloudfront items? ERROR The request could not be satisfied. Generated Fri, 20 Apr 2012  If valid requests match the conditions for a rule that blocks requests, update the rule to allow the requests. The default action is set to Block. If the default action is set to Block, then AWS WAF blocks requests in the following scenarios: The request matches the conditions of a rule that has Action set to Block.


In my case, I have a client-side load balancer when calling CloudFront. As a result, I am calling CF by IP address instead of hostName. I checked with Amazon AWS Support team, in this case, CF rejects the request and returns "403 Error, The request could be satisfied".

Cloud Front : The request could not be satisfied, This isn't a valid thing to do, so CloudFront is returning a Bad Request error. You almost certainly want to require('https'); . The incredible ibex defies gravity and climbs a dam | Forces of Nature with Brian Cox - BBC - Duration: 3:53. BBC Recommended for you


CloudFront 403 Request could not be satisfied : aws, CloudFront 403 Request could not be satisfied. discussion. I'm having some trouble with CloudFront in front of a S3 static hosting. The current lab setup:  ERROR The request could not be satisfied. Generated by cloudfront (CloudFront) Several other Cloudfront URLs from this distribution return the same error, but then others (again, from the same distribution) are working just fine.


[Solution] ERROR: The request could not be satisfied, the distribution I can only get "403 The request could not be satisfied" errors. Headers that CloudFront Can't Forward to Your Origin section How to fix The request could not be satisfied error on Drake Lounge. This is a tutorial on how to change your VPN for free and have access to Drake Lounge again.


403 - The request could not be satisfied · Issue #15 · Droplr , I was struggling a bit with owned SSL Certificate and custom settings, but the following article really helped a lot:  The request could not be satisfied. Generated by cloudfront (CloudFront) Request ID: q8yiTUk7Yz4sVZFJ6IP3u75JOWc90pomxr-rw3KUwQD07zrEk25nLA== I am at a loss as to