From kde-bugs-dist Fri Sep 30 19:21:41 2016 From: =?UTF-8?Q?Andr=C3=A9=20Vitor=20de=20Lima=20Matos=20via=20KDE=20Bugzilla=20?= X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=147526330600590 https://bugs.kde.org/show_bug.cgi?id=369581 Bug ID: 369581 Summary: Gdrive asking to re-authenticate after a few file accesses Product: kio-gdrive Version: 1.0.0 Platform: Archlinux Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: elvis.angelaccio@kde.org Reporter: andre.vmatos@gmail.com On Dolphin, after correctly authenticating and doing some files/folder access, I get asked to reauthenticate. Some times, it happens after 4-10 files (e.g. images) opened in ~3min. Not sure if it's related with quick access, Dolphin fetching an image file multiple times to show preview, or something like that. Maybe a temporary local cache and/or explicit "waits" to not get the API to force a reauth prompt. For example, on journalctl logs, I could count at least 30 "org.kde.kgapi: Received reply from QUrl("https://www.googleapis.com/drive/v2/..." in 20s of trying to access a PNG image stored on GDrive, and then a reauth was prompted. Not sure if their API likes that much accesses. Reproducible: Always Steps to Reproduce: 1. Get KIO Gdrive authenticated on Dolphin 2. Try accessing images on GDrive, don't need to open multiples at once, just sequential access can trigger the bug Actual Results: A new authentication dialog is asked, and account can't be accessed if not reauthenticating. Expected Results: Accesses would be limited/cached to avoid being asked to reauthenticate. AUR packages for stable 1.0.0, over Plasma 5.7.95 on up-to-date Arch Linux. Besides, thanks for your efforts on this module. I'm not a heavy Gdrive user, but Linux lacked this kind of integration, and, despite this bug report, it is working better than I was expecting. Past experiences with fuse drivers for Google Drive were too lagged even for a terminal "ls", and a pain to use in a daily basis, but your kio module is very smooth and quick. Regards. -- You are receiving this mail because: You are watching all bug changes.