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달 전

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

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

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

관련 콘텐츠