Sauvegarde des photos depuis Cozy Drive ne fonctionne plus


#1

Bonjour à tous,

J’utilise un Cozy en auto-hébergé, et depuis un peu plus d’un mois, mon app Cozy Drive installée sur mon smartphone n’arrive plus à sauvegarder les dernières photos que je prends.

Ma configuration serveur :

ii  cozy                                         2018M4S1-fix1-1                all          Cozy: Simple, Versatile, Yours
ii  cozy-coclyco                                 0.2.2-1                        all          Cozy: Simple, Versatile, Yours
ii  cozy-couchdb                                 2.2.0-1                        amd64        RESTful document oriented database
ii  cozy-nsjail                                  1.8-1                          amd64        A light-weight process isolation tool, making use of Linux namespaces
ii  cozy-stack                                   2018M4S1-fix1-1                amd64        Cozy: Simple, Versatile, Yours

L’appli Cozy Drive est en version 1.10.0.

J’ai bien essayé de délier l’app et de recommencer, mais sans succès.

J’ai donc regardé les logs de l’instance en mode debug, et voilà ce que j’ai pour l’ajout d’une photo qui n’est pas encore sauvegardée sur mon Cozy :

time="2018-10-02T09:15:18+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-sessions/f8cca25a73f6f702bf331f57ebadfd07 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:18+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfd07\",\"_rev\":\"1-538658089ff7b24d76d116850e21e1fb\",\"created_at\":\"2018-10-01T18:26:29.054802118+02:00\",\"last_seen\":\"2018-10-01T18:26:29.054802118+02:00\",\"long_run\":true}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:18+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-oauth-clients/f8cca25a73f6f702bf331f57ebadfc26 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:18+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"_rev\":\"7-5b787bd315d50a2642fa40981c265032\",\"client_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"client_secret\":\"g7VPYX0c6nV1G6dGFw04cEfNOGcmnTZU\",\"client_secret_expires_at\":0,\"redirect_uris\":[\"http://localhost/?reconnect=1\"],\"grant_types\":[\"authorization_code\",\"refresh_token\"],\"response_types\":[\"code\"],\"client_name\":\"Cozy Drive (G2)-4\",\"client_kind\":\"mobile\",\"client_uri\":\"https://github.com/cozy/cozy-drive/\",\"logo_uri\":\"https://github.com/cozy/cozy-drive/raw/master/targets/drive/vendor/assets/oauth-app-icon.png\",\"policy_uri\":\"https://files.cozycloud.cc/cgu.pdf\",\"software_id\":\"io.cozy.drive.mobile\",\"software_version\":\"1.2.0\",\"notifications\":null,\"synchronized_at\":\"2018-10-02T09:15:07.252686583+02:00\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-sessions/f8cca25a73f6f702bf331f57ebadfd07 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfd07\",\"_rev\":\"1-538658089ff7b24d76d116850e21e1fb\",\"created_at\":\"2018-10-01T18:26:29.054802118+02:00\",\"last_seen\":\"2018-10-01T18:26:29.054802118+02:00\",\"long_run\":true}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-oauth-clients/f8cca25a73f6f702bf331f57ebadfc26 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"_rev\":\"7-5b787bd315d50a2642fa40981c265032\",\"client_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"client_secret\":\"g7VPYX0c6nV1G6dGFw04cEfNOGcmnTZU\",\"client_secret_expires_at\":0,\"redirect_uris\":[\"http://localhost/?reconnect=1\"],\"grant_types\":[\"authorization_code\",\"refresh_token\"],\"response_types\":[\"code\"],\"client_name\":\"Cozy Drive (G2)-4\",\"client_kind\":\"mobile\",\"client_uri\":\"https://github.com/cozy/cozy-drive/\",\"logo_uri\":\"https://github.com/cozy/cozy-drive/raw/master/targets/drive/vendor/assets/oauth-app-icon.png\",\"policy_uri\":\"https://files.cozycloud.cc/cgu.pdf\",\"software_id\":\"io.cozy.drive.mobile\",\"software_version\":\"1.2.0\",\"notifications\":null,\"synchronized_at\":\"2018-10-02T09:15:07.252686583+02:00\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="request: POST mon.cozy.chez.moi%2Fio-cozy-files/_find {\"selector\":{\"path\":\"/Photos/Sauvegardées depuis mon mobile/20180824_192103.jpg\"},\"use_index\":\"dir-by-path\",\"limit\":1}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="response: {\"docs\":[\r\n],\r\n\"bookmark\": \"nil\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="request: POST mon.cozy.chez.moi%2Fio-cozy-files/_find {\"selector\":{\"path\":\"/Photos/Sauvegardées depuis mon mobile\"},\"use_index\":\"dir-by-path\",\"limit\":1}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="response: {\"docs\":[\r\n{\"_id\":\"e0fa5d21560802d3b619aaa494044f93\",\"_rev\":\"1-67c94f5f7be868c9f4d92b146ae65027\",\"type\":\"directory\",\"name\":\"Sauvegardées depuis mon mobile\",\"dir_id\":\"e0fa5d21560802d3b619aaa49403510d\",\"created_at\":\"2018-01-12T22:29:48.698794838Z\",\"updated_at\":\"2018-01-12T22:29:48.698794838Z\",\"tags\":[],\"path\":\"/Photos/Sauvegardées depuis mon mobile\"}\r\n],\r\n\"bookmark\": \"g1AAAAB9eJzLYWBgYMpgSmHgKy5JLCrJTq2MT8lPzkzJBYorpBqkJZqmGBmamhlYGBilGCeZGVomJiaaWJoYmJikWRqD9HHA9OUAdTCCtKnrB2Tkl-QX6wcnlpalpicWpRxemVqskJJaUJpZrJCbnwfESZk5qVlZAGlXJZQ\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-files/_design/by-parent-type-name/_view/by-parent-type-name?group=false&include_docs=true&key=%5B%22e0fa5d21560802d3b619aaa494044f93%22%2C%22file%22%2C%2220180824_192103.jpg%22%5D&reduce=false " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:20+02:00" level=debug msg="response: {\"total_rows\":2452,\"offset\":2229,\"rows\":[\r\n\r\n]}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-sessions/f8cca25a73f6f702bf331f57ebadfd07 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfd07\",\"_rev\":\"1-538658089ff7b24d76d116850e21e1fb\",\"created_at\":\"2018-10-01T18:26:29.054802118+02:00\",\"last_seen\":\"2018-10-01T18:26:29.054802118+02:00\",\"long_run\":true}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-oauth-clients/f8cca25a73f6f702bf331f57ebadfc26 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"_rev\":\"7-5b787bd315d50a2642fa40981c265032\",\"client_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"client_secret\":\"g7VPYX0c6nV1G6dGFw04cEfNOGcmnTZU\",\"client_secret_expires_at\":0,\"redirect_uris\":[\"http://localhost/?reconnect=1\"],\"grant_types\":[\"authorization_code\",\"refresh_token\"],\"response_types\":[\"code\"],\"client_name\":\"Cozy Drive (G2)-4\",\"client_kind\":\"mobile\",\"client_uri\":\"https://github.com/cozy/cozy-drive/\",\"logo_uri\":\"https://github.com/cozy/cozy-drive/raw/master/targets/drive/vendor/assets/oauth-app-icon.png\",\"policy_uri\":\"https://files.cozycloud.cc/cgu.pdf\",\"software_id\":\"io.cozy.drive.mobile\",\"software_version\":\"1.2.0\",\"notifications\":null,\"synchronized_at\":\"2018-10-02T09:15:07.252686583+02:00\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-files/ " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="response: {\"db_name\":\"mon.cozy.chez.moi/io-cozy-files\",\"update_seq\":\"2868-g1AAAAFreJzLYWBg4MhgTmEQTM4vTc5ISXLIyU9OzMnILy7JAUoxJTIkyf___z8riYGBMQGPuiQFIJlkD1Maik-pA0hpPExpDj6lCSCl9TClsXiU5rEASYYGIAVUPR-sPJmg8gUQ5fvBylMIKj8AUX4frLyJoPIHEOUQt-dmAQCJ8nJy\",\"sizes\":{\"file\":2078528,\"external\":1385075,\"active\":1483896},\"purge_seq\":0,\"other\":{\"data_size\":1385075},\"doc_del_count\":43,\"doc_count\":2465,\"disk_size\":2078528,\"disk_format_version\":6,\"data_size\":1483896,\"compact_running\":false,\"cluster\":{\"q\":8,\"n\":1,\"w\":1,\"r\":1},\"instance_start_time\":\"0\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-sessions/f8cca25a73f6f702bf331f57ebadfd07 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfd07\",\"_rev\":\"1-538658089ff7b24d76d116850e21e1fb\",\"created_at\":\"2018-10-01T18:26:29.054802118+02:00\",\"last_seen\":\"2018-10-01T18:26:29.054802118+02:00\",\"long_run\":true}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-oauth-clients/f8cca25a73f6f702bf331f57ebadfc26 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"_rev\":\"7-5b787bd315d50a2642fa40981c265032\",\"client_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"client_secret\":\"g7VPYX0c6nV1G6dGFw04cEfNOGcmnTZU\",\"client_secret_expires_at\":0,\"redirect_uris\":[\"http://localhost/?reconnect=1\"],\"grant_types\":[\"authorization_code\",\"refresh_token\"],\"response_types\":[\"code\"],\"client_name\":\"Cozy Drive (G2)-4\",\"client_kind\":\"mobile\",\"client_uri\":\"https://github.com/cozy/cozy-drive/\",\"logo_uri\":\"https://github.com/cozy/cozy-drive/raw/master/targets/drive/vendor/assets/oauth-app-icon.png\",\"policy_uri\":\"https://files.cozycloud.cc/cgu.pdf\",\"software_id\":\"io.cozy.drive.mobile\",\"software_version\":\"1.2.0\",\"notifications\":null,\"synchronized_at\":\"2018-10-02T09:15:07.252686583+02:00\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-sessions/f8cca25a73f6f702bf331f57ebadfd07 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfd07\",\"_rev\":\"1-538658089ff7b24d76d116850e21e1fb\",\"created_at\":\"2018-10-01T18:26:29.054802118+02:00\",\"last_seen\":\"2018-10-01T18:26:29.054802118+02:00\",\"long_run\":true}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-oauth-clients/f8cca25a73f6f702bf331f57ebadfc26 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:21+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"_rev\":\"7-5b787bd315d50a2642fa40981c265032\",\"client_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"client_secret\":\"g7VPYX0c6nV1G6dGFw04cEfNOGcmnTZU\",\"client_secret_expires_at\":0,\"redirect_uris\":[\"http://localhost/?reconnect=1\"],\"grant_types\":[\"authorization_code\",\"refresh_token\"],\"response_types\":[\"code\"],\"client_name\":\"Cozy Drive (G2)-4\",\"client_kind\":\"mobile\",\"client_uri\":\"https://github.com/cozy/cozy-drive/\",\"logo_uri\":\"https://github.com/cozy/cozy-drive/raw/master/targets/drive/vendor/assets/oauth-app-icon.png\",\"policy_uri\":\"https://files.cozycloud.cc/cgu.pdf\",\"software_id\":\"io.cozy.drive.mobile\",\"software_version\":\"1.2.0\",\"notifications\":null,\"synchronized_at\":\"2018-10-02T09:15:07.252686583+02:00\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-sessions/f8cca25a73f6f702bf331f57ebadfd07 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfd07\",\"_rev\":\"1-538658089ff7b24d76d116850e21e1fb\",\"created_at\":\"2018-10-01T18:26:29.054802118+02:00\",\"last_seen\":\"2018-10-01T18:26:29.054802118+02:00\",\"long_run\":true}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-oauth-clients/f8cca25a73f6f702bf331f57ebadfc26 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"_rev\":\"7-5b787bd315d50a2642fa40981c265032\",\"client_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"client_secret\":\"g7VPYX0c6nV1G6dGFw04cEfNOGcmnTZU\",\"client_secret_expires_at\":0,\"redirect_uris\":[\"http://localhost/?reconnect=1\"],\"grant_types\":[\"authorization_code\",\"refresh_token\"],\"response_types\":[\"code\"],\"client_name\":\"Cozy Drive (G2)-4\",\"client_kind\":\"mobile\",\"client_uri\":\"https://github.com/cozy/cozy-drive/\",\"logo_uri\":\"https://github.com/cozy/cozy-drive/raw/master/targets/drive/vendor/assets/oauth-app-icon.png\",\"policy_uri\":\"https://files.cozycloud.cc/cgu.pdf\",\"software_id\":\"io.cozy.drive.mobile\",\"software_version\":\"1.2.0\",\"notifications\":null,\"synchronized_at\":\"2018-10-02T09:15:07.252686583+02:00\"}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-files/_changes?feed=normal&limit=100&seq_interval=100&since=2868-g1AAAAJ7eJyd0EsKwjAQBuDRCrr1BHqENImtWdlLuBSbhxBKahfqWvEiehO9id6kpkmlmyLEzQzMMB8_YwBgoiMFU1mdpFYiM5XkRleHo7GrIQcxq-u60JEAGOSlnY13C4liRvpufkhibqtYddjaYSSlhKYsFMsabNthxmEMJzuMgpPlDXbusI1PFuMUcRyI7Ue2wsU2691aUDoQJ0xhHprOg3cPPlpQOVAqJGIR-jsPPj34asGrA5EkLFHLv8C3B78_LH1CiShFvO-0-AC8HsI0&style=all_docs " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="response: {\"results\":[\n\n],\n\"last_seq\":\"2868-g1AAAAJ7eJyd0EsKwjAQBuDRCrr1BHqENImtWdlLuBSbhxBKahfqWvEiehO9id6kpkmlmyLEzQzMMB8_YwBgoiMFU1mdpFYiM5XkRleHo7GrIQcxq-u60JEAGOSlnY13C4liRvpufkhibqtYddjaYSSlhKYsFMsabNthxmEMJzuMgpPlDXbusI1PFuMUcRyI7Ue2wsU2691aUDoQJ0xhHprOg3cPPlpQOVAqJGIR-jsPPj34asGrA5EkLFHLv8C3B78_LH1CiShFvO-0-AC8HsI0\",\"pending\":0}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-sessions/f8cca25a73f6f702bf331f57ebadfd07 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfd07\",\"_rev\":\"1-538658089ff7b24d76d116850e21e1fb\",\"created_at\":\"2018-10-01T18:26:29.054802118+02:00\",\"last_seen\":\"2018-10-01T18:26:29.054802118+02:00\",\"long_run\":true}" domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="request: GET mon.cozy.chez.moi%2Fio-cozy-oauth-clients/f8cca25a73f6f702bf331f57ebadfc26 " domain=mon.cozy.chez.moi nspace=couchdb
time="2018-10-02T09:15:22+02:00" level=debug msg="response: {\"_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"_rev\":\"7-5b787bd315d50a2642fa40981c265032\",\"client_id\":\"f8cca25a73f6f702bf331f57ebadfc26\",\"client_secret\":\"g7VPYX0c6nV1G6dGFw04cEfNOGcmnTZU\",\"client_secret_expires_at\":0,\"redirect_uris\":[\"http://localhost/?reconnect=1\"],\"grant_types\":[\"authorization_code\",\"refresh_token\"],\"response_types\":[\"code\"],\"client_name\":\"Cozy Drive (G2)-4\",\"client_kind\":\"mobile\",\"client_uri\":\"https://github.com/cozy/cozy-drive/\",\"logo_uri\":\"https://github.com/cozy/cozy-drive/raw/master/targets/drive/vendor/assets/oauth-app-icon.png\",\"policy_uri\":\"https://files.cozycloud.cc/cgu.pdf\",\"software_id\":\"io.cozy.drive.mobile\",\"software_version\":\"1.2.0\",\"notifications\":null,\"synchronized_at\":\"2018-10-02T09:15:07.252686583+02:00\"}" domain=mon.cozy.chez.moi nspace=couchdb

Je ne comprends pas toutes les requêtes, mais je vois 2 POST au milieu, qui me semblent chargées de vérifier si la photo est déjà là. Et contre toute attente, la seconde renvoie un id de document…

Si vous avez des idées sur ce qui peut ne pas fonctionner, je suis preneur !

Merci d’avance !


[COZY-PHOTOS] - Impossible d'uploader des photos
#2

hello @dohseven,

La première requête recherche le fichier… il n’existe pas.
La seconde recherche le dossier dans lequel enregistrer les photos… il existe et elle retourne son identifiant.
Par contre je ne comprend pas pourquoi ensuite la sauvegarde des photos ne fonctionne pas :frowning:

Est-ce que dans les journaux nginx tu aurais des erreurs 400 / 401 / 403 sur des requêtes émises par l’appli ?


#3

Je viens de vérifier et j’ai le même comportement que dohseven depuis fin aout.


#4

Hello @Clochix,

J’ai vérifié dans les journaux de nginx, et j’ai effectivement des erreurs, bien vu !
Du côté logs, on trouve des erreurs 499 au moment du POST de la photo :

00.111.22.333 - - [02/Oct/2018:17:07:27 +0200] "GET /status/ HTTP/2.0" 200 285 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:28 +0200] "GET /auth/register/f8cca25a73f6f702bf331f57ebadfc26 HTTP/2.0" 200 912 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:28 +0200] "GET /auth/register/f8cca25a73f6f702bf331f57ebadfc26 HTTP/2.0" 200 912 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:28 +0200] "GET /data/ HTTP/2.0" 200 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:28 +0200] "GET /auth/register/f8cca25a73f6f702bf331f57ebadfc26 HTTP/2.0" 200 912 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:28 +0200] "GET /permissions/doctype/io.cozy.files/shared-by-link HTTP/2.0" 200 1051 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /sharings/doctype/io.cozy.files HTTP/2.0" 200 275 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /apps/ HTTP/2.0" 200 24438 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /settings/context HTTP/2.0" 404 282 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /files/io.cozy.files.root-dir HTTP/2.0" 200 2250 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "POST /settings/synchronized HTTP/2.0" 204 285 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /apps/ HTTP/2.0" 200 24438 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /data/io.cozy.files/_all_docs?include_docs=true&keys=[] HTTP/2.0" 200 349 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /apps/store/icon HTTP/2.0" 304 220 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /apps/banks/icon HTTP/2.0" 304 220 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /apps/photos/icon HTTP/2.0" 304 220 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /apps/drive/icon HTTP/2.0" 304 220 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /apps/collect/icon HTTP/2.0" 304 220 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /data/io.cozy.files/_all_docs?include_docs=true&keys=[] HTTP/2.0" 200 349 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:29 +0200] "GET /files/metadata?Path=%2FPhotos HTTP/2.0" 200 1546 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:30 +0200] "POST /intents HTTP/2.0" 200 650 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:30 +0200] "GET /settings/disk-usage HTTP/2.0" 200 402 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:30 +0200] "GET /apps/ HTTP/2.0" 200 24438 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:30 +0200] "GET /services?intent=f8cca25a73f6f702bf331f57ebaf3584 HTTP/2.0" 200 1695 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:30 +0200] "GET /files/metadata?Path=%2FPhotos%2FSauvegard%C3%A9es%20depuis%20mon%20mobile HTTP/2.0" 200 38759 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:30 +0200] "GET /files/metadata?Path=%2FPhotos%2FSauvegard%C3%A9es%20depuis%20mon%20mobile%2F20180621_165448.jpg HTTP/2.0" 404 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:42 +0200] "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180621_165448.jpg&Type=file&Tags=library&Executable=false HTTP/2.0" 499 0 "-" "Dalvik/2.1.0 (Linux; U; Android 5.0.2; LG-D802 Build/LRX22G)"
00.111.22.333 - - [02/Oct/2018:17:07:42 +0200] "GET /files/metadata?Path=%2FPhotos%2FSauvegard%C3%A9es%20depuis%20mon%20mobile%2F20180824_192103.jpg HTTP/2.0" 404 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:43 +0200] "GET /data/io.cozy.files/ HTTP/2.0" 200 750 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:44 +0200] "GET /data/ HTTP/2.0" 200 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:44 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 292 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:44 +0200] "GET /data/io.cozy.files/_changes?style=all_docs&seq_interval=100&since=2868-g1AAAAJ7eJyd0EsKwjAQBuDRCrr1BHqENImtWdlLuBSbhxBKahfqWvEiehO9id6kpkmlmyLEzQzMMB8_YwBgoiMFU1mdpFYiM5XkRleHo7GrIQcxq-u60JEAGOSlnY13C4liRvpufkhibqtYddjaYSSlhKYsFMsabNthxmEMJzuMgpPlDXbusI1PFuMUcRyI7Ue2wsU2691aUDoQJ0xhHprOg3cPPlpQOVAqJGIR-jsPPj34asGrA5EkLFHLv8C3B78_LH1CiShFvO-0-AC8HsI0&limit=100 HTTP/2.0" 200 575 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:44 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 291 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:07:53 +0200] "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180824_192103.jpg&Type=file&Tags=library&Executable=false HTTP/2.0" 499 0 "-" "Dalvik/2.1.0 (Linux; U; Android 5.0.2; LG-D802 Build/LRX22G)"
00.111.22.333 - - [02/Oct/2018:17:07:54 +0200] "GET /files/metadata?Path=%2FPhotos%2FSauvegard%C3%A9es%20depuis%20mon%20mobile%2F20180824_192111.jpg HTTP/2.0" 404 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:58 +0200] "GET /data/io.cozy.files/ HTTP/2.0" 200 750 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:58 +0200] "GET /data/ HTTP/2.0" 200 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:59 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 291 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:59 +0200] "GET /data/io.cozy.files/_changes?style=all_docs&seq_interval=100&since=2868-g1AAAAJ7eJyd0EsKwjAQBuDRCrr1BHqENImtWdlLuBSbhxBKahfqWvEiehO9id6kpkmlmyLEzQzMMB8_YwBgoiMFU1mdpFYiM5XkRleHo7GrIQcxq-u60JEAGOSlnY13C4liRvpufkhibqtYddjaYSSlhKYsFMsabNthxmEMJzuMgpPlDXbusI1PFuMUcRyI7Ue2wsU2691aUDoQJ0xhHprOg3cPPlpQOVAqJGIR-jsPPj34asGrA5EkLFHLv8C3B78_LH1CiShFvO-0-AC8HsI0&limit=100 HTTP/2.0" 200 575 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:07:59 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 291 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:08:05 +0200] "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180824_192111.jpg&Type=file&Tags=library&Executable=false HTTP/2.0" 499 0 "-" "Dalvik/2.1.0 (Linux; U; Android 5.0.2; LG-D802 Build/LRX22G)"
00.111.22.333 - - [02/Oct/2018:17:08:05 +0200] "GET /files/metadata?Path=%2FPhotos%2FSauvegard%C3%A9es%20depuis%20mon%20mobile%2F20180831_165140.jpg HTTP/2.0" 404 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:13 +0200] "GET /data/io.cozy.files/ HTTP/2.0" 200 750 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:13 +0200] "GET /data/ HTTP/2.0" 200 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:14 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 291 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:14 +0200] "GET /data/io.cozy.files/_changes?style=all_docs&seq_interval=100&since=2868-g1AAAAJ7eJyd0EsKwjAQBuDRCrr1BHqENImtWdlLuBSbhxBKahfqWvEiehO9id6kpkmlmyLEzQzMMB8_YwBgoiMFU1mdpFYiM5XkRleHo7GrIQcxq-u60JEAGOSlnY13C4liRvpufkhibqtYddjaYSSlhKYsFMsabNthxmEMJzuMgpPlDXbusI1PFuMUcRyI7Ue2wsU2691aUDoQJ0xhHprOg3cPPlpQOVAqJGIR-jsPPj34asGrA5EkLFHLv8C3B78_LH1CiShFvO-0-AC8HsI0&limit=100 HTTP/2.0" 200 575 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:15 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 292 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:08:17 +0200] "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180831_165140.jpg&Type=file&Tags=library&Executable=false HTTP/2.0" 499 0 "-" "Dalvik/2.1.0 (Linux; U; Android 5.0.2; LG-D802 Build/LRX22G)"
00.111.22.333 - - [02/Oct/2018:17:08:17 +0200] "GET /files/metadata?Path=%2FPhotos%2FSauvegard%C3%A9es%20depuis%20mon%20mobile%2F20180831_165147.jpg HTTP/2.0" 404 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:28 +0200] "GET /data/io.cozy.files/ HTTP/2.0" 200 750 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:28 +0200] "GET /data/ HTTP/2.0" 200 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:08:29 +0200] "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180831_165147.jpg&Type=file&Tags=library&Executable=false HTTP/2.0" 499 0 "-" "Dalvik/2.1.0 (Linux; U; Android 5.0.2; LG-D802 Build/LRX22G)"
00.111.22.333 - user [02/Oct/2018:17:08:29 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 292 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:29 +0200] "GET /data/io.cozy.files/_changes?style=all_docs&seq_interval=100&since=2868-g1AAAAJ7eJyd0EsKwjAQBuDRCrr1BHqENImtWdlLuBSbhxBKahfqWvEiehO9id6kpkmlmyLEzQzMMB8_YwBgoiMFU1mdpFYiM5XkRleHo7GrIQcxq-u60JEAGOSlnY13C4liRvpufkhibqtYddjaYSSlhKYsFMsabNthxmEMJzuMgpPlDXbusI1PFuMUcRyI7Ue2wsU2691aUDoQJ0xhHprOg3cPPlpQOVAqJGIR-jsPPj34asGrA5EkLFHLv8C3B78_LH1CiShFvO-0-AC8HsI0&limit=100 HTTP/2.0" 200 575 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:08:29 +0200] "GET /files/metadata?Path=%2FPhotos%2FSauvegard%C3%A9es%20depuis%20mon%20mobile%2F20180831_165157.jpg HTTP/2.0" 404 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - user [02/Oct/2018:17:08:29 +0200] "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0" 304 291 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:08:35 +0200] "GET /data/ HTTP/2.0" 200 284 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:08:36 +0200] "GET /realtime/ HTTP/1.1" 101 396 "-" "Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36 io.cozy.drive.mobile-1.10.0"
00.111.22.333 - - [02/Oct/2018:17:08:41 +0200] "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180831_165157.jpg&Type=file&Tags=library&Executable=false HTTP/2.0" 499 0 "-" "Dalvik/2.1.0 (Linux; U; Android 5.0.2; LG-D802 Build/LRX22G)"

