Summary: | [kio-gdrive]Access token expires/invalidates after performing a few file operations | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-gdrive | Reporter: | Øystein Steffensen-Alværvik <epost.kde> |
Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | 988alex, a.skembris, albertovillacorta, almazgaliev99, andrew1stein, antmarra, aspotashev, bryan.m0ngo, cristianofurtadoba, crmongolo, danny.rafferty, darinsmiller, diralik+bugs.kde.org, ed38, epost.kde, fdelgado.it, feelthelemon, firew4lker, glenntanner3, guimarcalsilva, ilgaz, ivan.planinar, jens-bugs.kde.org, jesusdelgadillog, jkos, joao.vidal.silva, joh82875, jonathanalanwalls, jshand2013, keigh.rim, ken20001, lassi.vaatamoinen, marco_parillo, med.medin.2014, miaumensch, michele.mazza, miso, mojo, nate, p.r.worrall, pandom79, pmartycz, postix, rahul.phulore.999, slawek, tech.warrior.documentation, uri_herrera, vlad.lezhaisky |
Priority: | HI | ||
Version: | 22.12.1 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=420280 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Expired or missing access tokens for account
gdrive log attachment-1748709-0.html debug for kio-gdrive debug for kde-kgapi-gdrive debug for kio-gdrive |
Description
Øystein Steffensen-Alværvik
2018-02-27 22:56:45 UTC
kio-gdrive 1.2.1-0neon+16.04+xenial+build22 amd64 Neon 5.12.2 Frameworks 5.43.0 Qt 5.10.0 Confirmed, sorry for taking so long. The problem seems to (randomly) happen when communicating with signond. As result we get empty access/refresh tokens from KAccounts, which causes the "Unknown error" from the gdrive slave. Relevant logs: ago 26 18:03:42 arch-x220 signond[12137]: signonauthsession.cpp 61 createAuthSession ago 26 18:03:42 arch-x220 signond[12137]: signonauthsession.cpp 35 SignonAuthSession ago 26 18:03:42 arch-x220 signond[12137]: signonauthsession.cpp 42 SignonAuthSession "/com/google/code/AccountsSSO/SingleSignOn/AuthSession_2" ago 26 18:03:42 arch-x220 signond[12137]: signonauthsession.cpp 70 createAuthSession SignonAuthSession created successfully: "/com/google/code/AccountsSSO/SingleSignOn/AuthSession_2" ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: 12158 exitStatus= 0 ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: found no pending requests for PID 12158 ago 26 18:03:42 arch-x220 signond[12137]: signonauthsessionadaptor.cpp 76 process "web_server" ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 142 id ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 142 id ago 26 18:03:42 arch-x220 signond[12137]: credentialsdb.cpp 1373 credentials id: 143 queryPassword: false ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 149 method ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 913 startNewRequest Starting the authentication process ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 316 startProcess the number of requests is 1 ago 26 18:03:42 arch-x220 signond[12137]: credentialsdb.cpp 1373 credentials id: 143 queryPassword: true ago 26 18:03:42 arch-x220 signond[12137]: credentialsdb.cpp 1379 credentials Loading credentials from DB. ago 26 18:03:42 arch-x220 signond[12137]: credentialsdb.cpp 1391 credentials Password is empty ago 26 18:03:42 arch-x220 signond[12137]: accesscontrolmanagerhelper.cpp 167 isPeerAllowedToAccess "*" ago 26 18:03:42 arch-x220 signond[12137]: credentialsdb.cpp 1465 loadData Loading: 143 , "oauth2" ago 26 18:03:42 arch-x220 signond[12137]: credentialsdb.cpp 702 methodId method: "oauth2" ago 26 18:03:42 arch-x220 signond[12137]: signonauthsession.cpp 136 stateChangedSlot ago 26 18:03:42 arch-x220 signond[12137]: signonauthsession.cpp 136 stateChangedSlot ago 26 18:03:42 arch-x220 signonpluginprocess[12164]: remotepluginprocess.cpp 234 error error is sent 2 "Failed to I/O session data to/from the signon daemon." ago 26 18:03:42 arch-x220 signonpluginprocess[12164]: remotepluginprocess.cpp 419 startTask operation is completed ago 26 18:03:42 arch-x220 kdeinit5[12172]: "Failed to I/O session data to/from the signon daemon." ago 26 18:03:42 arch-x220 signond[12137]: pluginproxy.cpp 307 onReadStandardOutput PROXY RESULT OPERATION: 3 ago 26 18:03:42 arch-x220 signond[12137]: pluginproxy.cpp 344 handlePluginResponse 3 ago 26 18:03:42 arch-x220 kdeinit5[12172]: kf5.kio.gdrive: KIO GDrive ready: version 1.2.4 ago 26 18:03:42 arch-x220 signond[12137]: pluginproxy.cpp 409 handlePluginResponse PLUGIN_RESPONSE_ERROR ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 772 processError ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 ago 26 18:03:42 arch-x220 signonpluginprocess[12164]: Operation requested while plugin busy! - code 14 ago 26 18:03:42 arch-x220 signond[12137]: signonsessioncore.cpp 896 startNewRequest No more requests to process ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: 12168 exitStatus= 0 ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: found no pending requests for PID 12168 ago 26 18:03:42 arch-x220 signonpluginprocess[12164]: plugin.cpp 49 ~Plugin : ago 26 18:03:42 arch-x220 signonpluginprocess[12164]: oauth2plugin.cpp 115 ~OAuth2Plugin : ago 26 18:03:42 arch-x220 signonpluginprocess[12164]: oauth2plugin.cpp 91 ~OAuth2PluginPrivate : ago 26 18:03:42 arch-x220 signond[12137]: pluginproxy.cpp 453 onExit Plugin process exit with code 0 : QProcess::ExitStatus(NormalExit) ago 26 18:03:42 arch-x220 kdeinit5[12172]: kf5.kio.gdrive: Running job KGAPI2::Drive::AboutFetchJob(0x7ffc07083170) with accessToken "" ago 26 18:03:42 arch-x220 kdeinit5[12172]: org.kde.kgapi: Queued QUrl("https://www.googleapis.com/drive/v2/about?includeSubscribed=true") ago 26 18:03:42 arch-x220 kdeinit5[12172]: org.kde.kgapi: KGAPI2::Drive::AboutFetchJob(0x7ffc07083170) Dispatching request to QUrl("https://www.googleapis.com/drive/v2/about?includeSubscribed=true") ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: KLauncher: launching new slave "/usr/lib/qt/plugins/kf5/kio/http.so" with protocol= "https" args= ("https", "local:/run/user/1000/klauncherkCJMoO.1.slave-socket", "local:/run> ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: Asking kdeinit to start "/usr/lib/qt/plugins/kf5/kio/http.so" ("https", "local:/run/user/1000/klauncherkCJMoO.1.slave-socket", "local:/run/user/1000/kio_gdriveNEpeAE.2.slave-> ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: "/usr/lib/qt/plugins/kf5/kio/http.so" (pid 12179) up and running. ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: removing done request "/usr/lib/qt/plugins/kf5/kio/http.so" PID 12179 ago 26 18:03:42 arch-x220 klauncher[1289]: kf5.kinit.klauncher: new app ":1.665" ago 26 18:03:42 arch-x220 kdeinit5[12172]: org.kde.kgapi: Received reply from QUrl("https://www.googleapis.com/drive/v2/about?includeSubscribed=true") ago 26 18:03:42 arch-x220 kdeinit5[12172]: org.kde.kgapi: Status code: 401 ago 26 18:03:42 arch-x220 kdeinit5[12172]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. ago 26 18:03:42 arch-x220 kdeinit5[12172]: org.kde.kgapi: ago 26 18:03:42 arch-x220 kdeinit5[12172]: kf5.kio.gdrive: Job status code: 401 - message: "Invalid authentication." *** Bug 381952 has been marked as a duplicate of this bug. *** a soluction to fedora 30, install package rawhide. with root or sudo: dnf install https://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/k/kio-gdrive-1.2.6-2.fc31.x86_64.rpm after: dbus-launch dolphin or reboot *** Bug 411653 has been marked as a duplicate of this bug. *** Getting the same error in Dolphin 19.08 / kio-gdrive 1.2.7. With 1.2.6, I managed to access the drive once or twice before failure, now it doesn't manage to access it even once. The same on my Kubuntu 19.10 x86_64 Plasma: 5.17.3 KDE Frameworks: 5.64.0 QT: 5.12.4 Me too: Plasma: 5.17.3 QT: 5.13.2 KDE Frameworks: 5.64.0 OS: Manjaro 18.1.3 Juhraya Kernel: x86_64 Linux 5.4.0-1-MANJARO CPU: Intel Core i7-8565U @ 8x 4.6GHz GPU: Mesa DRI Intel(R) UHD Graphics RAM: 4660MiB / 15726MiB So if access tokens are time limited what component is responsible for their refreshing? Can we trigger it manually? Git commit 3db025102b89e96f74a7d8ff68147cd6649df100 by Elvis Angelaccio. Committed on 15/09/2022 at 22:11. Pushed by elvisangelaccio into branch 'master'. Don't start runJob() loop if the access token is not available. Otherwise the loop will go on forever, attempting to start jobs that will never work. KAccounts seems to return an empty access token when google returns a 401 error (access code expired). M +3 -0 src/gdrivehelper.cpp M +3 -0 src/kaccountsmanager.cpp M +8 -1 src/kio_gdrive.cpp https://invent.kde.org/network/kio-gdrive/commit/3db025102b89e96f74a7d8ff68147cd6649df100 I just pushed a fix for another issue cause by expired tokens, but this probably still doesn't fix the original issue reported here. Still happens to me on Archlinux. Is there any infos for the "Expired or missing access tokens for account"? Can we somehow help to fix it? Hi, I updated my system today (ArchLinux), and the error still persists. Is there any workaround to drive this? Regards. KDE neon Testing Edition KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 5.15.0-58-generic (64-bit) Graphics Platform: X11 The problem with accessing Gdrive in KDE has been going on for several years. Currently it's hard to use the internet without Google services - is the only solution to change the distribution? On the same line: Ubuntu 22.04/Mint login to Gdrive works fine. Maybe it's worth watching their work? I might have to change the distro, much to my regret. I NEED access to Google Drive! This is a problem that is becoming worse, and it occurs on more than one machine. Present in KDE Neon Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 5.19.0-38-generic (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz Memory: 22,7 GiB of RAM Graphics Processor: SVGA3D; build: RELEASE; LLVM; Manufacturer: innotek GmbH Product Name: VirtualBox System Version: 1.2 In Manjaro also happens again, it seems that after a while (days or weeks) access is lost. Operating System: Manjaro Linux KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.1.22-1-MANJARO (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: Notebook Product Name: N13_N140ZU System Version: Not Applicable Created attachment 158836 [details]
Expired or missing access tokens for account
I'm blocked from accessing Drive files due to this problem.
Operating System: Manjaro Linux
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.3.0-1-MANJARO (64-bit)
Graphics Platform: X11
Same on latest version: Operating System: Arch Linux KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.3-arch1-1 (64-bit) Graphics Platform: Wayland There are thousands of the following error messages on system log. I also saw signond occupying 100% of a single core for a long time after system came back from sleep. ul 19 20:12:30 mbt signonpluginprocess[13235]: Operation requested while plugin busy! - code 14 Jul 19 20:12:30 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:30 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:30 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:30 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:30 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:30 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:31 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:31 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:31 mbt signonpluginprocess[13242]: Operation requested while plugin busy! - code 14 Jul 19 20:12:31 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:31 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:31 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:31 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:31 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:31 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:31 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:31 mbt signonpluginprocess[13249]: Operation requested while plugin busy! - code 14 Jul 19 20:12:31 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:31 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:31 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:31 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:31 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:32 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:32 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:32 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:32 mbt signonpluginprocess[13250]: Operation requested while plugin busy! - code 14 Jul 19 20:12:32 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:32 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:32 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:32 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:32 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:33 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:33 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:33 mbt signonpluginprocess[13257]: Operation requested while plugin busy! - code 14 Jul 19 20:12:33 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:33 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:33 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:33 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:33 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:33 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:33 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:33 mbt signonpluginprocess[13258]: Operation requested while plugin busy! - code 14 Jul 19 20:12:33 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:33 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:33 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:33 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:33 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:33 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:33 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:33 mbt signonpluginprocess[13259]: Operation requested while plugin busy! - code 14 Jul 19 20:12:33 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:33 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:34 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:34 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:34 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:34 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:34 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:34 mbt signonpluginprocess[13260]: Operation requested while plugin busy! - code 14 Jul 19 20:12:34 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:34 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:34 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:34 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:34 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:34 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:35 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:35 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:35 mbt signonpluginprocess[13261]: Operation requested while plugin busy! - code 14 Jul 19 20:12:35 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:35 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:35 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:35 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:35 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:35 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:35 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:35 mbt signonpluginprocess[13281]: Operation requested while plugin busy! - code 14 Jul 19 20:12:35 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:35 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:35 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:35 mbt kioslave5[3355]: "Casting SessionData into subclass failed." Jul 19 20:12:35 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Casting SessionData into subclass failed." Jul 19 20:12:35 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:36 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:36 mbt kioslave5[3355]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Jul 19 20:12:36 mbt signond[12050]: signonsessioncore.cpp 397 replyError Deprecated error code: 2 Jul 19 20:12:36 mbt signonpluginprocess[13282]: Operation requested while plugin busy! - code 14 Jul 19 20:12:36 mbt kioslave5[3355]: "Failed to I/O session data to/from the signon daemon." Jul 19 20:12:36 mbt kioslave5[3355]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon." *** Bug 467428 has been marked as a duplicate of this bug. *** Hi everybody, i have to add that, if you remove the Google account from "Online accounts", it is impossible to add it again, because after asking for Google user name, it never reaches the password request page (the login page remains grayed out forever). This is a very big bug, cannot login to Google anymore. That's a separate bug that's caused by your distro shipping a version of the signon-ui package that's too old. See Bug 420280. *** Bug 476974 has been marked as a duplicate of this bug. *** *** Bug 477487 has been marked as a duplicate of this bug. *** Created attachment 164261 [details]
gdrive log
This also happens with me.
Operating System: openSUSE Tumbleweed 20231215
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.6-1-default (64-bit)
Graphics Platform: X11
Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G
Memory: 7.2 GiB of RAM
Graphics Processor: AMD Radeon R5 Graphics
Manufacturer: Acer
Product Name: Aspire A315-21G
System Version: V1.12
I'm getting this too since today. Me too. Worked nicely, was so happy, but it bugged eventually... Sigh. Is anyone actually assigned/working on to get this looked on and fixed? First reported in 2018, still broken in 2024. Agree, I am still having this problem and it makes KDE -> Google Drive integration somewhat painful. Importance is listed as "High major" and assignee is "Elvis Angelaccio". If someone could point me to the region of code that needs to be fixed, I'd be interested in helping. The biggest issue for me is finding things in this enormous codebase. (In reply to Andrew Stein from comment #31) > Agree, I am still having this problem and it makes KDE -> Google Drive > integration somewhat painful. > > Importance is listed as "High major" and assignee is "Elvis Angelaccio". > > If someone could point me to the region of code that needs to be fixed, I'd > be interested in helping. The biggest issue for me is finding things in this > enormous codebase. I think @Nate Graham can point you in the right direction and probably provide a feedback what's going for this bug. Thanks for trying to fix this. This one breaks the entire workflow, and there are several duplicates of this bug with all the technical details possible. Not a single KDE maintainer or a distribution maintainer cared about this issue. I think there is an ideological problem rather than a technical one, e.g. not supporting Google. I ended up using google-drive-ocamlfuse on all my KDE desktops for months now. Many may have switched to other desktops. this could be an idea to try with this problem. after each procedure finishing, the token should be refreshed and dolphin should refresh contents on gdrive folder Created attachment 166081 [details] attachment-1748709-0.html After ***each*** procedure? That sounds a bit excessive and performance-degrading. On Sun, Feb 25, 2024, 12:28 AM <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=391186 > > --- Comment #34 from jshand2013@gmail.com --- > this could be an idea to try with this problem. after each procedure > finishing, the token should be refreshed and dolphin should refresh > contents on > gdrive folder > > -- > You are receiving this mail because: > You are on the CC list for the bug. Created attachment 166082 [details]
debug for kio-gdrive
Created attachment 166083 [details]
debug for kde-kgapi-gdrive
No performance is degrading. Better to be slow than infinite! It is incredible that this issue has not been resolved.
Sent from my iPad
> On 25 Feb 2024, at 06:32, Andrew Stein <bugzilla_noreply@kde.org> wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=391186
>
> --- Comment #35 from Andrew Stein <andrew1stein@gmail.com> ---
> After ***each*** procedure? That sounds a bit excessive and
> performance-degrading.
>
>> On Sun, Feb 25, 2024, 12:28 AM <bugzilla_noreply@kde.org> wrote:
>>
>> https://bugs.kde.org/show_bug.cgi?id=391186
>>
>> --- Comment #34 from jshand2013@gmail.com ---
>> this could be an idea to try with this problem. after each procedure
>> finishing, the token should be refreshed and dolphin should refresh
>> contents on
>> gdrive folder
>>
>> --
>> You are receiving this mail because:
>> You are on the CC list for the bug.
>
> --
> You are receiving this mail because:
> You voted for the bug.
> You are on the CC list for the bug.
(In reply to bryan.m0ngo from comment #38) > No performance is degrading. Better to be slow than infinite! It is > incredible that this issue has not been resolved. Agreed. Any working solution is better than the current state. Plus, we are talking about a major bug that is here since 2018. Created attachment 166101 [details]
debug for kio-gdrive
on line 9405 might be a clue to why tokens are dropped and renewed
(In reply to jshand2013 from comment #40) > Created attachment 166101 [details] > debug for kio-gdrive > > on line 9405 might be a clue to why tokens are dropped and renewed on line 9405 might be a clue to why tokens are dropped and not renewed As of current version: Operating System: openSUSE Tumbleweed 20240412 KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.7.0 Kernel Version: 6.8.5-1-default (64-bit) Graphics Platform: Wayland Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G Memory: 7.2 GiB of RAM Graphics Processor: AMD Radeon R5 Graphics Manufacturer: Acer Product Name: Aspire A315-21G System Version: V1.12 The error i continue to get is about an expired token or an invalid one? which is it? i don't mean to sound rude, but the guy who maintains this plugin has either stepped aside and doing something else, or stepped off and died! What the hell is going on?? This issue has been ignored / stepped over for years...not good enough!!! (In reply to jshand2013 from comment #43) > i don't mean to sound rude, but the guy who maintains this plugin has either > stepped aside and doing something else, or stepped off and died! > > What the hell is going on?? This issue has been ignored / stepped over for > years...not good enough!!! it's getting absolutely ridiculous. My current setup is: Operating System: openSUSE Tumbleweed 20240418 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.6-1-default (64-bit) Graphics Platform: Wayland Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G Memory: 7.2 GiB of RAM Graphics Processor: AMD Radeon R5 Graphics Manufacturer: Acer Product Name: Aspire A315-21G System Version: V1.12 I have this exact same problem on my Tuxedo Stellaris 16 machine. Some information about my system: > cat /etc/os-release NAME="TUXEDO OS" VERSION="2 22.04.4" ID=tuxedo ID_LIKE="ubuntu debian" PRETTY_NAME="TUXEDO OS 2" VERSION_ID="22.04" HOME_URL="https://tuxedocomputers.com/" SUPPORT_URL="https://support.tuxedocomputers.com/" BUG_REPORT_URL="https://gitlab.com/tuxedocomputers/development/tuxedo_os/os" PRIVACY_POLICY_URL="https://www.tuxedocomputers.com/en/Privacy-policy.tuxedo" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy > uname -a Linux going-merry 6.5.0-10031-tuxedo #35 SMP PREEMPT_DYNAMIC Thu Mar 28 11:54:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux > plasmashell --version plasmashell 5.27.10 > kf5-config --version Qt: 5.15.12 KDE Frameworks: 5.114.0 kf5-config: 1.0 > dolphin --version dolphin 23.08.4 > dpkg -s kio-gdrive | grep 'Version' Version: 23.08.4-0xneon+22.04+jammy+release+build24 I have this exact same problem on my Tuxedo Stellaris 16 machine. Some information about my system: > cat /etc/os-release NAME="TUXEDO OS" VERSION="2 22.04.4" ID=tuxedo ID_LIKE="ubuntu debian" PRETTY_NAME="TUXEDO OS 2" VERSION_ID="22.04" HOME_URL="https://tuxedocomputers.com/" SUPPORT_URL="https://support.tuxedocomputers.com/" BUG_REPORT_URL="https://gitlab.com/tuxedocomputers/development/tuxedo_os/os" PRIVACY_POLICY_URL="https://www.tuxedocomputers.com/en/Privacy-policy.tuxedo" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy > uname -a Linux going-merry 6.5.0-10031-tuxedo #35 SMP PREEMPT_DYNAMIC Thu Mar 28 11:54:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux > plasmashell --version plasmashell 5.27.10 > kf5-config --version Qt: 5.15.12 KDE Frameworks: 5.114.0 kf5-config: 1.0 > dolphin --version dolphin 23.08.4 > dpkg -s kio-gdrive | grep 'Version' Version: 23.08.4-0xneon+22.04+jammy+release+build24 As of the last few weeks this is still a problem, we would love to see a fix for it! I am on Manjaro KDE. This is causing me a lot of headaches on a daily basis. Operating System: Manjaro Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.11.0-6-MANJARO (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 7900X3D 12-Core Processor Memory: 30.4 GiB of RAM Graphics Processor: AMD Radeon RX 5700 Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7E16 System Version: 1.0 (In reply to jonathanalanwalls from comment #47) > As of the last few weeks this is still a problem, we would love to see a fix > for it! I am on Manjaro KDE. This is causing me a lot of headaches on a > daily basis. > > Operating System: Manjaro Linux > KDE Plasma Version: 6.1.5 > KDE Frameworks Version: 6.5.0 > Qt Version: 6.7.2 > Kernel Version: 6.11.0-6-MANJARO (64-bit) > Graphics Platform: Wayland > Processors: 24 × AMD Ryzen 9 7900X3D 12-Core Processor > Memory: 30.4 GiB of RAM > Graphics Processor: AMD Radeon RX 5700 > Manufacturer: Micro-Star International Co., Ltd. > Product Name: MS-7E16 > System Version: 1.0 Hi there, these are my details of current system. i will report that i have no issues on my system now. Operating System: openSUSE Tumbleweed 20241007 KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.3 Kernel Version: 6.11.2-1-default (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ 7 150U Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: Dell Inc. Product Name: Inspiron 16 5640 (In reply to jshand2013 from comment #27) > Created attachment 164261 [details] > gdrive log > > This also happens with me. > > Operating System: openSUSE Tumbleweed 20231215 > KDE Plasma Version: 5.27.10 > KDE Frameworks Version: 5.112.0 > Qt Version: 5.15.11 > Kernel Version: 6.6.6-1-default (64-bit) > Graphics Platform: X11 > Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G > Memory: 7.2 GiB of RAM > Graphics Processor: AMD Radeon R5 Graphics > Manufacturer: Acer > Product Name: Aspire A315-21G > System Version: V1.12 Update, problem now solved with gdrive on: Operating System: openSUSE Tumbleweed 20241007 KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.3 Kernel Version: 6.11.2-1-default (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ 7 150U Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: Dell Inc. Product Name: Inspiron 16 5640 *** Bug 489681 has been marked as a duplicate of this bug. *** *** Bug 464772 has been marked as a duplicate of this bug. *** (In reply to jshand2013 from comment #49) > (In reply to jshand2013 from comment #27) > > Created attachment 164261 [details] > > gdrive log > > > > This also happens with me. > > > > Operating System: openSUSE Tumbleweed 20231215 > > KDE Plasma Version: 5.27.10 > > KDE Frameworks Version: 5.112.0 > > Qt Version: 5.15.11 > > Kernel Version: 6.6.6-1-default (64-bit) > > Graphics Platform: X11 > > Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G > > Memory: 7.2 GiB of RAM > > Graphics Processor: AMD Radeon R5 Graphics > > Manufacturer: Acer > > Product Name: Aspire A315-21G > > System Version: V1.12 > > Update, problem now solved with gdrive on: > > Operating System: openSUSE Tumbleweed 20241007 > KDE Plasma Version: 6.2.0 > KDE Frameworks Version: 6.6.0 > Qt Version: 6.7.3 > Kernel Version: 6.11.2-1-default (64-bit) > Graphics Platform: Wayland > Processors: 12 × Intel® Core™ 7 150U > Memory: 15.3 GiB of RAM > Graphics Processor: Mesa Intel® Graphics > Manufacturer: Dell Inc. > Product Name: Inspiron 16 5640 Has this been resolved as of KDE v6.2 then? (In reply to jonathanalanwalls from comment #52) > (In reply to jshand2013 from comment #49) > > (In reply to jshand2013 from comment #27) > > > Created attachment 164261 [details] > > > gdrive log > > > > > > This also happens with me. > > > > > > Operating System: openSUSE Tumbleweed 20231215 > > > KDE Plasma Version: 5.27.10 > > > KDE Frameworks Version: 5.112.0 > > > Qt Version: 5.15.11 > > > Kernel Version: 6.6.6-1-default (64-bit) > > > Graphics Platform: X11 > > > Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G > > > Memory: 7.2 GiB of RAM > > > Graphics Processor: AMD Radeon R5 Graphics > > > Manufacturer: Acer > > > Product Name: Aspire A315-21G > > > System Version: V1.12 > > > > Update, problem now solved with gdrive on: > > > > Operating System: openSUSE Tumbleweed 20241007 > > KDE Plasma Version: 6.2.0 > > KDE Frameworks Version: 6.6.0 > > Qt Version: 6.7.3 > > Kernel Version: 6.11.2-1-default (64-bit) > > Graphics Platform: Wayland > > Processors: 12 × Intel® Core™ 7 150U > > Memory: 15.3 GiB of RAM > > Graphics Processor: Mesa Intel® Graphics > > Manufacturer: Dell Inc. > > Product Name: Inspiron 16 5640 > > Has this been resolved as of KDE v6.2 then? I don't think so. I just experienced same issue on: Operating System: Fedora Linux 41 KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.11.5-300.fc41.x86_64 (64-bit) Graphics Platform: Wayland OK. I ran kdeinit5 in a terminal then executed dolphin from the command line, and the problem goes away. kdeinit5 does complain: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) ... but this is clearly a separate issue / bug related to kdeinit5 employinga deprecated method. If anybody can make sure that the kdeinit5 maintainers can fix that before said method gets changed from deprecated obsoleted that would be great. In the meantime this workaround gets things working, and should help to the problem in the source. I thought kdeinit5 might be setting some environment variable differently, however: [jdines@fireball git (master)]$ diff with-kdeinit5 without-kdeinit5 15c15 < SHELL_SESSION_ID=9a4df86ad9bf49f293849a6ef3bbcd8a --- > SHELL_SESSION_ID=591e642ec48f4afc91b48ad03c51ec4d 21c21 < GPG_TTY=/dev/pts/1 --- > GPG_TTY=/dev/pts/2 40c40 < KONSOLE_DBUS_SESSION=/Sessions/1 --- > KONSOLE_DBUS_SESSION=/Sessions/2 77d76 < OLDPWD=/home/jdines ... this doesn't appear to be the case. I plan on chasing this down at some point if I have the time, but hopefully this gives someone else a pointer as to what might be going on. |