Projet

Général

Profil

Bug #21783

redéscendre le timeout à 3s mais permettre 3 essaies

Ajouté par Benjamin Dauvergne il y a environ 6 ans. Mis à jour il y a environ 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
Début:
11 février 2018
Echéance:
% réalisé:

100%

Temps estimé:
Hors marché:
Non
Patch proposed:
Non
Planning:

Description

Si 3 erreurs consécutives, alors afficher une page d'erreur permettant à l'utilisateur de retenter.


Fichiers

Révisions associées

Révision c701e610 (diff)
Ajouté par Benjamin Dauvergne il y a environ 6 ans

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).

Révision a8cc9cc6 (diff)
Ajouté par Benjamin Dauvergne il y a presque 5 ans

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

#1

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

J'ai aussi couvert la récupération des user_info, au passage je corrige un
warning de pytest à propos de pytest-catchlog.

#2

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

En fait on jamais vraiment eu de souci ici, l'utilisateur pouvait déjà réessayer tranquillement de s'authentifier.

#3

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

  • Statut changé de Nouveau à En cours
#4

Mis à jour par Josué Kouka il y a environ 6 ans

Ack

#5

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
#6

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

  • Version cible mis à 0.10
#7

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF