RocketChat / RocketChat/Rocket.Chat
Profile picture not loading intermittently (Google Cloud Storage)
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
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:
- Refresh/reload screen
- Profile picture loaded
- After a while broken picture icon shown.
- Error 400 ExpiredToken
Expected behavior:
Profile picture shows all the time.
Actual behavior:
Broken picture symbol.
Server Setup Information:
- Version of Rocket.Chat Server: 0.70.4
- Operating System: Ubuntu 18
- Deployment Method: Snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
Additional context
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reproducing the intermittent profile-picture failure with Google Cloud Storage and inspect the server and browser logs for the ExpiredToken response. Done means profile pictures continue loading after the reported delay without a broken-image state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100