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

beantwortet vor 4 Monaten
  • 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
EXPERTE
beantwortet vor 4 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen