Git Product home page Git Product logo

Comments (4)

0xdevalias avatar 0xdevalias commented on August 22, 2024

I thought it might have been because I was present in the same browser from multiple tabs under different users - one in this local devel instance and another on ohbm.sparkle.space/in/seasig .

@yarikoptic From memory I don't think I have noticed/seen this come up before even when i've been using both the local + deployed version at the same time.


I went to Home in the official one but issue persisted. I have not observed it in the official one.

@yarikoptic As noted at the bottom of the snippet you shared:

This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error. Click the 'X' or hit ESC to dismiss this message.

So you're not going to see the same 'obvious pop up error' in the production environments. Though you will likely be able to observe the error in the DevTools JS console if it occurs.


Unhandled Rejection (Error): internal
new HttpsErrorImpl

@yarikoptic I believe HttpsError and internal tend to related to errors happening in the backend firebase functions, rather than the frontend code. So you may be able to get better details about it by:

  • Looking in the firebase web/admin console
  • 'Functions' on the left hand menu
    • image
  • 'Logs' tab, then filter by 'Error'
    • image

I just had a quick look at env/ohbm and there didn't seem to be any error logs showing there for the production backend functions.

from sparkle.

talum avatar talum commented on August 22, 2024

I just ran into the same issue while trying to dev on this locally! This is the output of the error I see in the JS console. (I also didn't set up a Twilio token, as that was marked optional in the setup docs, but I'll try that out.) I think that's unrelated actually...maybe it's just the CORS problem?

Screen Shot 2021-07-15 at 9 47 26 AM

from sparkle.

0xdevalias avatar 0xdevalias commented on August 22, 2024

@talum When you see this CORS issue, are you running the firebase functions emulator locally? The main times I've seen CORS issues from the backend functions has been when not running the functions emulator (or when I have been running it, but had it mapped through to a different/wrong environment (than what my ENV files were pointing to) with firebase use)

You're going to need 2 terminal tabs to launch Sparkle application locally. Make sure that you're located in the application root folder and follow steps below:

Run npm run firebase:emulate-functions in the first tab
Run npm run start in the second

And if you haven't already, the npx firebase login and npx firebase use PROJECT-ID parts of this:

from sparkle.

talum avatar talum commented on August 22, 2024

@0xdevalias Yup, I was running the firebase functions locally. It might be because I was running the firebase emulator with the firebase project I had created, while also using the credentials y'all had provided for the hackathon. That seems wild, I know. It was mostly to get around having to set up billing under the firebase account I had created.

Anyway, this is probably just good to know for whatever hackathons people might host in the future.

from sparkle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.