• Resolved joedabbott

    (@joedabbott)


    App does not work for me!! Fails to push content to online server.

    Get message: Target system did not respond with success code.

    Did fresh reinstall on both home & target server, config’ed properly – but no change.

    File ~log.txt has: {“error_code”:17,”error_message”:”Target system did not respond with success code.”,”error_data”:406,”has_errors”:1,”success”:0,”data”:{“message”:”Target system did not respond with success code.”}}’

    What is error code 17? How to fix?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • “Target system did not respond with success code.”

    This occurs when the API request to Push Content to the Target encounters a runtime error. The Target site responded with something besides am HTTP “200 OK” result code. This can be caused by a number of things: most often a PHP runtime error caused by the theme, a plugin conflict or something else misconfigured on the Target site.

    To resolve: To track down the problem, enable logging on the Target site. Then, examine the wp-content/debug.log file and reports of PHP runtime errors. If this do not yield any answers, you can send us the WPSiteSync log file and we can track down the cause of the problem. [email protected]

    Thread Starter joedabbott

    (@joedabbott)

    Sent ~log.txt files from both home site and server. The home site file ~log.txt has lots of entries while the target server almost none.

    Another entry on the home file ~log.txt further up looks suspicious:
    <head><title>Not Acceptable!</title></head><body><h1>Not Acceptable!</h1><p>An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.</p></body></html>’

    Sent files to [email protected].

    Thanks

    Plugin Author ServerPress

    (@serverpress)

    Hello, Joe.

    We’ve recently had a few customers report that Mod_Security is blocking the API requests to their Target site.

    Our research indicates that you will need to contact your hosting service and ask them to update the rules for Mod_Security, adding your Source site’s IP address to a whitelist that will be allowed to access the site. For more information, we wrote a blog post about it, which you can find here: https://wpsitesync.com/wpsitesync-for-content-and-mod_security/

    All the best,
    The ServerPress Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fails to Push Content’ is closed to new replies.