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

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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