Et du côté des erreurs, on trouve des connections refusées :

2018/10/02 17:07:28 [error] 28902#28902: *707853 connect() failed (111: Connection refused) while connecting to upstream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "GET /auth/register/f8cca25a73f6f702bf331f57ebadfc26 HTTP/2.0", upstream: "http://[::1]:8080/auth/register/f8cca25a73f6f702bf331f57ebadfc26", host: "mon.cozy.chez.moi"
2018/10/02 17:07:43 [error] 28902#28902: *707853 connect() failed (111: Connection refused) while connecting to upstream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "GET /data/ HTTP/2.0", upstream: "http://[::1]:8080/data/", host: "mon.cozy.chez.moi"
2018/10/02 17:07:58 [error] 28902#28902: *707853 connect() failed (111: Connection refused) while connecting to upstream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "GET /data/ HTTP/2.0", upstream: "http://[::1]:8080/data/", host: "mon.cozy.chez.moi"
2018/10/02 17:08:14 [error] 28902#28902: *707853 connect() failed (111: Connection refused) while connecting to upstream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0", upstream: "http://[::1]:8080/data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D?", host: "mon.cozy.chez.moi"
2018/10/02 17:08:29 [error] 28902#28902: *707853 connect() failed (111: Connection refused) while connecting to upstream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "GET /data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D? HTTP/2.0", upstream: "http://[::1]:8080/data/io.cozy.files/_local/q2Cz_krylOSYJT374lk_hw%3D%3D?", host: "mon.cozy.chez.moi"

