Skip to content
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

Configuration périodicité des synchronisations #37

Open
amandine-sahl opened this issue May 4, 2021 · 8 comments
Open

Configuration périodicité des synchronisations #37

amandine-sahl opened this issue May 4, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@amandine-sahl
Copy link

Nous avons les paramètres suivants dans settings.json

{
  [...]
  "sync_periodicity_data_essential": "15m",
  "sync_periodicity_data":"30m"
}

Et il y a quelque chose qui m'échappe. La sychronisation a été réalisée à 9h58. Suite à cette synchronisation j'ai éteint l'application puis rallumé 16min après.
Le rond indiquant le statut de la synchronisation est gris, mais rien ne se lance automatiquement.
image

@amandine-sahl
Copy link
Author

Pour faire suite à ce message. Je pense que la synchronisation ne se lance pas automatiquement uniquement au chargement de l'application
Les paramètres de settings.json sont les suivants :

{
  [...]
  "sync_periodicity_data_essential": "15m",
  "sync_periodicity_data":"7j"
}

J'ai démarré l'application mais sans avoir de connexion "internet" : Données mobile désactivé.

J'ai la trace suivante

05-07 09:48:03.392 32153  5450 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/gn_commons/t_mobile_apps
05-07 09:48:03.409 32153  5450 D OkHttp  : <-- HTTP FAILED: java.net.UnknownHostException: Unable to resolve host "demo.cevennes-parcnational.net": No address associated with hostname

J'active les données mobile => rien ne se passe

J'éteins l'application puis je la rallume avec la trace suivante

