WordPress.org

Forums

Campaign Monitor Synchronization (moved)
[resolved] Synchronization Error // Failed to deserialize (19 posts)

  1. trapuh
    Member
    Posted 1 year ago #

    Hi all,

    I'm trying to use the Campaign Monitor Synchronization plugin with a new list i've created specifically to gather e-mails from the website.... and i'm getting the following error :

    Campaign Monitor synchronization error.
    Failed to deserialize your request. Please check the documentation and try again.Fields in error: subscribers

    I'm using wordpress 3.8.1 with WooCommerce and also have the 'User Role Editor' plugin activated to create a few user roles...

    Can this be due to incompatibility issues ? Is there anything that can help me debugging this ? Please let me know if further information is required ! Thanks for all the help anyone can give!

    https://wordpress.org/plugins/campaign-monitor-synchronisation/

  2. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    I guess there is some data in 'subscribers' that breaks the json. What is stored in the field 'subscribers'? can you disable this field in the plugin options and try again?

    Please email me at mail@carloroosen.nl .

  3. trapuh
    Member
    Posted 1 year ago #

    Hi Carlo,

    Many thanks for your reply, just e-mailed you now!

  4. kakashigr
    Member
    Posted 1 year ago #

    I'm getting this error too.

    I don't check any fields, and the "subscribers" isn't even on that list.

  5. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi all, we introduced a new bug when repairing the previous. Just a sec, there will be a new version available in a minute

  6. kakashigr
    Member
    Posted 1 year ago #

    The previous error is fixed with the update you just pushed. But now its giving me this error:

    Fatal error: Error making request with curl_error: Operation timed out after 10001 milliseconds with 0 bytes received
    originating from transport.php - line 158

  7. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    yes we have problems with svn right now. I'll will send you a note when all is ready

  8. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi kakashigr,

    Seems done. We did not increase the version number, so you need to de-install the plugin and install it again.

    The SVN commit only updated a few files, so it was incomplete. In the meantime we have no idea if this problem caused your bug. Please let me know.

    Cheers, Carlo

  9. kakashigr
    Member
    Posted 1 year ago #

    csrest_lists.php not found

  10. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi kakashigr,

    I am very sorry you experience these problems. Could you please upgrade to 1.0.8 now?

    Thanks a lot for you patience, Carlo

  11. kakashigr
    Member
    Posted 1 year ago #

    I'm afraid I still get the error

    Fatal error: Error making request with curl_error: Operation timed out after 10001 milliseconds with 0 bytes received

    thats on my VPS.

    On my localhost, I get name or service not found after waiting for a long time each time.

  12. kakashigr
    Member
    Posted 1 year ago #

    Full localhost error:

    Error making request with 0: php_network_getaddresses: getaddrinfo failed: Name or service not known

  13. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi kakashigr,

    Is Curl enabled on your servers, localhost and VPS? It seems more like a server related error.

    Thanks, Carlo

  14. trapuh
    Member
    Posted 1 year ago #

    Hi kakashi,

    If you don't know how to do it (check if curl is installed or not), please follow this tutorial to create a phpinfo.php file that will show you what you have (and have not installed) on your server :

    https://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3F#gs

    It's linked to mediatemple website but its instructions are pretty much generic... As soon as you've done the phpinfo file and upload it to the server, please open the file in the browser and try to locate the following ::

    'cURL support : enabled ' ... if it shows disabled, then it's bad news for you and you need to yum curl back to php!

    yummy! :) hope this helps!

  15. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    Lena suggests: Maybe it is not cURL but some host that can't be resolved or something like that, some DNS resolving error

  16. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    kakashi,

    Maybe you could give us access to a public server. We are happy to help you.

    Carlo

  17. kakashigr
    Member
    Posted 1 year ago #

    Curl is enabled, if it wasn't the function would error. I did check with phpinfo to make sure though.

    I can't give you access to the online vps as it is for a client, I can however tell you that the localhost test server is a default LAMP in Ubuntu 13.10 64bit.

    I am a server administrator so if I can help any other way to debug the problem, just let me know. The VPS I'm trying to run this is a CentOS with the latest WHM installed.

    PHP is running using mod_fcgid, mod_security is disabled for the testing of the plugin and everything else is pretty much WHM defaults (except for the security and performance tuning that has taken place).

  18. kakashigr
    Member
    Posted 1 year ago #

    The localhost error is different because I hadn't curl enabled there and it used sockets to connect. They timed out.

    On my online vps, curl was enabled but the limit was not high enough for the data to go to campaign monitor's server.

    I changed your define in transport.php:

    from:
    define('CS_REST_SOCKET_TIMEOUT', 10);
    to
    define('CS_REST_SOCKET_TIMEOUT', 50);
    simply raising the limit. That worked well.

  19. Carlo Roosen
    Member
    Plugin Contributor

    Posted 1 year ago #

    I am glad it is all solved.

    Cheers, Carlo

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.