RocketChat / RocketChat/Rocket.Chat
Bug: Media (Video, Image, Audio) URLs Use localhost Instead of Gitpod URL
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
🐞 Description:
Media files (videos, images, and audio) in Rocket.Chat fail to load in Gitpod because they are being served using localhost, which does not work in Gitpod’s dynamic URL environment.
⚠️ Steps to reproduce:
- Open Rocket.Chat in Gitpod.
- Try to load/play a media file (video, image, or audio).
- The request fails because the URL is using
localhostinstead of Gitpod’s dynamic domain.
🎯 Expected behavior:
Media should use the correct Gitpod URL instead of localhost, allowing it to load properly in Gitpod environments.
🛑 Actual behavior:
Media files fail to load because they rely on localhost, which is inaccessible in Gitpod.
📜 Additional context:
This issue occurs only in Gitpod environments where localhost is not accessible. Instead, the media files should use Gitpod’s generated URLs.
📝 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
Start by reproducing the media-loading failure in Gitpod and tracing where video, image, and audio URLs are generated. Check how the Gitpod dynamic domain should replace localhost; done means all three media types load successfully using the correct Gitpod URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100