502 and 494 Error : The request could not be satisfied by cloudfront

0

I am getting this error from cloudfront when I am sending big GET request to my application :

494 Error : The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time.

I know that cloudfront has a limit of around 10k characters and when violated it responds with 413 error but I am not understanding why cloudfront throws 494 and what does it actually means.

On that note, Sometime I am seeing 502 error when sending big GET request to my application :

502 Error : The request could not be satisfied by cloudfront. Cloud front couldn't connect to the origin or origin returned an incorrect response.

Would any one know the meaning of these errors ( as these docs define error connecting to origin but why only with big request ) and how to fix them.

Note: I don't have the logs from cloudfront as it doesn't log big request.

Nash
질문됨 2년 전3772회 조회
1개 답변
0

Some browsers limit GET requests to a maximum character count. For example, Internet Explorer has a GET character limit of 2,048 characters including the URL path. Could this be a factor in the failures you are seeing?

profile pictureAWS
Kris
답변함 2년 전

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

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

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

관련 콘텐츠