Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Desktop App cannot connect to rocket.chat(docker image version 0.18) with self-signed certificate using nginx-proxy

Open llitfkitfk opened this issue 10 years ago • 10 comments

Your Rocket.Chat version: (make sure you are running the latest)

rocket.chat docker image version 0.18:

  1. Mac client cannot connect. Error shows: "Not a valid instance url" (tested)
  2. Mobile Client (IOS) can connect (tested)
  3. Web can connect (tested)
  4. Mobile Client (Android) & Windows PC Client (not yet tested)

rocket.chat docker image version 0.16: Mac client works correctly

llitfkitfk avatar Feb 19 '16 07:02 llitfkitfk

I run rocket without docker and i have the same probleme "Not a valid instance url" on windows When the client is trying to make HEAD Request for the url, the header X-Rocket-Chat-Version is missing

Elvinra avatar Feb 19 '16 17:02 Elvinra

What version of the desktop app are you using? Make sure you test with the beta from https://github.com/RocketChat/Rocket.Chat.Electron/releases

engelgabriel avatar Feb 19 '16 19:02 engelgabriel

Think you may have had the same issue I faced and just found that the latest release of the client doesn't use the header value to check for validity now. #2289

dotned avatar Feb 20 '16 08:02 dotned

Indeed, as some proxies were dropping the header we decided to stop using it. Please upgrade to the 1.0.0 version of the desktop app.

engelgabriel avatar Feb 20 '16 10:02 engelgabriel

I managed to connect the app to http://chat:3000

not as neat as https://chat and on android both won't load.

rekeds avatar Feb 23 '16 14:02 rekeds

The only time I have seed such behaviour, the certificate chain was not installed correctly on NGINX, so it would only work on desktop browsers that have more complete list of root certificates.

engelgabriel avatar Feb 23 '16 17:02 engelgabriel

We are experiencing this issue with a LetsEncrypt certificate.

brylie avatar Feb 24 '16 11:02 brylie

Hopefully this will work better when we upgrade to nodejs 5 in a month

engelgabriel avatar Feb 24 '16 17:02 engelgabriel

Is this a LetsEncrypt issue?

scanline77 avatar Mar 13 '16 04:03 scanline77

@pgladwin no, This is issue https://github.com/RocketChat/Rocket.Chat/issues/2289

llitfkitfk avatar Mar 14 '16 05:03 llitfkitfk