Unexpected 403 errors sent by Cloudfront to some clients server requests

0

Hi,

Since the last week-end (Aug 1st), one our clients is receiving 403 when trying to POST to one of our CloudFront endpoints from some of their servers. The others are working fine. We are wondering what is going on.

The cloud front in question is associated with a WAF, the origin is API Gateway HTTP → Lambda.

We're not seeing the 403 in lambda cloudwatch logs, so we're expecting these to be produced by CloudFront, the WAF or API Gateway.

The following response is received by our client:
Received Unsuccessful status code : 403 response was : HttpResponseProxy{HTTP/1.1 403 Forbidden [Server: CloudFront, Date: Tue, 03 Aug 2021 12:35:09 GMT, Content-Type: text/html, Content-Length: 919, Connection: keep-alive, X-Cache: Error from cloudfront, Via: 1.1 7f5e0d3b9ea85d0d75063a66c0ebc841.cloudfront.net (CloudFront), X-Amz-Cf-Pop: HIO50-C1, X-Amz-Cf-Id: FRj76DTVztpUV4MJzAH2yL-mZOy4Ac9dm5RuAEWXhCOxAtiu9PVxmQ==] ResponseEntityProxy{[Content-Type: text/html,Content-Length: 919,Chunked: false]}}

What can we do to investigate further?

Edited by: bdo-discovery on Aug 4, 2021 11:19 PM

질문됨 3년 전2688회 조회
1개 답변
0

I found out what the issue was: a WAF rule was blocking the traffic. By adding the client's IP addresses to the WAF's whitelist, it fixed the issue.

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