Smush CDN suggestion not working

My issue: images suddenly weren’t showing on a site. Looks like the problem was this:

{“success”:false,”data”:”Site not registered in the Hub.”}

reported back by the Smush CDN. So I log in and check and all my credentials are registered, and the site’s active in my hub. A suggestion is that resetting the API might help… but when I go to do that, I get a warning that I’ll need to re-add ALL my sites. Nothing I want to do. Well, I’ve updated the Smush plugin (a new update had recently come out) and it’s working now.

So this is less a need for support and more if you could pass on a message: ‘Silent’ failures like this are the worst. If a site goes down, I get notified. I don’t when all the images just fail to load, because of a bug in your plugin.

It’s working now but there has to be some clearer messaging when it’s “Hey, this issue might cause images across your sites to not load”. Just letting you know that this kind of thing is a real anger point: I look like an idiot when sites don’t show images and no warning at all.

  • Adam
    • Support Gorilla

    Hi minty_hunter

    I hope you’re well today and thank you for your feedback!

    I understand how “inconvenient” such “silent fails” might be and I’m sorry to hear that you experienced it. Our developers, however, are looking into providing some sort of “safe fallback” for such cases so e.g. if API connectivity fails, the images wouldn’t be gone. I don’t have ETA but I can tell they’re looking into improving such process.

    As for resetting API. If anything like that happens again (hopefully not though!) please try this, instead of actually resetting API:

    – clear all the caches on site and server if there are any caches active

    – make sure that you are logged in to your WPMU DEV account via the WPMU DEV Dashboard plugin on site (which must be active and logged in anyway for Smush CDN to work)

    – go to “Smush Pro -> Settings” page and scroll it all the way down, then use “UPDATE API STATUS” button there.

    This should update API connection/information for Smush and solve the problem, without actually resetting all the API and logging out your sites from The Hub.

    Best regards,

    Adam

  • minty_hunter
    • Design Lord, Child of Thor

    Hey Adam,

    Excellent and comprehensive response.

    Good to know about the UPDATE API STATUS option.

    I would suggest that if this is common amongst a lot of your plugins, that you update the message that appears under WPMU DEV plugin> SETTINGS > API KEY that says:

    “Note: If you are experiencing issues connecting to WPMU DEV, resetting this key can sometimes fix issues. You can do this via the Manage API Key button above.”

    …. to suggest checking for the UPDATE API option in the specific plugin first.

    Otherwise, I appreciate that you’re working to make this better!

  • Adam
    • Support Gorilla

    Hi minty_hunter

    Thank you for your feedback!

    The message on “WPMU DEV -> Settings -> API Key” is more of a “general connection”. Only Smush has the “Update API” button in settings as it’s the only one that sometimes needs that kind of update. That is, excluding some unexpected issue related to possible bugs or conflicts on site.

    However, I understand how this could possibly be confusing or misleading in some cases so I’ll put that under internal discussion. Certainly, we don’t want to cause any confusion so once again – thank you for this valuable feedback as your perspective, as a user of our plugins and services, is extremely important to us!

    Best regards,

    Adam