All Questions
Tagged with firebase-tools firebase-storage
43 questions
1
vote
1
answer
43
views
Firebase Cloud Function - Can't find the storage bucket region
Trying to deploy my firebase cloud function and getting the following error:
Error: Can't find the storage bucket region
The function I'm trying to deploy looks like:
import {initializeApp} from &...
0
votes
0
answers
22
views
Firebase storage unit tests: Timeout when trying to upload files using emulator
When running the below test via npm test, I get the following output:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure ...
0
votes
0
answers
56
views
firebase/storage-resize-images fails to deploy after installation
After installing firebase/[email protected] via command line as:
firebase ext:install firebase/[email protected]
After this, I go through all the steps. As part of the logs ...
2
votes
1
answer
58
views
How can I avoid a read error from the Cloud Storage emulator?
I have closed access for some rules, to authorise only Firebase Admin SDK from a Cloud Functions, to read or write a file in Cloud Storage.
storage.rules content:
rules_version = '2';
service ...
0
votes
2
answers
267
views
Can't init firebase cloud storage due to cloud resource location
I’m using Firebase emulators to develop and test Cloud Functions locally, and one of my use cases involves uploading a file to Cloud Storage. As part of this process, I initialize Firebase emulators ...
-1
votes
1
answer
146
views
Firebase emulator storage - Can't connect to firebase storage emulator with getStorage
I wonder if somebody could me debugg why I cannot connect to the firebase emulator or share some knowledge on how to connect pls.
Goal: Connect to the Firebase storage emulator.
Context: I tryed ...
0
votes
0
answers
83
views
Firebase Emulator Suite throws: Permission denied because no Storage ruleset is currently loaded, check your rules for syntax errors
I'm integrating the Resize Images by Firebase extension. I'm trying to create a new bucket, so I attach it to this extension.
firebase.json
{
"firestore": {
"rules": "...
0
votes
0
answers
30
views
Firebase Storage Emulator - Preconditions Not Working
I am using the firebase emulator suite to test cloud functions that perform crud operations in cloud storage. I am using the Node.js admin SDKs for all cloud functions. See below for sample code that ...
0
votes
1
answer
92
views
Angular Fire Storage does not use emulators
In my Ionic Angular Application i will be using firebase for storage and authentication.
I set up a very basic project and tried to get all the firebase emulators working.
After running all commands ...
1
vote
0
answers
114
views
Custom event "firebase.extensions.storage-resize-images.v1.complete" not working in Firebase Emulator
This is an android app that sends image files to Firebase Storage. Once in Firebase Storage the images are copied to another bucket where the resize images extension is enabled and converts the copied ...
0
votes
1
answer
171
views
firebase admin sdk uses ssl on storage emulator
I passed STORAGE_EMULATOR_HOST=localhost:9199 and STORAGE_EMULATOR_HOST=127.0.0.1:9199 via environment var to the docker container. In both cases the admin sdk tries to connect to the storage emulator ...
1
vote
1
answer
166
views
Unable to deploy Firebase Function | Error: Invalid Bucket Name
EDIT: This was caused by an issue with Firebase. The only solution was to wait until they fixed the platform. I was able to deploy without any issues the next day. Thank you.
I'm trying to deploy a ...
0
votes
1
answer
240
views
Deploying Firebase Storage Security Rules
I have a project on firebase. Recently I have added firebase storage. But when I try to publish rules its throws the error :
=== Deploying to 'chatapp-86y5'...
i deploying storage
There was an issue ...
2
votes
1
answer
524
views
Connnect firebase-admin storage to firebbase emulator in python
I am using firebase-admin with python to access storage buckets and it works fine with my real project. But now I want to connect it to the firebase emulator instead of a real bucket.
I looked at the ...
1
vote
1
answer
820
views
Firebase Functions and Storage getSignedUrl with Emulators
I have a function that generates a signed URL for the requested storage path provided the user has permissions to read. I had to implement this due to current limitations in the storage cross service ...