Desktop App cannot connect to rocket.chat(docker image version 0.18) with self-signed certificate using nginx-proxy
Your Rocket.Chat version: (make sure you are running the latest)
rocket.chat docker image version 0.18:
- Mac client cannot connect. Error shows: "Not a valid instance url" (tested)
- Mobile Client (IOS) can connect (tested)
- Web can connect (tested)
- Mobile Client (Android) & Windows PC Client (not yet tested)
rocket.chat docker image version 0.16: Mac client works correctly
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
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
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
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.
I managed to connect the app to http://chat:3000
not as neat as https://chat and on android both won't load.
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.
We are experiencing this issue with a LetsEncrypt certificate.
Hopefully this will work better when we upgrade to nodejs 5 in a month
Is this a LetsEncrypt issue?
@pgladwin no, This is issue https://github.com/RocketChat/Rocket.Chat/issues/2289