A la lecture de mes logs, je me rends compte que ça ressemble furieusement à ce problème là : Problème de synchronisation photos après changement de téléphone. Mon sujet fait peut-être doublon du coup !


#5

Non j’ai vu de travers, je m’attendais à des soucis d’expiration du jeton d’autorisation de l’application, et on tombe sur des timeout : 499 signifie que le client a fermé la connexion, lassé d’attendre la réponse du serveur. Reste à comprendre ce qui déconne du côté du serveur. As-tu des erreurs dans les journaux de cozy-stack (gozy.log) ?

(c’est normal les adresses du serveur en IPv6 sur du http ?)


#6

Aucune idée pour les IPv6. Par contre j’ai tenté un truc en commentant une ligne de mon /etc/hosts :

# The following lines are desirable for IPv6 capable hosts
#::1	localhost	ip6-localhost ip6-loopback

Après un reload de nginx, je n’ai plus les erreurs 111: Connection refused dans le log d’erreur de nginx, mais j’ai toujours les timeout 499 dans les logs d’accès…

Et de quel fichier de log parles-tu exactement à propos des journaux de cozy-stack ? C’est autre chose que ce que j’ai posté dans mon premier message ?


#7

A la réflexion, on voit la requête POST d’upload de la photo dans le log nginx (certes avec un timeout), mais on ne voit pas cette même requête POST dans le log de cozy. Du coup ça voudrait dire qu’elle se perd entre temps ?


