-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow share continuation after a server restart #174
Comments
|
You handle geolocation data, sensible from a privacy point of view. The privacy policy for the client explains "the Hauk backend will retain your location for as long as your location sharing session is active". That would be false with your method: the file will persist data as long as it exists: if the service fails, and you don't debug it right now, one year later you still have retention of those location points. For our instance, in the records of processing activities we explicitly note "Cache. The sensible geolocalisation part is never stored on disk, only on RAM through [...] memcached, configured to disable swap. Cache isn't exposed directly on Internet. Any deployment is automated and restart the services, destroying currently stored information." Your feature would be convenient but a hell to manage from a privacy point of view. Instead, what you can probably do is to switch the configuration to Redis, which allows persistence, and address the retention questions. |
@dereckson will try, this (and no autoreshare on device reboot) make usage a pain and users need to re-share if "conditions are not perfect"... and they never are... |
Hauk at ccf8503 (will try to update asap)
Right now the Android client will say "server not accessible" after a server restart. While the link will say "session expired".
Server side web server log shows that the client retries:
"POST /api/post.php HTTP/1.1" 200 50 "-" "Hauk/1.6.1 Dalvik/2.1.0 (Linux; U; Android ; Device)" "-"
But on Android side, logcat says:
...so it's either "session expired" or "server not accessible"?
This is about memcache/redis being in memory only so once memcache is stopped the data is lost?
Ok so maybe https://github.com/meabed/memcached-php-backup-restore might help? Won't help if the restart is not controlled (eg. Power cut off)
But, this sounds rather odd, why is the client getting "session expired" when the client creates the sessions?
Is it expired? Great... then create it... isn't that what
allow_link_req
allows if TRUE?Or maybe I should make a reserved_link instead?
The text was updated successfully, but these errors were encountered: