RocketChat / RocketChat/Rocket.Chat

Clients of Rocket.Chat works incorrectly, if url of RC instance contains context path

Open
#8,091 3 comments 0 reactions 1 assignee View on GitHub

@rodrigok is already working on this.

Since Sep 11, 2017.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Android client and Desktop client for Windows works incorrectly, if url address of Rocket Chat instance contains context path (like https://rc.instance.com/myproject). We checked tcp dump and it looks like clients cut off context path in url and tries to log to https://rc.instance.com without context, that certainly doesn't work.
Android client doesn't connect to url with context path at all (just stuck during login forever, because according to tcpdump, it is cuts off context and tries to connect to url without it), Windows client works fine, but doesn't show preview of attached pictures and users avatar from Active Directory.
Web Client works fine.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.58.1
  • Operating System: CentOS Linux release 7.3.1611 (Core)
  • Deployment Method(snap/docker/tar/etc): tar
  • Number of Running Instances: 4
  • DB Replicaset Oplog: yes
  • Node Version: v4.5.0

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.