获取网络请求:使用Firebase存储时发送网络请求帖子时出错
问题是什么时候获取网络请求:使用Firebase存储时发送网络请求帖子时出错,firebase,android-studio,firebase-realtime-database,firebase-authentication,firebase-storage,Firebase,Android Studio,Firebase Realtime Database,Firebase Authentication,Firebase Storage,问题是什么时候 I try to upload an image to firebase storage sometimes it successfully uploads the image but most of the time it keep saying *****/com.example.firebasestoragedemo W/NetworkRequest: error sending network request POST https://firebasestorag
I try to upload an image to firebase storage sometimes it successfully uploads the image but most of the time it keep saying
*****/com.example.firebasestoragedemo W/NetworkRequest: error sending network request POST https://firebasestorage.googleapis.com/*myproject_name/some_more_extension.
when I enter to this link I found
{
"error": {
"code": 403,
"message": "Permission denied. Could not perform this operation"
}
}
but I have enabled signInWithEmailAndPassword in my onStart(){...} function and my security rule is here
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write : if request.auth != null;
}
}
}*****
我有两个例外
java.net.ConnectException:未能连接到firebasestorage.googleapis.com/。。。。
javax.net.ssl.SSLHandshakeException:ssl握手中止:ssl=0xe096ebb8:系统调用期间发生I/O错误,对等方重置连接
我的代码确实是最新的,否则它有时无法工作。我想问题出在其他地方,很可能是在Firebase
请帮帮我。如果你能帮助我,我将不胜荣幸。
感谢您在我尝试通过移动数据访问“Firebase存储”时遇到同样的问题。(孟加拉国)。然后我通过宽带互联网连接进行了尝试,一切正常。当我试图通过移动数据访问“Firebase存储”时,也遇到了同样的问题。(孟加拉国)。然后我通过宽带互联网连接尝试了一下,一切都很好