isRetryable has false-positives
I maintainer di solito rispondono entro 1 giorno
@utkrishtsahu ci sta già lavorando.
Dal 28/5/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Checklist
- The issue can be reproduced in the auth0_flutter sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
In the app we have implemented a check for isRetryable, however users report more often logouts.
A few examples of false positives in production:
iOS
AuthenticationCredentialsTokenRenewFailedException, code: RENEW_FAILED canRetry: false message: The credentials renewal failed. CAUSE: Unable to complete the operation. CAUSE: Error Domain=NSURLErrorDomain Code=-1200. (we've noticed different code value, 1001-1005, 1009 and so on)
Android
AuthenticationCredentialsUnknownException, code: An error occurred while processing the request. canRetry: false message: An error occurred while processing the request. details: {_isRetryable: false, cause: e5.b: Something went wrong, causeStackTrace: e5.b: Something went wrong at e5.a$a$a.d(Unknown Source:55) at e5.a$a$a.b(Unknown Source:0) at com.auth0.android.request.internal.e.e(Unknown Source:176) at f5.q.s(Unknown Source:291) at f5.q.k(Unknown Source:0) at f5.n.run(Unknown Source:14) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:[1154-1156]) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:[651-652]) at java.lang.Thread.run(Thread.java:[1119-1564]) Caused by: d5.b: Something went wrong at e5.a$a$a.d(Unknown Source:52) ... 8 more Caused by: javax.net.ssl.SSLHandshakeException:
Reproduction
- Put the phone under bad network conditions (VPN that blocks server)
- Try to refresh the token
Expected: isRetryable is true
Actual: isRetryable is false
Additional context
During inspection I've noticed that isRetryable fields falls back to false if not found in the details.
If we can't guarantee correctness of the data from the platform, it's probably wise to make the field nullable
auth0_flutter version
2.1.0
Flutter version
3.44.0
Platform
Android, iOS
Platform version(s)
No response
- Lingua principale
- Dart
- Stelle
- 86
- Fork
- 62
- Merge medio
- 9h 58m
- PR unite (30g)
- 22
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di auth0/auth0-flutter
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
auth0/auth0-flutter#991 ·
I maintainer di solito rispondono entro 1 giorno
-
feature request
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
auth0/auth0-flutter#958 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
android feature request ios
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
auth0/auth0-flutter#642 · 9 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di auth0/auth0-flutter
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
firebase/flutterfire#18918 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
customerio/customerio-flutter#441 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
carp-dk/flutter-plugins#1312 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
newrelic/newrelic-flutter-agent#256 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
jhomlala/betterplayer#1646 ·
I maintainer di solito rispondono entro 1 giorno