[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kio-gdrive] [Bug 369581] New: Gdrive asking to re-authenticate after a few file accesses
From:       André Vitor de Lima Matos via KDE Bugzilla <bug
Date:       2016-09-30 19:21:41
Message-ID: bug-369581-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic