Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Loading connections not working properly #3949

Closed
muhfaris opened this issue Jan 9, 2023 · 5 comments
Closed

Bug Report: Loading connections not working properly #3949

muhfaris opened this issue Jan 9, 2023 · 5 comments

Comments

@muhfaris
Copy link

muhfaris commented Jan 9, 2023

Bug Report

Current Behavior

The Saved Connections and Recents do not work properly.

Every makes a new connection and then adds into save the connection. It does not appear in the Saved Connections menu.

Code/Gist

Expected Behavior/Code

The Saved connections menu can open and list all connections saved.

Environment

  • node.js / npm versions: v18.12.1
  • OS: Fedora (Linux fedora 6.0.15-300.fc37.x86_64)

Possible Solution

Additional Context/Screenshots

image

@Anemy
Copy link
Member

Anemy commented Jan 9, 2023

Hi @muhfaris
If possible can you share your Compass logs with us? It will likely log an error when loading connections which may give us more information. Be sure to redact any sensitive information. You can find the log in the Help menu then with the Open Log File option.

Which operating system are you using? I'm thinking the issue might be that you need to give Compass access to the keychain. If you don't have a keychain on your machine and you're on ubuntu you can look into installing one like gnome-keyring.

@Anemy Anemy changed the title Bug Report: Content Security Policy Bug Report: Loading connections not working properly Jan 9, 2023
@muhfaris
Copy link
Author

hi @Anemy , thank for reply.

this log from starting the mongo compass until saving the connection.
compass_63bcea084d3ce33f93a04654_log.txt

@Anemy
Copy link
Member

Anemy commented Jan 10, 2023

@muhfaris hmmm not seeing anything telling in the logs, thanks for linking them. We'll have to double check our error catching around loading connections, I would have suspected it to show up there.
Do you have a credential store on your machine like gnome-keyring that Compass has access to? Although I don't know the exact failure that's happening I suspect it's related to that.

@muhfaris
Copy link
Author

muhfaris commented Jan 11, 2023

@Anemy default from fedora 37 has A KDE wallet, I think it is like a gnome-keyring.

@Anemy
Copy link
Member

Anemy commented Jun 1, 2023

Going to close this as a duplicate of #1911
Feel free to reopen if you feel it's a separate issue.
I'm thinking if we can't fix it we should at least document it and show something on Compass startup for folks.

@Anemy Anemy closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants