Apps.mios.com problems?

@Sorin,

I posted updated to Reactor and Switchboard over the weekend, and apps.mios.com was performing quite poorly. Very slow, particularly with logins and other form submissions. A high number of page requests returned 404s or other errors which would then succeed on a simple page refresh/resubmit. A couple of file uploads stalled and never returned. But I got through it, and I saw this morning that my two submissions were approved.

However, I note that updates on my Vera Plus are bogging down/failing, with the following logged:

01	07/20/20 12:27:01.009	FileUtils::ReadURL 0/resp:503 user: pass: size 1040 http://apps.mios.com/plugins/9086/40244/J_ReactorSensor_UI7.js.lzo response: <!DOCTYPE html>
<html>
    <head>
        <title>Site is down for maintenance</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <style type="text/css">
            body { text-align: center; padding: 10%; font: 20px Helvetica, sans-serif; color: #333; }
            h1 { font-size: 50px; margin: 0; }
            article { display: block; text-align: left; max-width: 650px; margin: 0 auto; }
            a { color: #dc8100; text-decoration: none; }
            a:hover { color: #333; text-decoration: none; }
            @media only screen and (max-width : 480px) {
                h1 { font-size: 40px; }
            }
        </style>
    </head>
    <body>
        <article>
            <h1>Site is temporarily unavailable.</h1>
            <p>Scheduled maintenance is currently in progress. Please check back soon.</p>
            <p>We apologize for any inconvenience.</p>
        </article>
    </body>
</html>
 <0x77162520>

Iā€™m not aware of any ā€œscheduled maintenanceā€ā€¦ was there an announcement here that I missed?

Hey Patrick,

Iā€™ll ask around and keep you posted. Thanks for reporting.

2 Likes

I experienced the same thing a few days ago.

Also calls to https://plugin1.mios.com/sync_plugins2.php?PK_AccessPoint=id&HW_Key=key&Plugins=9086, fail. The response is slow and eventually ā€˜Database Errorā€™. The same ā€˜Site is down for maintenanceā€™ message is shown when an invalid id/key is provided.

Tweaked the configurations a bit. Seems that the number of devices getting plugins has grown to ~2000 requests per second. Will monitor it so we donā€™t have problems again.

oh, the irony of your firmware doing auto updates at every reload and bombing your own serversā€¦

4 Likes

Oh I think thereā€™s plenty of evidence in the logs that the requests are far more frequent than the reloads. Every 30 minutes in my log file:

01	07/21/20 9:27:02.144	FileUtils::ReadURL 28/resp:0 user: pass: size 1 https://plugin1.mios.com/sync_plugins2.php?PK_AccessPoint=5XXXXXXX&HW_Key=*&Plugins=8954,8942,8702,4226,9036,9086,9111,9181,9194,9031,3716,2678,8840,9284, response:  <0x77148520>
01	07/21/20 9:27:02.162	RAServerSync::SyncPlugins failed to sync https://plugin1.mios.com/sync_plugins2.php?PK_AccessPoint=5XXXXXXX&HW_Key=*&Plugins=8954,8942,8702,4226,9036,9086,9111,9181,9194,9031,3716,2678,8840,9284, <0x77148520>

#smh

4 Likes

Thirty minutes in my logs, too. This seems excessive.

Oh, I disabled auto updates years ago and never looked back.

I think a manual check or once per day is more than enough.

We know this fw is basically dead, but this change will improve stability a lot.

1 Like

Iā€™ve had auto-update disabled for years. It still checks every 30 minutes, probably an internal Vera thing.

Itā€™s checking its required/ā€œstandardā€ plugins, including ones on the blacklist, it seems.

2 Likes

Itā€™s probably been said already but I just wish theyā€™d open up the code to the public and be done with it. This firmware is obviously never going to get the attention it once had so why not just let the current loyal Vera community maintain it? Ezlo devs would never need to support it again, existing Vera users would finally get a stable platform and everyone would be happyā€¦

Well, if you want an open implementation, you have open luup. I wonā€™t add more ā€˜cause I donā€™t want to be banned.

4 Likes

Ouch. I noticed that I also blocked it via pihole, probably to avoid plugins from being downloaded. Iā€™ve almost reached a no-plugin system and the ones Iā€™m using are not updated (Vera, Nest).

@alecs today it seems to be down again:

**Warning** : Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is correct (127.0.0.1:11211) in  **Unknown**  on line  **0** 

It was fixed shortly after you commenting here, but forgot to reply.

1 Like