• Resolved edivantrev

    (@edivantrev)


    From time to time, WP Fusion stops sending leads to Mautic because it needs to reauthorize Mautic. This is an issue because, as I have many leads coming in, I end up losing the connection and only discover this if I log into WordPress.

    Is there a specific timeframe that Mautic requires new authorization? Do you know how many days? Are the leads that were not sent to Mautic due to authorization issues sent later by WP Fusion?

Viewing 1 replies (of 1 total)
  • Plugin Author verygoodplugins

    (@verygoodplugins)

    Hey @edivantrev ??

    No, it shouldn’t ever require reauthorization. How often does this happen?

    Mautic’s “access tokens” last 14 days. So that means after 14 days, an API call will fail due to an expired token. WP Fusion then connects to Mautic to “refresh” the token, and repeats the API call.

    If you’re getting disconnected about once every 14 days, then it seems like the refresh process is failing. You could turn on HTTP API logging to record the full API calls: https://wpfusion.com/documentation/getting-started/activity-logs/#http-api-logging

    If you can catch the refresh failing that might show an error code or something to indicate why.

    Also, FYI, we have sometimes observed problems with this and Redis / Memcached caching. The old access token gets cached and the new one isn’t saved correctly. If you are using Redis, try disabling it around two weeks after you last reauthorized the connection to see if this fixes the refresh. If so, changing Redis plugins should improve the reliability, as some plugins are more aggressive than others about caching data in the admin.

Viewing 1 replies (of 1 total)
  • The topic ‘WP Fusion + Mautic’ is closed to new replies.