#8

Oups mon mauvais : oui, je pense que les journaux de cozy-stack sont bien ce que tu as posté au début. Et ce que tu trouves est intéressant, on dirait que la requête se perd entre le proxy et cozy-stack, ce qui expliquerait que le client ne reçoive jamais de réponse et finisse par couper la connexion.

@aeris ou @nono est-ce que ça vous évoque quelque chose ?


#9

Là comme ça rien du tout :thinking:


#10

Moi, ça me fait plutôt penser à un bug du client mobile qui fermerait la connexion HTTP avant d’avoir envoyer en entier la photo. Mais la version de cozy-drive utilisée est bien la dernière (1.10.0) et je n’ai pas connaissance de ce genre de bugs avec cette version.


#11

Cela dit, sur notre infrastructure, je ne vois pas de 499 durant l’envoi de fichiers par l’application mobile. Ça me semble donc plus être un souci spécifique à la configuration en auto-hébergement.

Les connexions entre Nginx et cozy-stack étant en clair, il faudrait regarder ce qui se passe au niveau des flux réseau.


#12

De mon côté sur la version mobile, l’appli détecte une vingtaine de photos, elle semblent charger une à une (relativement long même sur le réseau en local). Sauf que rien n’apparait.

J’ai également des erreurs 111 sur nginx (et de l’IPv6).


