Firebase Storage Can't Connect, Retry again

后端 未结 1 1150
青春惊慌失措
青春惊慌失措 2020-12-20 08:54

I imported an old project into Firebase when I joined.

On the https://console.firebase.google.com/project/project-name/overview page, when I try to grab the code sni

相关标签:
1条回答
  • 2020-12-20 09:23

    Who's this answer for?

    If you imported your project into Firebase and having the above issue specifically with your Firebase Storage.

    After back and forth with Firebase Support, if you're facing similar problems as mine, here's the approach you can try. I'm trying to replay the conversation and steps given by the Firebase Support

    • Make sure that you are the owner of the project you are accessing.
    • If you have multiple Google accounts signed in, Firebase Database can't seem to connect to the server. Sign into incognito mode
    • Check in your API Manager if the following are enabled
    • a) App Engine admin API
    • b) Firebase Rules API
    • c) Google Cloud Storage
    • Check if you have an App Engine app is enabled https://console.developers.google.com/project/_/appengine
    • Go to Firebase Storage AppManager tab https://console.cloud.google.com/storage/
    • a) Add the service account firebase-storage@system.gserviceaccount.com as an owner on the storage bucket: .appspot.com.
    • b) Additionally, you need to edit the "object default permissions" to allow for similar access.

    Now, if you have all the above in place, next step is this:

    Add new Server Credentials

    In credentials page, ( https://console.developers.google.com/apis/credentials ),

    • click Create credentials, select API key
    • Select server key
    • Put name as "Server key (auto created by Google Service)"

    At the time of writing this, creating the Server Key was what got it to work.

    A few words:

    The issue of not able to use Firebase properly when two accounts are logged in the same browser doesn't plague me anymore. Logged into two accounts, and both Firebase projects are up and running without any issue.

    0 讨论(0)
提交回复
热议问题