05-07 09:48:42.340  6626  6668 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/gn_commons/t_mobile_apps
05-07 09:48:42.925  6626  6668 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/gn_commons/t_mobile_apps (584ms, unknown-length body

Et là rien de plus ne se passe (alors que la période de synchronisation est dépassée)

J'ai forcé la synchronisation via "synchroniser les données locales" ce qui n'a pas posé de problème.

Puis 13min après le début de la synchronisation une nouvelle synchro c'est lancée en incluant l'intégralité des données (pas uniquement les données dites "essentielles"

05-07 09:48:42.925  6626  6668 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/gn_commons/t_mobile_apps (584ms, unknown-length body)
05-07 09:53:02.745  6626  6666 I fr.geonature.sync.sync.worker.DataSyncWorker: starting local data synchronization from 'https://demo.cevennes-parcnational.net/geonature' (with additional data: true)...
05-07 09:53:02.841  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/meta/datasets
05-07 09:53:03.415  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/meta/datasets (573ms, unknown-length body)
05-07 09:53:04.059  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/users/menu/1
05-07 09:53:04.175  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/users/menu/1 (115ms, unknown-length body)
05-07 09:53:04.460  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/taxhub/api/taxref/regnewithgroupe2
05-07 09:53:05.541  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/taxhub/api/taxref/regnewithgroupe2 (1081ms, unknown-length body)
05-07 09:53:05.727  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/nomenclatures/nomenclatures/taxonomy
05-07 09:53:05.861  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/nomenclatures/nomenclatures/taxonomy (133ms, unknown-length body)
05-07 09:53:06.221  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/occtax/defaultNomenclatures
05-07 09:53:06.308  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/occtax/defaultNomenclatures (86ms, unknown-length body)
05-07 09:53:06.751  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=0
05-07 09:53:07.353  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=0 (601ms, unknown-length body)
05-07 09:53:23.368  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=10000
05-07 09:53:23.800  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=10000 (431ms, unknown-length body)
05-07 09:53:27.147  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=0
05-07 09:53:28.505  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=0 (1357ms, unknown-length body)
05-07 09:53:33.213  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=10000
05-07 09:53:34.227  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=10000 (1013ms, unknown-length body)
05-07 09:53:38.834  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=20000
05-07 09:53:39.782  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=20000 (948ms, unknown-length body)
05-07 09:53:44.411  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=30000
05-07 09:53:45.383  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=30000 (971ms, unknown-length body)
05-07 09:53:49.904  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=40000
05-07 09:53:50.949  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=40000 (1044ms, unknown-length body)
05-07 09:53:55.446  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=50000
05-07 09:53:56.423  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=50000 (975ms, unknown-length body)
05-07 09:54:00.866  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=60000
05-07 09:54:01.932  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=60000 (1066ms, unknown-length body)
05-07 09:54:06.307  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=70000
05-07 09:54:07.379  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=70000 (1072ms, unknown-length body)
05-07 09:54:12.004  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=80000
05-07 09:54:13.036  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=80000 (1031ms, unknown-length body)
05-07 09:54:17.949  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=90000
05-07 09:54:19.265  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=90000 (1315ms, unknown-length body)
05-07 09:54:23.702  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=100000
05-07 09:54:24.781  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=100000 (1078ms, unknown-length body)
05-07 09:54:29.337  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=110000
05-07 09:54:30.391  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=110000 (1053ms, unknown-length body)
05-07 09:54:35.033  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=120000
05-07 09:54:36.067  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=120000 (1032ms, unknown-length body)
05-07 09:54:40.641  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=130000
05-07 09:54:41.667  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=130000 (1025ms, unknown-length body)
05-07 09:54:46.127  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=140000
05-07 09:54:47.190  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=140000 (1062ms, unknown-length body)
05-07 09:54:51.904  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=150000
05-07 09:54:53.036  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=150000 (1131ms, unknown-length body)
05-07 09:54:57.691  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=160000
05-07 09:54:58.770  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=160000 (1078ms, unknown-length body)
05-07 09:55:03.378  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=170000
05-07 09:55:04.495  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=170000 (1117ms, unknown-length body)
05-07 09:55:09.168  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=180000
05-07 09:55:10.299  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=180000 (1130ms, unknown-length body)
05-07 09:55:14.961  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=190000
05-07 09:55:16.090  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=190000 (1128ms, unknown-length body)
05-07 09:55:20.808  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=200000
05-07 09:55:21.913  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=200000 (1103ms, unknown-length body)
05-07 09:55:26.572  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=210000
05-07 09:55:27.712  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=210000 (1139ms, unknown-length body)
05-07 09:55:32.521  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=220000
05-07 09:55:33.630  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=220000 (1108ms, unknown-length body)
05-07 09:55:38.332  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=230000
05-07 09:55:39.463  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=230000 (1130ms, unknown-length body)
05-07 09:55:44.051  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=240000
05-07 09:55:45.155  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=240000 (1103ms, unknown-length body)
05-07 09:55:49.889  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=250000
05-07 09:55:51.078  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=250000 (1188ms, unknown-length body)
05-07 09:55:55.833  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=260000
05-07 09:55:56.995  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=260000 (1161ms, unknown-length body)
05-07 09:56:01.841  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=270000
05-07 09:56:03.075  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=270000 (1233ms, unknown-length body)
05-07 09:56:07.940  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=280000
05-07 09:56:09.162  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=280000 (1221ms, unknown-length body)
05-07 09:56:13.893  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=290000
05-07 09:56:15.073  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=290000 (1179ms, unknown-length body)
05-07 09:56:19.928  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=300000
05-07 09:56:21.104  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=300000 (1175ms, unknown-length body)
05-07 09:56:25.947  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=310000
05-07 09:56:27.195  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=310000 (1247ms, unknown-length body)
05-07 09:56:32.055  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=320000
05-07 09:56:33.302  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=320000 (1246ms, unknown-length body)
05-07 09:56:38.183  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=330000
05-07 09:56:39.462  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=330000 (1279ms, unknown-length body)
05-07 09:56:44.307  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=340000
05-07 09:56:45.554  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=340000 (1246ms, unknown-length body)
05-07 09:56:50.601  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=350000
05-07 09:56:52.023  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=350000 (1422ms, unknown-length body)
05-07 09:56:56.748  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=360000
05-07 09:56:58.055  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=360000 (1307ms, unknown-length body)
05-07 09:57:02.951  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=370000
05-07 09:57:04.426  6626  9867 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=370000 (1474ms, unknown-length body)
05-07 09:57:08.136  6626  9867 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=380000
05-07 09:57:09.228  6626  9867 D OkHttp  : <-- 404 NOT FOUND https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=380000 (1091ms, 24-byte body)
05-07 10:06:55.492  6626  6664 I fr.geonature.sync.sync.worker.DataSyncWorker: starting local data synchronization from 'https://demo.cevennes-parcnational.net/geonature' (with additional data: true)...
05-07 10:06:55.738  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/meta/datasets
05-07 10:06:56.333  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/meta/datasets (595ms, unknown-length body)
05-07 10:06:56.573  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/users/menu/1
05-07 10:06:56.678  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/users/menu/1 (104ms, unknown-length body)
05-07 10:06:56.867  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/taxhub/api/taxref/regnewithgroupe2
05-07 10:06:57.384  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/taxhub/api/taxref/regnewithgroupe2 (516ms, unknown-length body)
05-07 10:06:57.619  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/nomenclatures/nomenclatures/taxonomy
05-07 10:06:57.751  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/nomenclatures/nomenclatures/taxonomy (131ms, unknown-length body)
05-07 10:06:58.067  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/occtax/defaultNomenclatures
05-07 10:06:58.133  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/occtax/defaultNomenclatures (65ms, unknown-length body)
05-07 10:06:58.491  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=0
05-07 10:06:58.787  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=0 (296ms, unknown-length body)
05-07 10:07:14.215  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=10000
05-07 10:07:14.590  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/taxhub/api/taxref/allnamebylist/50003?limit=10000&offset=10000 (374ms, unknown-length body)
05-07 10:07:21.914  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=0
05-07 10:07:23.064  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=0 (1149ms, unknown-length body)
05-07 10:07:27.382  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=10000
05-07 10:07:28.340  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=10000 (958ms, unknown-length body)
05-07 10:07:32.572  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=20000
05-07 10:07:33.503  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=20000 (930ms, unknown-length body)
05-07 10:07:37.859  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=30000
05-07 10:07:38.846  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=30000 (986ms, unknown-length body)
05-07 10:07:43.161  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=40000
05-07 10:07:44.143  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=40000 (981ms, unknown-length body)
05-07 10:07:48.483  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=50000
05-07 10:07:49.502  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=50000 (1018ms, unknown-length body)
05-07 10:07:53.834  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=60000
05-07 10:07:54.824  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=60000 (989ms, unknown-length body)
05-07 10:07:59.053  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=70000
05-07 10:08:00.063  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=70000 (1009ms, unknown-length body)
05-07 10:08:04.495  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=80000
05-07 10:08:05.498  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=80000 (1002ms, unknown-length body)
05-07 10:08:10.059  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=90000
05-07 10:08:11.023  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=90000 (963ms, unknown-length body)
05-07 10:08:15.461  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=100000
05-07 10:08:16.543  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=100000 (1081ms, unknown-length body)
05-07 10:08:20.974  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=110000
05-07 10:08:22.063  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=110000 (1088ms, unknown-length body)
05-07 10:08:26.564  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=120000
05-07 10:08:27.623  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=120000 (1059ms, unknown-length body)
05-07 10:08:32.072  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=130000
05-07 10:08:33.114  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=130000 (1041ms, unknown-length body)
05-07 10:08:37.506  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=140000
05-07 10:08:38.543  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=140000 (1036ms, unknown-length body)
05-07 10:08:43.002  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=150000
05-07 10:08:44.024  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=150000 (1021ms, unknown-length body)
05-07 10:08:48.733  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=160000
05-07 10:08:49.823  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=160000 (1089ms, unknown-length body)
05-07 10:08:54.319  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=170000
05-07 10:08:55.383  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=170000 (1063ms, unknown-length body)
05-07 10:08:59.991  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=180000
05-07 10:09:01.063  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=180000 (1071ms, unknown-length body)
05-07 10:09:05.670  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=190000
05-07 10:09:06.742  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=190000 (1071ms, unknown-length body)
05-07 10:09:11.332  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=200000
05-07 10:09:12.423  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=200000 (1090ms, unknown-length body)
05-07 10:09:16.938  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=210000
05-07 10:09:18.023  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=210000 (1084ms, unknown-length body)
05-07 10:09:22.989  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=220000
05-07 10:09:24.303  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=220000 (1313ms, unknown-length body)
05-07 10:09:29.009  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=230000
05-07 10:09:30.142  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=230000 (1132ms, unknown-length body)
05-07 10:09:34.630  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=240000
05-07 10:09:35.743  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=240000 (1112ms, unknown-length body)
05-07 10:09:40.290  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=250000
05-07 10:09:41.422  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=250000 (1131ms, unknown-length body)
05-07 10:09:46.093  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=260000
05-07 10:09:47.223  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=260000 (1129ms, unknown-length body)
05-07 10:09:52.033  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=270000
05-07 10:09:53.183  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=270000 (1149ms, unknown-length body)
05-07 10:09:58.001  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=280000
05-07 10:09:59.183  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=280000 (1180ms, unknown-length body)
05-07 10:10:03.812  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=290000
05-07 10:10:05.013  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=290000 (1197ms, unknown-length body)
05-07 10:10:09.677  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=300000
05-07 10:10:10.822  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=300000 (1143ms, unknown-length body)
05-07 10:10:15.691  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=310000
05-07 10:10:16.942  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=310000 (1250ms, unknown-length body)
05-07 10:10:21.724  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=320000
05-07 10:10:22.903  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=320000 (1179ms, unknown-length body)
05-07 10:10:27.889  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=330000
05-07 10:10:29.343  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=330000 (1453ms, unknown-length body)
05-07 10:10:34.117  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=340000
05-07 10:10:35.383  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=340000 (1265ms, unknown-length body)
05-07 10:10:40.188  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=350000
05-07 10:10:41.383  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=350000 (1194ms, unknown-length body)
05-07 10:10:46.017  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=360000
05-07 10:10:47.263  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=360000 (1245ms, unknown-length body)
05-07 10:10:52.108  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=370000
05-07 10:10:53.262  6626 10477 D OkHttp  : <-- 200 OK https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=370000 (1154ms, unknown-length body)
05-07 10:10:57.138  6626 10477 D OkHttp  : --> GET https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=380000
05-07 10:10:58.220  6626 10477 D OkHttp  : <-- 404 NOT FOUND https://demo.cevennes-parcnational.net/geonature/api/synthese/color_taxon?limit=10000&offset=380000 (1081ms, 24-byte body)



@sgrimault sgrimault added the bug Something isn't working label May 10, 2021
@sgrimault
Copy link
Collaborator

Je n'arrive pas à reproduire de mon côté. Après, dans ton cas, la synchronisation peut se chevaucher (toutes les 15min pour l'une, toutes les 30min pour la seconde) : une fois sur deux (toutes les 30min), seulement une synchronisation va s’exécuter (et pas l'autre). La seconde sera marquée en échec pour une prochaine tentative dont la périodicité sera augmentée de manière exponentielle.

@amandine-sahl
Copy link
Author

Le paramètre sync_periodicity_data est paramétré à 7j, donc je ne pense pas avoir de problème de chevauchement.

As tu testé sur notre serveur de démo?

@sgrimault
Copy link
Collaborator

Oui, je vais refaire d'autres tests directement sur votre instance et voir si il y aurait des différences de comportements.

sgrimault added a commit that referenced this issue May 24, 2021
…ted worker, change backoff criteria for periodic synchronization worker
@amandine-sahl
Copy link
Author

C'est bon, en plus comme une grosse patate j'avais mis "sync_periodicity_data":"7j" et non pas "sync_periodicity_data":"7d"

@TheoLechemia
Copy link
Member

Je réouvre ce ticket :
j'ai enlevé les paramètre sync_periodicity_data_essential et sync_periodicity_data afin qu'il n'y ai pas de synchronisation automatique des données. L'application semble toujours essayer de synchroniser en tâche de fond, et lorsque j'ouvre l'application, on me demande de m'authentifier.
Est-ce que je ne fais pas les choses correctement ?

@TheoLechemia TheoLechemia reopened this Jun 20, 2022
@sgrimault
Copy link
Collaborator

À tester de nouveau sur la version 2.6.x ?

@camillemonchicourt
Copy link
Member

Sachant que depuis la 2.6 où la synchro descendante des données venant de GeoNature est indépendante de l'envoi des relevés vers GeoNature, il est souhaitable et nécessaire qu'une synchro des données venant de GeoNature soit lancée automatiquement et régulièrement.

Donc il n'est plus pertinent de vouloir désactiver la synchro automatique périodique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants