Posting via XML-RPC not working since yesterday. faultCode 500

  • Author
    Posts
  • #1075482

    vawwordpress
    Member

    Hi,

    We have several users experiencing this issue. Hopefully you will be able to shed some light please.

    When posting via xml we are seeing the below response. This was working fine 2 days ago for all of our users who use wordpress.com.

    We have tested direct other wordpress blogs (hosted on users sites) with success.

    We have performed all of the normal steps in diagnosing a fault (cleared cache, checked permissions, spoke with hosting firms etc).

    Thanks,

    Dyson

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>500</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>You are not allowed to do that.</string></value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>

    The blog I need help with is coachresources.wordpress.com.

    #1075709

    vawwordpress
    Member

    Can one of the wordpress.com team please comment on this?

    #1075711

    timethief
    Member
    #1075712

    vawwordpress
    Member

    Thank you for your time Timethief.

    Looking forward to hearing from a staff member in regards to this.

    XML-RPC was posting fine to all of our users blogs on wordpress.com until a couple of days ago.

    Something must have changed in the configuration on wordpress.com as no modifications were made to our users sites.

    Looking forward to a response so we can get them back in action.

    Best regards,

    Dyson

    #1075713

    timethief
    Member

    I flagged the thread I linked to above for Staff attention. I’ll flag this one too. I suggest you subscribe and be patient while waiting for a response form Staff.

    #1075718

    vawwordpress
    Member

    Any possibility of feedback from Staff please.

    We have about 30 Users who use wordpress.com with this issue.

    Thanks,

    Dyson

    #1075744

    kathrynwp
    Staff

    Could you please provide a list of all sites where this is an issue, or is it just coachresources.wordpress.com? Thanks very much.

    #1075747

    kathrynwp
    Staff

    Could you also please let us know in more detail what method you’re using to connect to your site via xmlc-rpc? Thanks.

    #1075748

    vawwordpress
    Member

    Hi Kathryn,

    Here is the list that I have @ hand. As mentioned the users sites are communicating with wordpress.com via xml to create posts.

    This was operational with no issues a few days ago. Perhaps a plugin was upgraded permissions changed or alterations made on their xmlrpc.php files or something along those lines?

    clairex1.wordpress.com
    hhmhealth.wordpress.com
    amctrainingcentre.wordpress.com
    levidavid77.wordpress.com
    Bearzali.wordpress.com
    maiah1.wordpress.com
    chrisfrancisblog.wordpress.com
    noworriesturf.wordpress.com
    rosiewebsmith.wordpress.com
    rayseeto.wordpress.com
    evanoll.wordpress.com
    maryn55.wordpress.com

    Thank you for your assistance in regards to this.

    Dyson

    #1075750

    vawwordpress
    Member

    Hi Kathryn,

    Accessing via a simple php script.

    –Excerpt (edited to remove usernames etc–

    $username = #####”;
    $password = “#####”;

    $date_image = date(‘y-m-d-His’);

    $category = “General”;
    $keywords = “”;
    $encoding=’UTF-8′;

    $keywords = htmlentities($keywords,ENT_NOQUOTES,$encoding);

    $content = array(
    ‘title’=>$title,
    ‘description’=>$body,
    ‘mt_allow_comments’=>0, // 1 to allow comments
    ‘mt_allow_pings’=>0, // 1 to allow trackbacks
    ‘post_type’=>’post’,
    ‘mt_keywords’=>$keywords,
    ‘categories’=>array($category)
    );
    $params = array(0,$username,$password,$content,true);
    $request = xmlrpc_encode_request(‘metaWeblog.newPost’,$params);
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_POSTFIELDS, $request);
    curl_setopt($ch, CURLOPT_URL, $wplocation);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 1);
    $results = curl_exec($ch);
    curl_close($ch);

    –End Excerpt–

    If you would like to see how this normally operates when interacting with wordpress site please take a look @:

    http://myviennamedia.com.au/~myvm/vaw_base/test/vaw/main/main.php?api=BMC225563

    Generally the write option is best for testing.

    This then writes to a Test wordpress site that we have setup on a multihost http://174.120.2.163/~myvm/test/ – I am just providing this to you so you can see how it works. I understand that this is not your site (trying to provide as much information as possible to assist you with your diagnosis). :)

    Thanks,

    Dyson

    #1075758

    vawwordpress
    Member

    Any comment on this please.

    #1075810

    vawwordpress
    Member

    Can we please have a response in regards to this issue that our users are experiencing.

    Thank you,

    Dyson

    #1075816

    vawwordpress
    Member

    @ kathrynwp.

    Hi Kathryn,

    Could you provide an update in regards to where we are at with this issue please.

    This is affecting multiple users and has been ongoing for coming up to a couple of weeks.

    We would really appreciate an update so we can assure our mutual users that something is being done to resolve this.

    Thanks,

    Dyson

    #1075820

    vawwordpress
    Member

    Can we please have some response on this XML issue please.

    We are looking for some assurance that this problem is being looked into.

    Thanks.

    #1075822

    kathrynwp
    Staff

    Sorry for the delay – your comments were caught in the forum’s spam filter and I didn’t see them until now. I’ve passed this information along to our developers for investigation and I’ll keep you posted.

    #1075823

    vawwordpress
    Member

    Thank you Kathryn.

    #1075827

    jkudish
    Member

    Hi vawwordpress,

    I have replied to you privately via email in order to further troubleshoot this issue. Please look for an email from support@wordpress.com in your inbox.

    #1075829

    splash123com
    Member

    Hi,

    What was the solution to this? I still can’t post via xmlrpc since the 20th?

    #1075830

    kathrynwp
    Staff

    splash123com – we are dealing with these on a case-by-case basis. Please start a new thread and link to it from here so I can investigate – thanks.

    #1075831

    splash123com
    Member

    Hi Kathryn,

    Thanks so much will do!

The topic ‘Posting via XML-RPC not working since yesterday. faultCode 500’ is closed to new replies.