【发布时间】:2019-01-05 03:32:53
【问题描述】:
我正在使用 Firebase 在 Android 上下载文件。这是我的代码:
try {
//.. Try to download file from Firebase
} catch(StorageException e) {
if(e.getErrorCode() == StorageException.ERROR_RETRY_LIMIT_EXCEEDED) {
//Ignore! Exception has occurred due to no Internet availability
} else {
//Other genuine failure, log it
Crashlytics.logException(e);
}
}
现在,此代码不会发送“已超出操作重试限制”。例外。但是,在 Crashlytics 中,我仍然可以看到此异常被报告。
Non-fatal Exception: com.google.firebase.storage.StorageException
The operation retry limit has been exceeded.
Caused by javax.net.ssl.SSLException
Read error: ssl=0x7188e1fe08: I/O error during system call, Software caused connection abort
这怎么可能?我错过了什么吗?
Firebase 版本:16.0.1
【问题讨论】:
标签: java android firebase firebase-storage crashlytics