#13

L’erreur 111, ça serait plutôt un problème de connexion entre nginx et cozy-stack. Est-ce que tu pourrais mettre les lignes de logs en entier pour voir ce qui coince ?


#14

Merci à tous pour vos nombreuses réponses !

Ça je l’ai réglé en bidouillant le fichier /etc/hosts, cf. mon message un peu plus haut.

J’ai tenté d’avoir plus de logs en changeant le niveau de de logs de nginx, et j’obtiens des trucs intéressants :

2018/10/03 14:01:34 [info] 12724#12724: *711044 client canceled stream 3, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180621_165448.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"
2018/10/03 14:01:34 [info] 12724#12724: *711044 client prematurely closed stream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180621_165448.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"
2018/10/03 14:01:45 [info] 12724#12724: *711047 client canceled stream 3, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180824_192103.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"
2018/10/03 14:01:45 [info] 12724#12724: *711047 client prematurely closed stream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180824_192103.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"
2018/10/03 14:01:56 [info] 12724#12724: *711054 client canceled stream 3, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180824_192111.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"
2018/10/03 14:01:56 [info] 12724#12724: *711054 client prematurely closed stream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180824_192111.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"
2018/10/03 14:02:08 [info] 12724#12724: *711065 client canceled stream 3, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180831_165140.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"
2018/10/03 14:02:08 [info] 12724#12724: *711065 client prematurely closed stream, client: 00.111.22.333, server: *.mon.cozy.chez.moi, request: "POST /files/e0fa5d21560802d3b619aaa494044f93?Name=20180831_165140.jpg&Type=file&Tags=library&Executable=false HTTP/2.0", host: "mon.cozy.chez.moi"

