RocketChat / RocketChat/Rocket.Chat

Profile picture not loading intermittently (Google Cloud Storage)

Open
#12,545 4 comments 0 reactions 0 assignees View on GitHub

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:
  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:
  • 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.