Rocket.Chat.Electron: New v3 version doesn't connect with a valid server
My Setup
- Operating System: macOS Catalina v10.15.6
- App Version: 3.0.0
- Server version: 2.4.11
- Installation type: brew but update by inapp update system
- I have tested with the latest version
- I can simulate the issue easily
Description
After update to latest version get No valid server found at the URL
Current Behavior
Can’t connect to working server (I’m connected on browser)
Expected Behavior
Connect properly to server like on mobile apps and browser.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 37
- Comments: 54
Can confirm with a manually created
servers.jsonplaced in/Applications/Rocket.Chat.app/Contents/Resources/it works again macOS Big Sur Beta 9
for more Info and Syntax of servers.json -> Here
Reverting to v2.17.11 and works fine.
FYI: Both workarounds (trailing slash and/or space & servers-file) did not work for me. Reverted to 2.17
(macos 10.15.6)
Same here. Removing the trailing slash or using http works though.
Since the bug still have not been fixed, here is a workaround for ubuntu/snap version of RocketChat:
Edit file
/home/<username>/snap/rocketchat-desktop/current/.config/Rocket.Chat/config.jsonThe servers key will probably be an empty array looking like this:Replace it with following code (Make sure to replace
rocketchat.example.comin my code with the url to your rocketchat instance):Hi,
I found a wordaround which works for me:
Add the server Url into the config.json located in c:\windows\users\user\AppData\Roaming\Rocket.Chat like this:
{ “internal”: { “migrations”: { “version”: “3.0.1” } }, “currentServerUrl”: “https://yourserver.com/”, “doCheckForUpdatesOnStartup”: true, “isMenuBarEnabled”: true, “isShowWindowOnUnreadChangedEnabled”: false, “isSideBarEnabled”: true, “isTrayIconEnabled”: true, “rootWindowState”: { “focused”: false, “visible”: false, “maximized”: false, “minimized”: false, “fullscreen”: false, “normal”: true, “bounds”: { “x”: 460, “y”: 240, “width”: 994, “height”: 594 } }
Add it in our config made the authentification pass with success. Hopes it will help and still look for the client or server hotfix.
It’s not fixed yet really, @tassoevan
That URL works perfect in Web version
RC Server version is 3.6.3
Paid Wildcard certificate
Same here, can’t access my server (using specific Port) like: https://sub.domain.com:4444 Server in v3.6.3
But what if I don’t have/find this
servers.json? What’s the content on it ? My client is installed (win10) on %appadata%\Rocket.Chat\ (and no “resources” folder there)you’re right. my bad.
In my case I first put url without https:// and clicked connect and when app corrected the url with https and tell me that url is wrong, I added a space. But I will also revert to 2.17 - version 3 is quite buggy at the moment - I noticed also problems with graphics, moreover app asks server’s address every start, it hung twice on my computer… I thing this app should be in alpha or beta stage because of to these bugs.
Same here
Operating System: Windows 10 Version: 2004 App Version: 3.0.0 Server version: 3.6.3 Installation type: exe from releases over version 2.17.11
Maybe it will help someone:
If you are snap in Ubuntu 18.04 LTS you have to copy file into snap
for example
snap/rocketchat-desktop/210/.config/Rocket.Chat/In my case, I have to uninstall and install rocketChat
As I know, all that problems will be resolved in 3.0.3
No problem 😃 we are using a Rocket Chat server in production environment, the server is a snap in Ubuntu. Onto clients, we add the servers.json to avoid server authentification process and it works fine, tried on w7 and w10. Hopes my english is clear, thanks RC team for support
Ludovic VAUDOIS Responsable informatique ESAD de Reims
tél. : 03.26.89.42.76
www.esad-reims.fr ----- Mail original -----
De: “Sandro Kalbermatter” notifications@github.com À: “RocketChat/Rocket.Chat.Electron” Rocket.Chat.Electron@noreply.github.com Cc: “LudovicVaudois” lvaudois@esaddereims.fr, “Comment” comment@noreply.github.com Envoyé: Lundi 5 Octobre 2020 12:25:20 Objet : Re: [RocketChat/Rocket.Chat.Electron] New v3 version doesn’t connect with a valid server (#1743)
Yes it’s the client I’m talking about 😉 I’m unsure if I understand you correctly - is the RC on snap workaround something that “end users” can reproduce or are you talking about a staging version in a development setup? — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or unsubscribe .
The
servers.jsonfix does not work on snap installed instances because the snap is installed in a readonly FS and cannot be adjusted.@UnnamedHero you can install 3.0.2 from latest/edge, works fine for me
Is rejection of 2.x servers an intended change? I didn’t see this in the release notes for this build.
To downgrade on ubuntu following the suggestion from @lucianomlima :
Desktop app 3.0 pushed the compatibility to Rocket.Chat servers at the version 3.x, rejecting 2.x servers; it’s probably a mistake. @AmatorPhasma Could you please double check your conditions?
Same here
Operating System: macOS Catalina v10.15.6 App Version: 3.0.0 Server version: 2.4.11
Confirm that issue! Fixed that by creating valid
c:\Program Files\Rocket.Chat\resources\servers.jsonfile with my server in it