Ici, qui est le client ? L’appli Cozy Drive ? Du coup je ne comprends pas trop pourquoi vous ne voyez pas ce genre d’erreurs sur vos serveurs de prod :thinking: Ou alors c’est lié à une configuration/limitation d’OVH qui coupe sauvagement des connexions trop longues ?

Et sinon :

Avec plaisir, mais comment je fais ? J’ai cru voir que c’était possible avec socat, mais je n’ai pas réussi à le mettre en œuvre…


#15

Le mystère s’épaissit :-S

Pour voir les flux réseau, tu peux peut-être essayer avec tcpflow, quelque chose comme tcpflow -C -i lo port 8080 (en adaptant l’interface).


#16

J’ai tenté de voir les flux vers le port 5984 et donc cozy-stack, avec tcpflow -C -i lo port 5984, et j’ai quelques erreurs un peu étranges dans les logs :

GET /_node/couchdb@127.0.0.1/_stats HTTP/1.1
Host: 127.0.0.1:5984
Accept-Encoding: identity
connection: keep-alive


HTTP/1.1 401 Unauthorized
Cache-Control: must-revalidate
Content-Length: 64
Content-Type: application/json
Date: Wed, 03 Oct 2018 19:57:40 GMT
Server: CouchDB/2.2.0 (Erlang OTP/19)
X-Couch-Request-ID: 0866bbf786
X-CouchDB-Body-Time: 0

