• Resolved misstest

    (@misstest)


    Sometimes when you create a user, it syncs with other sites. Sometimes not.

    But for sure, user roles are not syncing.

    I also having this error on ONE of my sites that says: Warning – Failed to renew token for https://mysite.com/ – retrying…
    What should I do?

    I already checked that both sites have the same Action Token Validity Duration, Action Encryption Key and Action Signature Key. And I checked that both sites are correctly.

    View post on imgur.com

    Wordpress: Version 5.4.2

    WP Remote Users Sync: Version 1.2

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alexandre Froger

    (@frogerme)

    Hello @misstest,

    In the screenshot, I see you enabled the Roles User Action, but left the “List of roles to transfer” empty. By default, none get transferred.

    Outgoing Role and Metadata User Actions work with a whitelist of what to transfer (to avoid unnecessary bloated payload), therefore the outgoing roles to include must be specified.

    Hope this helps!

    Plugin Author Alexandre Froger

    (@frogerme)

    BTW, the “Failed to renew token” message is not critical: it means the first attempt to communicate with the remote website failed (token not received within 1 sec), and a second attempt is triggered (waiting 5 sec this time). If the token could not be renewed at all, there would be a red “Alert” message instead of the yellow warning.
    The timeouts to receive tokens can be adjusted in a custom plugin using the filter hooks wprus_request_token_timeout and wprus_request_token_retry_timeout for advanced configuration.

    Plugin Author Alexandre Froger

    (@frogerme)

    Hi @misstest !
    Because it’s been a week without feedback, and another very similar issue was solved the way I indicated here, I am closing this topic and mark it resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Roles aren’t syncing and Failed to renew token’ is closed to new replies.