ZCLI Login issue -- Error: No such interface

6 Comments

  • Greg Katechis
    Zendesk Developer Advocacy

    Hi there! Can you try `sudo apt install gnupg2 pass` and see if that resolves the issue for you?

    0
  • Upbr

    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

    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): 

    apt install dbus-x11 gnome-keyring 
    export $(dbus-launch)
    eval "$(echo '\n' | gnome-keyring-daemon --unlock)"

    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

    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

    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

Please sign in to leave a comment.

Powered by Zendesk