Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Are there two instances of a QuickApp running


Question

Posted

I see this on a few of my QuickApps.  The message comes from onInit.  Does this mean that two instances are running ?  If it is true it might explain why some of them are slow.

 

[2023-09-13] [13:05:38] [TRACE] [QA-GATE]: Started
[2023-09-13] [13:05:38] [TRACE] [QA-GATE]: http://192.168.1.238:8080
[2023-09-13] [13:05:44] [TRACE] [QA-GATE]: Started
[2023-09-13] [13:05:44] [TRACE] [QA-GATE]: http://192.168.1.238:8080

 

In this case it is connecting to a Raspberry Pi via Rest calls.  The Pi is pressing the buttons on a remote to control the gate.

4 answers to this question

Recommended Posts

  • 0
Posted
On 9/13/2023 at 7:36 AM, Martin_N said:

Hello,

 

according to my experience, if QA goes to http and restarts, it happens every minute, that's :00 sec.

So it probably doesn't have to be the reason.

 

eM.

I have seen such a behavior when I had my system running in two browsers open.

  • 0
Posted
3 hours ago, RohitNz said:

I see this on a few of my QuickApps.  The message comes from onInit.  Does this mean that two instances are running ?  If it is true it might explain why some of them are slow.

 

[2023-09-13] [13:05:38] [TRACE] [QA-GATE]: Started
[2023-09-13] [13:05:38] [TRACE] [QA-GATE]: http://192.168.1.238:8080
[2023-09-13] [13:05:44] [TRACE] [QA-GATE]: Started
[2023-09-13] [13:05:44] [TRACE] [QA-GATE]: http://192.168.1.238:8080

 

In this case it is connecting to a Raspberry Pi via Rest calls.  The Pi is pressing the buttons on a remote to control the gate.

It could also mean that your QA restarts because it crashes at startup (during the http request?). Usually it backs off so you would see restarts with ~60s intervals if the crashes continue...

  • 0
Posted

Hello,

 

according to my experience, if QA goes to http and restarts, it happens every minute, that's :00 sec.

So it probably doesn't have to be the reason.

 

eM.

  • 0
  • Inquirer
  • Posted
    On 9/15/2023 at 7:07 AM, Neo Andersson said:

    I have seen such a behavior when I had my system running in two browsers open.

    This may well be the culprit.  Since I have 3 screens, I use them all.  One to show the console, one to show me a list of scenes and devices and the third for actual work.  Its the same browser, but on 3 screens.

     

    Today I saw three "started" messages on a different QA.  Back to my original question.  Does it mean multiple instances are running.  if so, I can put in code to stop it.

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...