Flooded Nextcloud device access entries



  • Hello, I came here after unsuccessfully attempting to place an issue within the DAVx⁵ GitLab project.

    Configuration:

    • Google Pixel 2
      • Android 9 (build PQ1A.190105.004)
      • DAVx⁵ version 2.2.1-ose
    • Host computer
      • Debian 9 (stable)
      • Firefox 60.4.0esr (x86_64)
      • Nextcloud server v15.02

    Using Nextcloud’s web interface, users are able to view devices used to log in to the system. After syncing my contacts/calendar, DAVx5 entries now comprise hundreds of items in my Nextcloud device access list - likely every time there is an auto or manual sync request. Is there a way to use the same identity to persist a single connection so that DAVx5 doesn’t flood this list?

    Here is a small subset of the devices in my Nextcloud access list:
    Screenshot-2019-1-23 Settings - Nextcloud.png

    Thanks in advance!


  • developer

    Hello,

    @JC said in Flooded Nextcloud device access entries:

    Hello, I came here after unsuccessfully attempting to place an issue within the DAVx⁵ GitLab project.

    Very good. This is the right place 🙂

    As far as I know, this list is generated by using cookies. DAVx⁵ keeps cookies for one synchronization session (only in RAM, not on disk).

    I think this is intended behavior – every synchronization is one session. “Flooding” would be one entry for every HTTP call in my opinion.



  • Hi,

    Thanks for the quick response. It makes sense why one synchronization is one session, for sanity’s sake. Could one cookie be used to describe each individual sync session whereas an additional cookie be placed in persistent storage, i.e. cached on disk, to describe the device identity? I’m looking at Firefox as an example. My identity is synchronized at least once during every browsing session, and yet the device lists a single (UUID? don’t remember the terminology…) for that connection. I think Plex does something similar in their access lists.


Log in to reply
 

Similar topics

  • 4
  • 22
  • 1