Comments (13)
the same thing happens to me
from sharedrop.
how can we solve it
from sharedrop.
You can get FIREBASE_SECRET
when you go to Project settings -> Service accounts -> Database secrets.
However, I do not know if these secrets are created for new Firebase projects, as they are marked as deprecated. FIREBASE_SECRET
is only used to generate authentication token in server.js
file. You might be able to update the code to use a non-deprecated solution to generate them, or even skip this part completely and have unauthenticated users.
from sharedrop.
You can get
FIREBASE_SECRET
when you go to Project settings -> Service accounts -> Database secrets.However, I do not know if these secrets are created for new Firebase projects, as they are marked as deprecated.
FIREBASE_SECRET
is only used to generate authentication token inserver.js
file. You might be able to update the code to use a non-deprecated solution to generate them, or even skip this part completely and have unauthenticated users.
I found the secret and added the secret to the .env file, however it still keeps loading...
from sharedrop.
@kenjibailly The error handling could be done better, but the error I'm getting on your page is the following:
"FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com "
Yours is: "https://sharedrop-mindglowingart-default-rtdb.europe-west1.firebasedatabase.app/"
from sharedrop.
I tried to find that "firebasio" url, but couldn't find it. So I just tried to change FIREBASE_URL with these:
https://sharedrop-mindglowingart.firebaseio.com/
https://sharedrop-mindglowingart-default-rtdb.europe-west1.firebaseio.com/
But they also keep loading.
All I can find is
https://sharedrop-mindglowingart-default-rtdb.europe-west1.firebasedatabase.app/
I'm not entirely sure how to proceed from here, thanks for answering though!
from sharedrop.
For Sharedrop the FIREBASE_URL
is https://sharedrop.firebaseio.com
. This is the URL that I see in Firebase console when I go to "Realtime Database" and "Data":
If you deploy a new version with a correct FIREBASE_URL
and it still doesn't work, let me know and I can see if I can find what's wrong. This would help me to update the docs to make it easier for others to deploy it themselves.
from sharedrop.
For Sharedrop the
FIREBASE_URL
ishttps://sharedrop.firebaseio.com
. This is the URL that I see in Firebase console when I go to "Realtime Database" and "Data":If you deploy a new version with a correct
FIREBASE_URL
and it still doesn't work, let me know and I can see if I can find what's wrong. This would help me to update the docs to make it easier for others to deploy it themselves.
Well that's the initial url I used, please have a look at my screenshot.
from sharedrop.
Got it. Most likely the URL pattern has changed, but the ~10 year old version of the Firebase library used in Sharedrop does not support the new URL pattern :/ I can see if I can update the library, but it might be non-trivial, as a lot has changed :/
from sharedrop.
Got it. Most likely the URL pattern has changed, but the ~10 year old version of the Firebase library used in Sharedrop does not support the new URL pattern :/ I can see if I can update the library, but it might be non-trivial, as a lot has changed :/
Okay thank you for looking into it, please let us know if you got an update regarding this!
from sharedrop.
I changed the json file and removed all . and $ and stuff like that
firebase.txt
from sharedrop.
can it be a solution?
because then you can load that file
from sharedrop.
Related Issues (20)
- Failed to set the 'binaryType' property on 'RTCDataChannel': Blob support not implemented yet
- Query about firebase database! HOT 2
- Maximum transfer speed of 30 MB/s, even on same device? HOT 7
- i get this error HOT 2
- Unable to share file when clicked on the Avatar
- Wathsapp
- Wathsapp
- [Question] A ZIP for my marketplace
- advice HOT 1
- There should be a feature to send text so the other device can copy it quickly HOT 2
- GH Action to create an official docker image
- File transfer gets interrupted after the screen is locked. HOT 1
- Szaimek HOT 1
- Szimek
- Cant share through different Neteork HOT 1
- Alternative to Firebase? HOT 1
- Broken with Cromite browser HOT 2
- Unable to send files between different networks
- Readme update !
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharedrop.