There was a connection problem. Please check the URL and Key of the Master site.

I've tried to sync my two sites, but I keep getting the following error:

There was a connection problem. Please check the URL and Key of the Master site.

I have checked this, and there are no additional spaces or any other problems.

Thanks.

  • Alexander

    Hi @Dark Scream,

    Sorry to hear you're getting this error. I've seen it a few times before. Would you happen to be using Multisite? User Sync is actually only single site compatible, and you'd get this error trying with multisite.

    As for the URL, be sure the http is included. Or if you're running ssl, it would be https. If this doesn't get you anywhere, can you try enabling debug mode per the steps here? https://premium.wpmudev.org/project/wordpress-user-synchronization/#usage

    Let me know what you find out.

    Thanks for being a WPMU DEV member. Let us know if we can be of any further assistance.
    Best regards,

  • Moonworks

    I just uninstalled and selected that debugging option, and this is what I get in the error log:

    [2013-06-19 12:32:35][S] 01 - new subsite conection - central_url=http://book-tour.com;; replace_user=0;; overwrite_user=0;;***
    [2013-06-19 12:32:35][S] 02 - sending request - url=http://book-tour.com/wp-admin/admin-ajax.php?action=user_sync_api;;***
    [2013-06-19 12:32:36][S] 03 - sending request - response=ok;;***
    [2013-06-19 12:32:36][S] 01_2 - sync users for new subsite***
    [2013-06-19 12:32:36][S] 02 - sending request - url=http://book-tour.com/wp-admin/admin-ajax.php?action=user_sync_api;;***
    [2013-06-19 12:32:39][S] 0-10 - ajax actions***
    [2013-06-19 12:32:41][S] 0-10 - ajax actions***
    [2013-06-19 12:32:41][S] 5-10 - start sync_user***
    [2013-06-19 12:32:41][S] 10 - update user***
    [2013-06-19 12:32:41][S] 13 - overwrite user***
    [2013-06-19 12:32:41][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:43][S] 0-10 - ajax actions***
    [2013-06-19 12:32:43][S] 5-10 - start sync_user***
    [2013-06-19 12:32:43][S] 10 - update user***
    [2013-06-19 12:32:43][S] 13 - overwrite user***
    [2013-06-19 12:32:43][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:46][S] 0-10 - ajax actions***
    [2013-06-19 12:32:46][S] 5-10 - start sync_user***
    [2013-06-19 12:32:46][S] 10 - update user***
    [2013-06-19 12:32:46][S] 13 - overwrite user***
    [2013-06-19 12:32:46][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:49][S] 0-10 - ajax actions***
    [2013-06-19 12:32:49][S] 5-10 - start sync_user***
    [2013-06-19 12:32:49][S] 10 - update user***
    [2013-06-19 12:32:49][S] 13 - overwrite user***
    [2013-06-19 12:32:49][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:50][S] 0-10 - ajax actions***
    [2013-06-19 12:32:50][S] 5-10 - start sync_user***
    [2013-06-19 12:32:50][S] 10 - update user***
    [2013-06-19 12:32:50][S] 13 - overwrite user***
    [2013-06-19 12:32:50][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:52][S] 0-10 - ajax actions***
    [2013-06-19 12:32:52][S] 5-10 - start sync_user***
    [2013-06-19 12:32:52][S] 10 - update user***
    [2013-06-19 12:32:52][S] 13 - overwrite user***
    [2013-06-19 12:32:52][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:53][S] 0-10 - ajax actions***
    [2013-06-19 12:32:53][S] 5-10 - start sync_user***
    [2013-06-19 12:32:53][S] 10 - update user***
    [2013-06-19 12:32:53][S] 13 - overwrite user***
    [2013-06-19 12:32:53][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:54][S] 0-10 - ajax actions***
    [2013-06-19 12:32:54][S] 5-10 - start sync_user***
    [2013-06-19 12:32:54][S] 10 - update user***
    [2013-06-19 12:32:54][S] 13 - overwrite user***
    [2013-06-19 12:32:54][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:56][S] 0-10 - ajax actions***
    [2013-06-19 12:32:56][S] 5-10 - start sync_user***
    [2013-06-19 12:32:56][S] 10 - update user***
    [2013-06-19 12:32:56][S] 13 - overwrite user***
    [2013-06-19 12:32:56][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:57][S] 0-10 - ajax actions***
    [2013-06-19 12:32:57][S] 5-10 - start sync_user***
    [2013-06-19 12:32:57][S] 10 - update user***
    [2013-06-19 12:32:57][S] 13 - overwrite user***
    [2013-06-19 12:32:57][S] 14 - overwrite user - ok***
    [2013-06-19 12:32:59][S] 0-10 - ajax actions***
    [2013-06-19 12:32:59][S] 5-10 - start sync_user***
    [2013-06-19 12:32:59][S] 10 - update user***
    [2013-06-19 12:32:59][S] 13 - overwrite user***
    [2013-06-19 12:32:59][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:00][S] 0-10 - ajax actions***
    [2013-06-19 12:33:00][S] 5-10 - start sync_user***
    [2013-06-19 12:33:00][S] 10 - update user***
    [2013-06-19 12:33:00][S] 13 - overwrite user***
    [2013-06-19 12:33:00][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:02][S] 0-10 - ajax actions***
    [2013-06-19 12:33:02][S] 5-10 - start sync_user***
    [2013-06-19 12:33:02][S] 10 - update user***
    [2013-06-19 12:33:02][S] 13 - overwrite user***
    [2013-06-19 12:33:02][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:03][S] 0-10 - ajax actions***
    [2013-06-19 12:33:03][S] 5-10 - start sync_user***
    [2013-06-19 12:33:03][S] 10 - update user***
    [2013-06-19 12:33:03][S] 13 - overwrite user***
    [2013-06-19 12:33:03][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:05][S] 0-10 - ajax actions***
    [2013-06-19 12:33:05][S] 5-10 - start sync_user***
    [2013-06-19 12:33:05][S] 10 - update user***
    [2013-06-19 12:33:05][S] 13 - overwrite user***
    [2013-06-19 12:33:05][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:06][S] 0-10 - ajax actions***
    [2013-06-19 12:33:06][S] 5-10 - start sync_user***
    [2013-06-19 12:33:06][S] 10 - update user***
    [2013-06-19 12:33:06][S] 13 - overwrite user***
    [2013-06-19 12:33:06][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:07][S] 0-10 - ajax actions***
    [2013-06-19 12:33:07][S] 5-10 - start sync_user***
    [2013-06-19 12:33:07][S] 10 - update user***
    [2013-06-19 12:33:07][S] 13 - overwrite user***
    [2013-06-19 12:33:07][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:09][S] 0-10 - ajax actions***
    [2013-06-19 12:33:09][S] 5-10 - start sync_user***
    [2013-06-19 12:33:09][S] 10 - update user***
    [2013-06-19 12:33:09][S] 13 - overwrite user***
    [2013-06-19 12:33:09][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:10][S] 0-10 - ajax actions***
    [2013-06-19 12:33:10][S] 5-10 - start sync_user***
    [2013-06-19 12:33:10][S] 10 - update user***
    [2013-06-19 12:33:10][S] 13 - overwrite user***
    [2013-06-19 12:33:10][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:11][S] 0-10 - ajax actions***
    [2013-06-19 12:33:11][S] 5-10 - start sync_user***
    [2013-06-19 12:33:11][S] 10 - update user***
    [2013-06-19 12:33:11][S] 13 - overwrite user***
    [2013-06-19 12:33:11][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:13][S] 0-10 - ajax actions***
    [2013-06-19 12:33:13][S] 5-10 - start sync_user***
    [2013-06-19 12:33:13][S] 10 - update user***
    [2013-06-19 12:33:13][S] 13 - overwrite user***
    [2013-06-19 12:33:13][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:14][S] 0-10 - ajax actions***
    [2013-06-19 12:33:14][S] 5-10 - start sync_user***
    [2013-06-19 12:33:14][S] 10 - update user***
    [2013-06-19 12:33:14][S] 13 - overwrite user***
    [2013-06-19 12:33:14][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:15][S] 0-10 - ajax actions***
    [2013-06-19 12:33:15][S] 5-10 - start sync_user***
    [2013-06-19 12:33:15][S] 10 - update user***
    [2013-06-19 12:33:15][S] 13 - overwrite user***
    [2013-06-19 12:33:16][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:17][S] 0-10 - ajax actions***
    [2013-06-19 12:33:17][S] 5-10 - start sync_user***
    [2013-06-19 12:33:17][S] 10 - update user***
    [2013-06-19 12:33:17][S] 13 - overwrite user***
    [2013-06-19 12:33:17][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:18][S] 0-10 - ajax actions***
    [2013-06-19 12:33:18][S] 5-10 - start sync_user***
    [2013-06-19 12:33:18][S] 10 - update user***
    [2013-06-19 12:33:18][S] 13 - overwrite user***
    [2013-06-19 12:33:18][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:20][S] 0-10 - ajax actions***
    [2013-06-19 12:33:20][S] 5-10 - start sync_user***
    [2013-06-19 12:33:20][S] 10 - update user***
    [2013-06-19 12:33:20][S] 13 - overwrite user***
    [2013-06-19 12:33:20][S] 14 - overwrite user - ok***
    [2013-06-19 12:33:21][S] 0-10 - ajax actions***
    [2013-06-19 12:33:21][S] 5-10 - start sync_user***
    [2013-06-19 12:33:21][S] 15 - insert user - step 1***
    [2013-06-19 12:33:21][S] 17 - insert user - step 2***
    [2013-06-19 12:33:21][S] 03 - sending request - response=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>500 Internal Server Error</title>
    </head><body>
    <h1>Internal Server Error</h1>
    <p>The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.</p>
    <p>Please contact the server administrator,
    admin@admin.com and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.</p>
    <p>More information about this error may be available
    in the server error log.</p>
    <hr>
    <address>Apache Server at book-tour.com Port 80</address>
    </body></html>
    ;;***
    [2013-06-19 12:33:21][S] 18 - insert user - ok***
    [2013-06-19 12:33:24][S] 0-10 - ajax actions***
    [2013-06-19 12:33:24][S] 5-10 - start sync_user***
    [2013-06-19 12:33:24][S] 15 - insert user - step 1***
    [2013-06-19 12:33:24][S] 17 - insert user - step 2***
    [2013-06-19 12:33:25][S] 18 - insert user - ok***
    [2013-06-19 12:33:28][S] 0-10 - ajax actions***
    [2013-06-19 12:33:28][S] 5-10 - start sync_user***
    [2013-06-19 12:33:28][S] 15 - insert user - step 1***
    [2013-06-19 12:33:28][S] 17 - insert user - step 2***
    [2013-06-19 12:33:28][S] 18 - insert user - ok***
    [2013-06-19 12:33:29][S] 0-10 - ajax actions***
    [2013-06-19 12:33:29][S] 5-10 - start sync_user***
    [2013-06-19 12:33:29][S] 15 - insert user - step 1***
    [2013-06-19 12:33:29][S] 17 - insert user - step 2***
    [2013-06-19 12:33:29][S] 18 - insert user - ok***
    [2013-06-19 12:33:31][S] 0-10 - ajax actions***
    [2013-06-19 12:33:31][S] 5-10 - start sync_user***
    [2013-06-19 12:33:31][S] 15 - insert user - step 1***
    [2013-06-19 12:33:31][S] 17 - insert user - step 2***
    [2013-06-19 12:33:31][S] 18 - insert user - ok***

  • Moonworks

    I'll check that with the hosts, but as the developer working with users, you may be able to help me with the alternative I did.

    I copied the wp-users table form the original database and im[ported it into the new database, but not all the users are showing. Using a plugin for something else, I noticed that it said there were 18 hidden users, so they were seen there but not shown in the users admin page.

    Is there a way to get all these users to show up?

    Thanks.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.