Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there! While your site is publicly accessible, we cannot access your site’s XML-RPC file:
    http://mustafasonmez.org/xmlrpc.php

    This file is used by Jetpack and other plugins and apps to connect to your site, and must return the following message:

    XML-RPC server accepts POST requests only.

    Since your site returns a 404 error for this page, I would recommend that you check the following:

    1) Can you see the /xmlrpc.php file at the root of your WordPress installation when accessing your site via FTP?

    2) Do you use any security plugins that may block access to this file? If so, could you try to disable them?

    3) Does your hosting provider block access to this file? If you don’t find any plugin that may block access to the file on your site, I would recommend that you get in touch with your host.

    After you resolve the issue above, you can try connecting Jetpack again.

    Please let me know how this works for you!

    Thread Starter tiridyum

    (@tiridyum)

    Screenshot

    At the site open , I get an error in the picture ,
    and access existing files to xmlrpc.php
    What should I do in this situation?

    http://mustafasonmez.org/xmlrpc.php

    Thanks for the update! Can you contact your hosting provider and explain to them that we are unable to access your blog via cURL, which is needed in order to use Jetpack on your site?

    You can let them know we tested the following:

    1. Check for access to xmlrpc.php via browser:
    http://mustafasonmez.org/xmlrpc.php

    That test returned “XML-RPC server accepts POST requests only.” which is a valid result.

    2. Check for access via cURL by running the following command from the command prompt:
    curl -i -H ‘Content-Type: text/xml’ –data ‘<?xml version=”1.0&”?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>’ ‘http://mustafasonmez.org/xmlrpc.php&#8217;

    The cURL test returned the following invalid result:

    HTTP/1.1 401 Authorization Required
    Date: Wed, 18 Mar 2015 22:57:09 GMT

    Please provide the information above to your hosting provider so that they can correct the server settings to allow cURL access. Then try to connect Jetpack once again.

    Let me know how that works for you!

    Thread Starter tiridyum

    (@tiridyum)

    I told my hosting company status, gave me the following answer

    ConfigServer exploit Scanner Hazardous Recognizes not Allow Data Submission.

    Contact the support of the plugin

    new test adrress http://devkobi.com/xmlrpc.php

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    @tiridyum I’m afraid the problem is the same with that new site:

    curl -A "Jetpack by WordPress.com" -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'http://devkobi.com/xmlrpc.php' && echo
    HTTP/1.1 401 Unauthorized
    Date: Fri, 03 Apr 2015 17:16:40 GMT
    Server: LiteSpeed
    Connection: Keep-Alive
    Keep-Alive: timeout=5, max=100
    Vary: User-Agent
    Cache-Control: private, no-cache, no-store, must-revalidate, max-age=0
    Pragma: no-cache
    Content-Type: text/html
    Content-Length: 1154
    
    <!DOCTYPE html>
    <html style="height:100%">
    <head><title> 401 Unauthorized
    </title></head>
    <body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
    <div style="height:auto; min-height:100%; ">     <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
            <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">401</h1>
    <h2 style="margin-top:20px;font-size: 30px;">Unauthorized
    </h2>
    <p>Proper authorization is required to access this resource!</p>
    </div></div><div style="color:#f0f0f0; font-size:12px;margin:auto;padding:0px 30px 0px 30px;position:relative;clear:both;height:100px;margin-top:-101px;background-color:#474747;border-top: 1px solid rgba(0,0,0,0.15);box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;">
    <br>Proudly powered by  <a style="color:#fff;" href="http://www.litespeedtech.com/error-page">LiteSpeed Web Server</a><p>Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.</p></div></body></html>

    As long as your hosting provider doesn’t allow incoming requests to XML-RPC, you won’t be able to use plugins like Jetpack or other apps using that file to communicate with your site.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Jetpack requires your site to be publicly accessible’ is closed to new replies.