Bug #21783
redéscendre le timeout à 3s mais permettre 3 essaies
100%
Description
Si 3 erreurs consécutives, alors afficher une page d'erreur permettant à l'utilisateur de retenter.
Fichiers
Révisions associées
retry HTTP requests 3 times (fixes #21783)
Retry is applied to access token request and user info requests (through
OAuth2Session). There is a small exponential backoff of 0.5 and 1s.
Also decrease log level of message for failure of retrieval of the
access token or the user info to the level WARNING, that's never been a
problem for the user, as he was correctly redirected to its origin
(usually and IdP endpoint).
Historique
Mis à jour par Benjamin Dauvergne il y a environ 6 ans
- Fichier 0002-retry-HTTP-requests-3-times-fixes-21783.patch 0002-retry-HTTP-requests-3-times-fixes-21783.patch ajouté
- Fichier 0001-tox.ini-remove-python-catchlog-which-is-obsolete.patch 0001-tox.ini-remove-python-catchlog-which-is-obsolete.patch ajouté
J'ai aussi couvert la récupération des user_info, au passage je corrige un
warning de pytest à propos de pytest-catchlog.
Mis à jour par Benjamin Dauvergne il y a environ 6 ans
- Fichier 0002-retry-HTTP-requests-3-times-fixes-21783.patch 0002-retry-HTTP-requests-3-times-fixes-21783.patch ajouté
- Fichier 0001-tox.ini-remove-python-catchlog-which-is-obsolete.patch 0001-tox.ini-remove-python-catchlog-which-is-obsolete.patch ajouté
En fait on jamais vraiment eu de souci ici, l'utilisateur pouvait déjà réessayer tranquillement de s'authentifier.
Mis à jour par Benjamin Dauvergne il y a environ 6 ans
- Statut changé de En cours à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2-auth-fc|c701e6104358c0307c2fd18895c4952cc55da092.
Mis à jour par Benjamin Dauvergne il y a environ 6 ans
- Statut changé de Résolu (à déployer) à Fermé
retry HTTP requests 3 times (fixes #21783)
Retry is applied to access token request and user info requests (through
OAuth2Session). There is a small exponential backoff of 0.5 and 1s.
Also decrease log level of message for failure of retrieval of the
access token or the user info to the level WARNING, that's never been a
problem for the user, as he was correctly redirected to its origin
(usually and IdP endpoint).