Comments (19)
I'm on 1.38.2 and I have the same issue with password - it disappears from saved connection after compass restart.
from compass.
i found the reason, the XDG_CURRENT_DESKTOP is not set, or its set to something like Hyprland (in my case) so to this work you need to set it as GNOME or other acceptable that you can find the list here
https://source.chromium.org/chromium/chromium/src/+/main:base/nix/xdg_util.cc;l=146-169
and for electron specific (the case of mongo)
electron/electron#32598 (comment) the comment for the savior
you just need the keyring or wallet or any polkit for this passwords to be runing
TL/DR:
XDG_CURRENT_DESKTOP='GNOME' mongodb-compass
fixes the issue
from compass.
The ssh tunnel settings as well, so basically none of the fields in More options
are saved
from compass.
I can confirm this under 1.20.5
and OS X, and it did work in an older version before, but I'm not sure in which version. How can we help fix this? Does anyone know when / where it was taken out?
from compass.
I'm on version 1.41 and the password is still not being saved.
from compass.
@frederickferby Thanks for pinging us on this. We were able to reproduce, looks like #3263 should fix it. We'll have that in the next Compass release.
from compass.
https://jira.mongodb.org/browse/COMPASS-4066
from compass.
I've the same problem with the Password field, it doesn't get saved in favs
from compass.
All the favorites are saving as a connection string. Even when I set the fields individually it returns to connection string when opened.
from compass.
have the same issue under Compass Version 1.20.5
from compass.
Pinging folks that have commented: @Kadrian @JasonDepp @Tofandel @antpaw @mshedsilegx
We've just released a new version of Compass, v1.31.0
, with a number of improvements for connectivity and how we build, save, and load connections. This issue with settings not persisting should be fixed with the changes.
https://www.mongodb.com/try/download/compass
https://github.com/mongodb-js/compass/releases
Feel free to reopen if you update and it's still happening. Sorry for the long turnaround on this, it took us a while to rebuild up this experience to be more reliable and streamlined. Thanks for reporting the issue and trying out Compass!
from compass.
I have version 1.32.2 and I'm having the same issue. It refuses to save the favorite if I have SSL configuration in the connection string.
from compass.
@frederickferby Does it give you an error? What is the configuration you're using?
from compass.
I'm authenticating with X.509. I turn on SSL/TLS, and choose my cert file. That's all.
It doesn't throw any errors, it just doesn't save the connection.
I tried creating a new one and save it as favorite, but then it doesn't appear in the favorites.
I also tried modifying an existing one, and saving the changes. But when I go back, the previous string appears, not the new one that I saved.
from compass.
@federicobaier Can you check if you're using any unescaped characters in the connection string? This might be caused by the issue mentioned in: https://jira.mongodb.org/browse/COMPASS-5745 where we fail to load connections with unescaped characters in their connection strings. It's an issue we'd like to get a fix out for sooner.
from compass.
No, I don't see any unescaped characters. This is the connection string (without the cluster domain):
mongodb+srv://here.goes.the.cluster.domain/?authSource=%24external&authMechanism=MONGODB-X509&retryWrites=true&w=majority&tls=true&tlsCertificateKeyFile=%2FUsers%2Ffedebaier%2Fdev%2Fcerts%2Fdb-cert.pem
The connection works fine, it just doesn't save it as favorite.
from compass.
Thanks @Anemy! Looking forward for the fix.
from compass.
I'm on version 1.41 and the password is still not being saved.
Also having the same issue under arch linux.
Here is a log entry inside of compass
{
"t": {
"$date": "2024-03-10T06:43:15.101Z"
},
"s": "E",
"c": "CONNECTION-STORAGE",
"id": 1001000202,
"ctx": "Connection Storage",
"msg": "Failed to encrypt secrets",
"attr": {
"message": "Error while encrypting the text provided to safeStorage.encryptString. Encryption is not available."
}
}
from compass.
I'm on version 1.41 and the password is still not being saved.
Im also having the same issue on 1.42.3 RedHat.
from compass.
Related Issues (20)
- Fields missing when exporting collection HOT 8
- Please implement multiselection HOT 1
- Feature Request HOT 1
- Bug Report: document/index count not updated when clicking on collection tab HOT 8
- Compass does not save favorites on WSL HOT 3
- Increase "import document" editor focus size
- Feature Request: Allow custom id generators to be used on duplication of documents HOT 1
- Feature Request: Add simplified parallel insertion command syntax HOT 2
- Bug Report | cannot query using big int HOT 2
- A full stop at the ending of the line HOT 1
- How to run Compass under native Wayland? HOT 6
- Bug Report: Loading connections not working properly HOT 5
- Feature Request: Color Picker on Favorite save HOT 3
- Fatal bug: The brain of your teams hot-key designer HOT 1
- Bug Report - In filter, not possible to get cursor between 2 spaces with arrow keys (on osx)?? HOT 2
- Bug Report - MacOS newest versions are broken HOT 10
- Bug Report - The latest version of Macos and Windows is stuck when importing large CSV files, and the program interface is white. HOT 6
- Rant : Using _id ObjectID as direct filter instead of {_id: ObjectID} HOT 1
- Bug Report Can't delete collection with specific name HOT 4
- "ssh2" module in ssh-tunnel package is obsolete, please consider upgrade HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compass.