{"error":"unauthorized","reason":"You are not a server admin."}

GET /_active_tasks HTTP/1.1
Host: 127.0.0.1:5984
Accept-Encoding: identity
connection: keep-alive


HTTP/1.1 200 OK
Cache-Control: must-revalidate
Content-Length: 3
Content-Type: application/json
Date: Wed, 03 Oct 2018 19:57:40 GMT
Server: CouchDB/2.2.0 (Erlang OTP/19)
X-Couch-Request-ID: 26e850b7bb
X-CouchDB-Body-Time: 0

[]

GET /_node/couchdb@127.0.0.1/_system HTTP/1.1
Host: 127.0.0.1:5984
Accept-Encoding: identity
connection: keep-alive


HTTP/1.1 401 Unauthorized
Cache-Control: must-revalidate
Content-Length: 64
Content-Type: application/json
Date: Wed, 03 Oct 2018 19:57:40 GMT
Server: CouchDB/2.2.0 (Erlang OTP/19)
X-Couch-Request-ID: d774d37b2e
X-CouchDB-Body-Time: 0

{"error":"unauthorized","reason":"You are not a server admin."}

Mais je n’arrive pas à savoir si c’est lié à l’activité de l’appli ou d’autre chose qui se sert de Cozy. D’ailleurs je ne vois pas les requêtes POST qui correspondent à l’envoi de la photo dans les logs. Bref, je nage un peu là :slight_smile:


