• I work for the “home office” as the primary web developer for 150+ “locations”. We’ve got several (probably about 40+ sites) using AIWP (5.8.9). Almost daily, they disconnect from the authorization I’ve done (with either error code below). This is getting a bit frustrating in trying to track down issues. I’d appreciate any insights for a permanent fix, if anyone has any ideas. ??

    Detected Errors Count: 4
    Ajax Error Code: 627
    API Error Code: None
    API Error Reason: None
    API Error Details: None
    Count: 0
    Ajax Error Code: 624
    API Error Code: None
    API Error Reason: None
    API Error Details: None

    FYI, we literally just moved onto a brand new server over this past weekend. The problems (above) were/are present on both the old server cluster and the new one, so I know it’s not a server-related issue.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Same problem for me ??

    Plugin Author Alin Marcu

    (@deconf)

    Hi all and thanks for the feedback.

    As I was saying on previous threads there is a limited number or refresh tokens Google Account/Plugin, among many other limits.

    Here’s a ist of common problems and known soluions.

    Regards

    Plugin Author Alin Marcu

    (@deconf)

    Hi,

    It looks that one of the recent updates for some reasons didn’t go well.

    Please try the following:

    1. Uninstall the plugin
    2. Re-install the plugin
    3. Settings will be lost on uninstall, please authorize and setup the plugin again
    4. After minimum one hour, check the dashboard and see if the charts are displaying without errors

    Let me know how it goes.

    Morning (or afternoon), Alin!

    I take it there’s no version change? It’s just a matter of “flushing out the current configs to get new configs”?

    I’m doing this as a test on one of our sites. Thank goodness for both WP CLI and .bash_aliases; that simplifies the process a little bit. ??

    Thanks for the follow up!

    Plugin Author Alin Marcu

    (@deconf)

    I take it there’s no version change? It’s just a matter of “flushing out the current configs to get new configs”?

    Exactly, I wasn’t able to identify the exact bug, but on my sites I’ve noticed that if an error occurs, for some reason all credentials are generated without a refresh token, which means that after an hour, the plugin will be unable to generate a new access token. On all sites the problem fixes only after an uninstall/reinstall.

    If you want to check if a refresh token is generated, you will need to set WP_DEBUG to true on wp-config.php (this needs to be enable to reveal the token contents). Afterwards, go to Analytics Insights -> Errors & Debug -> Plugin Settings. Under the “token” setting look for “refresh_token” or simply search the page for “refresh_token”. If there’s one, you’re good to go.

    Since you’ve probably authorized a lot, expect “invalid_grant” errors, on some sites, until all the maximum 25 tokens will rotate again.

    Good morning, Alin! Disconnected again. I created a new “account” and am running one of the problematic sites through that account (I’ll limit this account to 24 total accounts). I’ve asked the website manager to keep an eye on things. I’ll let you know how that process goes.

    Truth be told, I’m shocked the website manager hasn’t reamed me a new one, haha! He’s been SUPER patient about all of this, though I can sense his frustration.

    Appreciate you staying on top of this, Alin. ??

    Plugin Author Alin Marcu

    (@deconf)

    The 401 issue, causing the need of repeatedly authorization, was fixed in latest version. If there are new issues or similar ones let me know by opening a new thread.

    Thank you all for helping out with your feedback!

    Good afternoon, Alin! Thus far, because I moved that one site into a secondary sub account, it has stayed connected. Looks like that’s resolving that issue. I’m still dealing with 621s on “past seven days”.

    Mul?umesc mult, Alin, mi-ai fost de mare ajutor!
    (To keep WP Mods happy, translation: “Thank you very much, Alin, you have been most helpful!”)

    Plugin Author Alin Marcu

    (@deconf)

    On all other sites you should update, clear authorization and re-authorize. (Mul?umesc ?i eu).

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Google Analytics keeps disconnecting’ is closed to new replies.