GithubHelp home page GithubHelp logo

Comments (5)

andrei-tatar avatar andrei-tatar commented on July 19, 2024

That's a weird one. I'll check the logs. This is definitely NORA.
Do you know the time it happened (with time zone)?
Did it go away after some time?

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on July 19, 2024

ok, checking the logs revealed a weird issue. It seems that everyone disconnected from firebase at around the same time (probably some Google maintenance thing) and everyone connected back at the exact same time, flooding the backend with sync requests.

It seems to have recovered pretty quick after that.

I definitely need to spread out the 1st sync call after the connect. I wasn't aware this might happen.

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on July 19, 2024

Found a bug: after a failure, the retry doesn't really work and just shows the same error message over, and over.
This is also related to #17

from node-red-contrib-smartnora.

FireWizard52 avatar FireWizard52 commented on July 19, 2024

Hello Andrei,

You already found the cause, but to answer the questions:

When I created this issue, the issue was present, so it was approx 19:00 h CET (Timezone Amsterdam).
I think it last about half an hour?
I had it on one machine, but didn't see it on my production machine.
On my test device, I disabled the flow in order to get rid of all the debug messages. So I'm not sure when it returned.
It is okay at the moment.

Regards

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on July 19, 2024

@FireWizard52 I published v1.0.5 that addresses this issue:
https://github.com/andrei-tatar/node-red-contrib-smartnora/releases/tag/v1.0.5

Summary:

  • firebase disconnected lots of users at the same time and they all connected again at the same time (few seconds later)
  • some sync calls failed (the 429 status code) because of the load (some hundreds of requests in a few milliseconds)
  • the retry didn't really work prior to this fix

I will close this bug for now.

from node-red-contrib-smartnora.

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.