RocketChat / RocketChat/Rocket.Chat
/api/v1/users.register requires the internet for avatar fetch
Open
Nobody has claimed this yet.
area: backend
triaged
type: improvement
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Steps to reproduce:
Expected behavior:
Actual behavior:
Server Setup Information:
- Version of Rocket.Chat Server: 2.4.11
- Operating System: UBUNTU
- Deployment Method:
- Number of Running Instances: 4
- DB Replicaset Oplog: TRUE
- NodeJS Version: 8.8
- MongoDB Version: 4.*
Client Setup Information
- Desktop App or Browser Version:
- Operating System:
When we use rest /api/v1/users.register to regist user,it will not reponse anything util timeout....but the user has been registered.
it seems that if we use rest api for registing users the server must have ability to visit internet .
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 tracing the /api/v1/users.register endpoint and the avatar-fetching path in a local Rocket.Chat server configured without internet access. Reproduce the timeout while checking server logs; done means registration returns a response promptly and still behaves correctly when the avatar cannot be fetched.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100