Presigned Url access denied on linux server

0

Hi, I have a strange error. I have developed a Java API that retrieves all pre-signed URLs of the objects that I have stored in the bucket. Testing it locally all the media are available and visible, but, once I deployed my Java application on an Alma Linux server, I wasn't able to see the pre-signed URLs, They are not valid URLs because I received this error : Inserisci qui la descrizione dell'immagine

Looking on the internet it seems to be a difference between the timezone of the server and aws Zone On my server, I have set Europe/Rome as the Timezone and Milan as the Aws Zone. This is the timezone on my Linux server :

Inserisci qui la descrizione dell'immagine

It seems to be some seconds before my local.

Did someone have the same error? Could the timezone be responsible for this error?

I hope someone can help me. Thanks to those who will help me.

Regards

已提问 4 个月前440 查看次数
2 回答
0

Hi, as the expired date I have put a day after today for example, if I generated a pre-signed URL now, the expired date is Wed Jan 17 20:21:28 UTC 2024 when today is Jan 16 19:22:13 UTC 2024. I have inserted one day after to have more time until the expiration.

已回答 4 个月前
  • Was it created via role or an IAM user?

0

What created the pre signed URL and how long are they valid for?

profile picture
专家
已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容