Recent searches
No recent searches
ZCLI Login issue -- Error: No such interface
Posted Jul 12, 2023
Hello,
I have installed ZCLI on a GCP server, running Debian Unix OS. However, cannot login and get one of the following errors (in different terminals):
Error: No such interface “org.freedesktop.Secret.Collection” on object at path /org/freedesktop/secrets/collection/login
or,
Error: Cannot autolaunch D-Bus without X11 $DISPLAY
Notes
1- I have gnome-keyring installed and seems that gnome-keyring-daemon is working.
2- In my account, API access with password and token is enabled.
Appreciate the help as I'm stuck.
0
6
6 comments
Greg Katechis
Hi there! Can you try `sudo apt install gnupg2 pass` and see if that resolves the issue for you?
0
upbr ad
Greg, thank you. I think I had done that before. Did and re-installed gnupg2 as you pointed out, and the issue is not resolved. Still getting:
Error: No such interface “org.freedesktop.Secret.Collection” on object at path /org/freedesktop/secrets/collection/login
0
upbr ad
An update on this case, I read somewhere that this could be due to locked keyring. The initial error is fixed and can login successfully after running the followings (to install dbus-11 as well):
After successful login, I get the following error though on running any other command such as zcli apps:package {folder_name}:
Error: Error: connect ECONNREFUSED ::1:443
I logged out and ensure the subdomain is correct. Any idea of what else need to be done?
Thank you
0
upbr ad
Hi Greg,
Appreciate your attention on this issue. I have passed the issue of "ZCLI Login" (using the unlock approach aboe). After successful login, and trying to build a package using the following command:
zcli apps:package dist
I get this error:
Error: Error: connect ECONNREFUSED ::1:443
Not sure what is wrong, as there is no extra step missing as per documentation, after login. Appreciate your help in pointing me to a direction where I can resolve this issue.
0
Sal
Is your Zendesk instance IP restricted?
0
upbr ad
No, there is no instance IP restriction configured.
Let me add that our code runs on a GCP (Google Cloud) VM and to the extent I know, there is no connection limitation from there.
0