cannot add google account to KAccounts (calendar, mail, contacts) Reproducible: Always Steps to Reproduce: 1. kcmshell5 kcm_kaccounts 2. click create 3. click google Actual Results: nothing happens Expected Results: new dialog for credentials console output: Starting new account dialog for "google" "google" Looking for plugin "" connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/1000/signond/socket: No such file or directory") 1 connection-manager.cpp 132 init Peer connection unavailable, activating service identityimpl.cpp 96 updateState Updating state: "PendingRegistration" SignOn::IdentityImpl(0x1d3af70) identityimpl.cpp 172 storeCredentials Storing credentials authsessionimpl.cpp 94 initInterface Starting auth session with "oauth2" authsessionimpl.cpp 94 initInterface connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/1000/signond/socket: No such file or directory") 1 connection-manager.cpp 150 init Connected to "qt_default_session_bus" identityimpl.cpp 96 updateState Updating state: "Ready" SignOn::IdentityImpl(0x1d3af70) identityimpl.cpp 96 updateState Updating state: "NeedsUpdate" SignOn::IdentityImpl(0x1d3af70) identityimpl.cpp 96 updateState Updating state: "PendingUpdate" SignOn::IdentityImpl(0x1d3af70) identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 0 " identityimpl.cpp 345 storeCredentialsReply stored id: 63 old id: 0 identityimpl.cpp 381 getInfoReply QMap(("ACL", QVariant(QStringList, ("*")))("AuthMethods", QVariant(QDBusArgument, ))("Caption", QVariant(QString, "google"))("Id", QVariant(uint, 63))("Owner", QVariant(QStringList, ()))("Realms", QVariant(QStringList, ()))("RefCount", QVariant(int, 0))("StoreSecret", QVariant(bool, true))("Type", QVariant(int, 1))("UserName", QVariant(QString, ""))("UserNameSecret", QVariant(bool, false))("Validated", QVariant(bool, false))) identityimpl.cpp 96 updateState Updating state: "Ready" SignOn::IdentityImpl(0x1d3af70) Info: Id: 63 caption: "google" owner: "" userName: "" identityimpl.cpp 576 remoteObjectDestroyed identityimpl.cpp 96 updateState Updating state: "NeedsRegistration" SignOn::IdentityImpl(0x1d3af70)
Thanks for the report Can you please check you have signon-ui package installed?
(In reply to Martin Klapetek from comment #1) > Thanks for the report > > Can you please check you have signon-ui package installed? yes extra/signon-ui 0.17+15.10.20150810-1 [installed](
Ok, can you check you also have signon-plugin-oauth2 and signon-plugin-password?
extra/signon-plugin-oauth2 0.23-1 [installed] I have not found signon-plugin-password on archlinux in packages, not even in AUR. I think this package is only on ubuntu and I don't know equivalent on archlinux.
Ok, in that case, please run this: $ SSOUI_LOGGING_LEVEL=2 SSOUI_DAEMON_TIMEOUT=30 signon-ui try adding new Google account and then post the output of that^ command.
This is output of $ SSOUI_LOGGING_LEVEL=2 SSOUI_DAEMON_TIMEOUT=30 signon-ui service.cpp 222 queryDialog Got request: QMap(("AppId", QVariant(QString, ""))("Caption", QVariant(QString, "google"))("ClientData", QVariant(QVariantMap, QMap(("AllowedSchemes", QVariant(QStringList, ("https", "http")))("AuthPath", QVariant(QString, "o/oauth2/auth?access_type=offline&approval_prompt=force"))("ClientId", QVariant(QString, "876209205844-9e3g6ocf6ejv48dap37et84ks35rdre0.apps.googleusercontent.com"))("ClientSecret", QVariant(QString, "LvV-hkunrdMj4Ijr74rT6kH7"))("Embedded", QVariant(bool, false))("ForceClientAuthViaRequestBody", QVariant(bool, true))("Host", QVariant(QString, "accounts.google.com"))("RedirectUri", QVariant(QString, "http://localhost/oauth2callback"))("ResponseType", QVariant(QString, "code"))("Scope", QVariant(QStringList, ("https://docs.google.com/feeds/", "https://www.googleapis.com/auth/googletalk", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile", "https://picasaweb.google.com/data/", "https://www.googleapis.com/auth/calendar", "https://www.google.com/m8/feeds/", "https://www.googleapis.com/auth/tasks")))("TokenPath", QVariant(QString, "o/oauth2/token")))))("FinalUrl", QVariant(QString, "http://localhost/oauth2callback"))("Identity", QVariant(uint, 65))("Mechanism", QVariant(QString, "web_server"))("Method", QVariant(QString, "oauth2"))("OpenUrl", QVariant(QString, "https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force&client_id=876209205844-9e3g6ocf6ejv48dap37et84ks35rdre0.apps.googleusercontent.com&redirect_uri=http://localhost/oauth2callback&state=1858362110&response_type=code&scope=https://docs.google.com/feeds/ https://www.googleapis.com/auth/googletalk https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://picasaweb.google.com/data/ https://www.googleapis.com/auth/calendar https://www.google.com/m8/feeds/ https://www.googleapis.com/auth/tasks"))("Pid", QVariant(int, 4172))("StoredIdentity", QVariant(bool, true))("requestId", QVariant(QString, "/com/google/code/AccountsSSO/SingleSignOn/AuthSession_1"))) service.cpp 132 runQueue Head: SignOnUi::BrowserRequest(0x20339a0) QIODevice::read (QFile, "/home/majo/.cache/signon-ui/cookies/65.jar"): device not open browser-request.cpp 125 acceptNavigationRequest QUrl("https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force&client_id=876209205844-9e3g6ocf6ejv48dap37et84ks35rdre0.apps.googleusercontent.com&redirect_uri=http://localhost/oauth2callback&state=1858362110&response_type=code&scope=https://docs.google.com/feeds/ https://www.googleapis.com/auth/googletalk https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://picasaweb.google.com/data/ https://www.googleapis.com/auth/calendar https://www.google.com/m8/feeds/ https://www.googleapis.com/auth/tasks") browser-request.cpp 577 buildDialog Dialog was built browser-request.cpp 362 onLoadFinished Load finished false inactivity-timer.cpp 54 onTimeout
> browser-request.cpp 362 onLoadFinished Load finished false This^ suggests that signon-ui is unable to open the login page. Are you able to test patches? I could have a look if we can get some error message out of there.
I would like to, but I am not sure how to do it
Ok so couple things happened in the meantime. We're moving signon-ui to a different place and I'm pushing the patch there. So once the patch is approved and archlinux packaging adjusted, you should have the new signon-ui with that patch. Before that happens, you can somehow try to test the patch from here: https://gitlab.com/accounts-sso/signon-ui/merge_requests/1.diff I don't know if archlinux provides any easy way to try out patches tho, you're best asking at your distro forums/support channels.
important part after patch applied: browser-request.cpp 336 onRequestFinished The last request finished with error code QNetworkReply::NetworkError(NetworkSessionFailedError) - "The specified configuration cannot be used."
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!