#17

Le port 5984 est celui utilisé par CouchDB, tu regardes donc les échanges avec la base de données. Je ne sais pas d’où proviennent les requêtes que tu vois, mais je ne penses pas qu’il faille s‘inquiéter.

Ton souci semble plutôt être entre Nginx et la stack, il faudrait donc que tu écoutes ce qui s’échange sur le port 8080, celui sur lequel écoute la stack.


#18

Désolé, j’ai rédigé ça un peu vite hier soir. En fait j’ai regardé ce qui se passait avec CouchDB parce que je ne voyais rien de bizarre sur le port 8080 avec la stack.

Les deux seules choses étranges que je vois avec tcpflow -C -i lo port 8080 sont :

  • L’absence de requêtes POST pour l’envoi de la photo dans le log, comme si elles n’étaient jamais transmises à la stack
  • Aléatoirement, la présence de caractères non-décodables (genre G<;3qe#.w:~) suivis de {"event":"error","payload":{"status":"405 Method Not Allowed","code":"method not allowed","title":"The ping method is not supported","source":{"method":"ping","payload":{"type":"","id":""}}}}

Pour moi le problème semble donc être en amont de nginx. Seulement ça ne peut pas être à cause de l’app, sinon ça serait aussi présent sur vos serveurs de prod. Je penche donc pour une config nginx à tweaker, ou un machin placé devant ma machine par OVH qui produit ce comportement.

Je crois que je vais devoir creuser les internets autour de l’erreur client prematurely closed stream de nginx !


#19

Ok, donc Nginx ne passe même pas ces requêtes à la stack :-S

Tu pourrais essayer de comparer ce qui se passe entre un envoi de photo à la main, via l’appli Web, et un envoi via l’application mobile. A priori c’est la même requête POST, comparer les deux pourrait donner des pistes.


#20

De mon côté, lorsque j’upload une photo depuis l’application mobile, l’ajout est quasi instantané.

Par contre, lorsque j’utilise la fonction de synchronisation automatique, le compteur de chargement des photos est très lent (ce qui me fait penser à un timeout quelque part) et évidemment rien ne se charge.

Dès que j’ai un peu de temps je pousserai également des logs détaillés de nginx et cozy-stack.