RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.4k stars 10.51k forks source link

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

Open konovalcev opened 7 years ago

konovalcev commented 7 years ago

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:

konovalcev commented 7 years ago

Hello team. Just for my understanding, do you confirm, that this is a known bug or you just suppose it? Thanks!

Darkneon commented 7 years ago

I think you should ask your question in the Electron repo https://github.com/RocketChat/Rocket.Chat.Electron/issues.

I have hit a couple of edge cases with prefixes in the past in the browser and it's possible the fixes did not propagate to the other clients.

konovalcev commented 7 years ago

Hello @Darkneon. Thanks for your response!