Issue with Videos and Images Not Displaying in China; 403 AccessDenied Error when Setting Up Logs

0

Hello, I am experiencing an issue where videos and images on my website are not being displayed correctly in China. When accessing the website from China, the videos do not load, and the images show a placeholder with an "X" indicating a missing image.

  • Tested this issue in both Hong Kong and Singapore.
  • Using Chome.

I am currently using CloudFront for content delivery.

In order to gather more context on the issue, I have set up S3 server access logging and noticed that I am receiving a 403 AccessDenied error in the logs. This error occurs when trying to access certain resources.

I have reviewed the S3 bucket policy and CORS settings, and they seem to be properly configured. However, I suspect there might be a permissions issue or configuration problem related to access from China.

Could you please provide guidance on how to resolve this issue? Any suggestions or insights on how to ensure that videos and images are properly loaded in China would be greatly appreciated.

Thank you in advance for your assistance.

Request URL: https://cdn.tribu.com/_img/landscape/ambiance/landscape/2020_10_12_TRIBU_Italie192523.jpg Request Method: GET Status Code: 403 Remote Address: 13.224.2.89:443 Referrer Policy: strict-origin-when-cross-origin Content-Length: 23 Content-Type: application/json Date: Thu, 13 Jul 2023 14:31:37 GMT Via: 1.1 7022a5bbf9872d4a09d63e6cdb457dfe.cloudfront.net (CloudFront) X-Amz-Apigw-Id: IAaffHCUjoEF2yw= X-Amz-Cf-Id: xCV7TrdSaXcmsYiaoA_JAqlNE1tMfW83Fv0kkHqAO5dwK1HYFSKd0Q== X-Amz-Cf-Pop: SEA19-C2 X-Amzn-Errortype: ForbiddenException X-Amzn-Requestid: 45c7c306-16e8-4432-9d7f-5986dad84b93 X-Cache: Error from cloudfront :Authority: cdn.tribu.com :Method: GET :Path: /_img/landscape/ambiance/landscape/2020_10_12_TRIBU_Italie192523.jpg :Scheme: https Accept: image/avif,image/webp,image/apng,image/svg+xml,image/,/*;q=0.8 Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en;q=0.9 Referer: https://www.tribu.com/ Sec-Ch-Ua: "Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114" Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: "macOS" Sec-Fetch-Dest: image Sec-Fetch-Mode: no-cors Sec-Fetch-Site: same-site User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

asked 10 months ago285 views
1 Answer
0

Which S3 region do you use?
It is possible that access from China may have been blocked in some regions.

profile picture
EXPERT
answered 10 months ago
  • EU (Ireland) eu-west-1

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions