S3 return 403 error when generating Whatsapp Image Preview Links (opengraph tag)

0

Our website uses S3 for media hosting (only images), with its own url (midia.xxxxxx.com.br) and certificate in "flexible" mode, mediated by Cloudflare (which acts as a primary DNS and proxy, we do not put our certificate on S3 because we use let's encrypt at source). Everything works fine, except for one detail: when we try to share a link in the Whatsapp application, the images offered by the opengraph tag cannot be embedded in the post. Whatsapp receives a 503 code. This does not happen with any other social network. For the rest, everything is ok.

Access to the bucket is completely public and the images can be opened normally in any browser. Browsing is properly guided by ssl (albeit forcedly, by Cloudflare), and everything else in media management and loading works fine... Does anyone have any idea how to solve this?

Jeff
已提問 3 年前檢視次數 1175 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南