• Is the first time that I′m trying to use this plugin and I always see the foolowing error:

    Error authenticating user on Target: Unable to authenticate on Target site.

    and the followwing steps was checked:

    – the user level to authenticate
    – the log file ‘~log.txt’ always in the array data the field password in the api request blank as this peace of log file reported (the password 1234 is used as a example because neither this or the real password is inputed).

    2019-12-12 14:09:17#29 – SyncApiRequest::api():317 error code=4
    2019-12-12 14:09:17#29 – SyncApiRequest::api():322 starting queue processing
    2019-12-12 14:09:17#29 – SyncApiRequest::_process_queue()
    2019-12-12 14:09:17#29 – SyncApiRequest::_process_queue() queue already being processed
    2019-12-12 14:09:17#29 – SyncApiRequest::api():324 done processing queue
    2019-12-12 14:12:51#32 – SyncSettings::validate_settings():671 change username: user=”sync” pass=”1234″
    2019-12-12 14:12:51#32 – SyncApiRequest::api() action=”auth”
    2019-12-12 14:12:51#32 – SyncApiRequest::api():105 current auth data: array (
    ‘installed’ => ‘2019-12-12 12:20:25’,
    ‘version’ => ‘1.5.3’,
    ‘host’ => ‘https://friosnoatacado.com.br’,
    ‘username’ => ‘sync’,
    ‘password’ => ”,
    ‘site_key’ => ‘0f5f8d7a057e389a95ab40e204ba4f71’,
    ‘target_site_key’ => ”,
    ‘auth’ =>
    array (
    ‘cookie’ => ”,
    ‘nonce’ => ”,
    ‘site_key’ => ‘0f5f8d7a057e389a95ab40e204ba4f71’,
    ),
    ‘strict’ => ‘1’,
    ‘salt’ => ”,
    ‘remove’ => ‘0’,
    ‘match_mode’ => ‘title’,
    ‘min_role’ => ‘author’,
    ‘roles’ => ‘|author|editor|administrator|’,
    ‘report’ => ‘0’,
    ‘encode’ => ‘e4CFgw==’,
    )

    PS. The website have Wordfence and is disable RPC XML but I guess it is not used becaus eis used WP API v2.

    The page I need help with: [log in to see the link]

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

    (@serverpress)

    Hello Leandro,

    Thank you for your interest in WPSiteSync. We’re sorry to hear that you’re having problems.

    When we do logging, we remove the password for security reasons- so this is why it’s blank in the log file.

    That error message is displayed when the credentials are wrong. So the username you’ve entered or the password or both are incorrect. You should be entering the username and password of a user on the Target site, not the current (Source) site.

    Something else could be interfering with the authentication process. Are you using a Two Factor authentication plugin on your Target site or some security plugin? Try disabling that to see if that helps. Once authenticated, you can enable the Two Factor authentication plugin again and WPSiteSync will continue to function.

    If you are using the Target username and password and still experience problems, please contact us through our support system at https://serverpress.com/contact/ and our support team will be happy to assist you.

    All the best,
    The ServerPress Team

Viewing 1 replies (of 1 total)
  • The topic ‘Always fail to login’ is closed to new replies.