Summary: | cannot add google account | ||
---|---|---|---|
Product: | [Frameworks and Libraries] KAccounts | Reporter: | majo63 |
Component: | KCM | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | mklapetek |
Priority: | NOR | Keywords: | triaged |
Version: | 15.08.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
majo63
2015-10-27 11:38:56 UTC
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! |