RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.16k stars 10.37k forks source link

Profile picture not loading intermittently (Google Cloud Storage) #12545

Open juno-w opened 5 years ago

juno-w commented 5 years ago

Description:

Profile picture not loading intermittently when using Google Cloud Storage bucket. File uploads seems to be okay. Console log thrown error 400 from GCS (ExpiredToken). What is that?

Steps to reproduce:

  1. Refresh/reload screen
  2. Profile picture loaded
  3. After a while broken picture icon shown.
  4. Error 400 ExpiredToken

Expected behavior:

Profile picture shows all the time.

Actual behavior:

Broken picture symbol.

Server Setup Information:

Additional context

Relevant logs:

juno-w commented 5 years ago

Got this URL from console.

ExpiredToken The provided token has expired.
Request signature expired at: 2018-11-06T12:43:10+00:00
geekgonecrazy commented 5 years ago

How often does this happen? Does it seem to take a long time to load the message before finally failing? Guessing when it generates signed download link it generates for too short of a time.

@rocketchat/core

khaledalyawad commented 4 years ago

image

facing the same issue

"version": "1.0.0"

sampaiodiego commented 4 years ago

are you guys using a CDN config? can you share the headers of the requests as well?