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 Answers
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.

answered 3 months ago
  • 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
EXPERT
answered 3 months ago

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