XML-RPC no longer working WordPress.com

  • Unknown's avatar

    We have been using xml-rpc to auto post to our free wordpress.com sites. Recently, we have noticed sporadic issues with connection, but now it seems that all we get back is ‘Forbidden’ when trying to do something as simple as get categories.

    We can no longer post either via the api.

    Any help would be appreciated.

  • Hi there!

    Could you let us know more details about this setup?
    The more we know, the better we’ll be able to advise. Thanks!

  • Unknown's avatar

    The one I’m using that’s giving this error is iPress for WordPress on the Windows Store and it’s giving 404 Forbidden, yup. But I go to https://snarkypenguin.wordpress.com/xmlrpc.php and I get the same ‘Forbidden’ notice.

  • Unknown's avatar

    403 forbidden, oops.

  • @badtux99, your sites respond with XML-RPC server accepts POST requests only. which is expected and correct.
    I’m still not sure what are you trying to achieve, though?

  • Unknown's avatar

    We wrote software to get categories and to post automatically using xml-rpc.

    regardless of whether the site responds ok, its sporadic on its hit and miss at working. It was getting categories fine and was posting articles ok too.

    Now, we get Forbidden when getting categories and sending posts.

    It sometimes works once…..then it wont work for days….then it may work again….its like you are throttling the use of the api….even though we haven’t used it very much at all.

    The code is fine and works all day every day on my self hosted sites.

  • Unknown's avatar

    Thanks for the additional information! This definitely sounds like an API or oAuth issue, which isn’t something we can help with here. Can you reach out to the API development team here with your issue and someone should get back to you with more information or additional questions.

    Contact

    Thanks!

  • Unknown's avatar

    Now my site is responding to post requests on the xml-rpc port. Last night it was not, it was giving a 403 error. I will assume this was a failure inside WordPress.com’s infrastructure rather than a misconfiguration.

  • Got it, so you’re hitting the API and occasionally it’s denying the request? It does sound like you’re getting stuck in our firewall or something.

    Are the requests all coming from the same IP? Also, @badtux99 and @bestreviewvideos, are you both encountering this separately or do you work together?

  • Unknown's avatar

    We’re separate. I just piggy-backed on his issue because I ran into the same thing at roughly the same time.

    And it was *consistently* denying the request last night. As in, everything gave me a Nginx 403 error. I see those in my production cluster (I run a large SaS service as my day job) when my redirect of one of my url’s is going to a bad place (I have a cluster of Nginx in front of my instances slicing and dicing where to send things based applying regular expressions to the URL).

  • Unknown's avatar

    I have tried different ip’s by using a proxy and it still does the same thing.

  • Unknown's avatar

    Everyone:

    Again, this is an API issue and not one that we can help with on the free WordPress.com forums. Please submit a request to the API development team here with your specifics and someone should get back to you with more information or additional questions.

    Contact

    Thanks!

  • Unknown's avatar

    But its only happening on the free wordpress.com .. self hosted are fine. So it should be here really.

  • Yes, it’s on WordPress.com, but it’s an issue with the API. We do not provide support for the API in the forums, as our staff here are not developers who can help with those types of issues.

    Please open a ticket via our developer support contact form as helper-heroponriki requested above, and someone can continue helping you there.

  • The topic ‘XML-RPC no longer working WordPress.com’ is closed to new replies.