automated upload fail

  • Unknown's avatar

    For the past number of years, I’ve been using the perl script wordpress-upload-post for automated population of a couple daily-reading blogs (dailyconfession.wordpress.com and dailywestminster.wordpress.com), scheduling one month’s worth of posts at a time.
    This worked as of late Nov 2017, when I preloaded Dec 2017’s posts, but suddenly it doesn’t work.
    That perl script submitted the posts via XMLRPC (for instance http://dailyconfession.wordpress.com/xmlrpc.php)

    Did that get disabled as a new policy starting 2018 or something?

    As a test, when I try a single submission by commandline:

    wordpress-upload-post -d junk.txt -t “test” -D “2018-01-02 08:00:01” -u myusername -p mypassword -x http://dailyconfession.wordpress.com/xmlrpc.php

    I get the error
    500 Server closed connection without sending any data back at /usr/local/share/perl/5.22.1/WordPress/XMLRPC.pm line 594.

    And when I try to browse to https://dailyconfession.wordpress.com/xmlrpc.php directly, it says “403: forbidden” even though I am logged in.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    hmmm, problem has gone away.

    I was also getting login failures due to max retry limit, I reset my password and waited an hour, now it works again.

    Hypothesis: I had changed my password, and forgotten that I changed my password, so the xmlrpc accesses with the wrong password obviously didn’t work.

    (But I had a still-logged-in session going in my browser)

    OR, I recently for the first time authenticated into wordpress.com with ‘connect with Google’ — maybe that changes wordpress’ view of what my password is for XMLRPC stuff?

  • Unknown's avatar

    Interesting – I just created a couple of blogs on WordPress.com to develop some category areas from my main site. I sent a couple of test posts using a xmlrpc.php WP plugin on my main site and immediately the two new WordPress.com sites were suspended. I can only think it is due to using xmlrpc.php technology but I don’t see anything on the T&C page – could anyone clarify this for me?

  • Unknown's avatar

    It’s all greek to me, my system is working and I don’t know why!

  • Hi there,

    @ruberad

    We’re not really able to help with API-related issues here, though your hypothesis makes sense to me – I see a password reset in your account about a month ago. The Google authentication should not do anything – it’s still the same email address and username, and your account already has a password set. The Google authentication just offers you a passwordless way to log in, but doesn’t cancel the existing password.

    For more help with API-related issues you can contact us here:

    Contact

    @bookzio

    We can’t help with suspended sites in the forums. Please contact our terms of service team via the link appearing in your site’s dashboard, or on the page below:

    Suspended Content and Sites

  • Unknown's avatar

    Thanks. Yeah, I did it to myself again, ran my perl script with the old password again, which submitted like 60 posts through xmlrpc with the wrong password. Login limiter didn’t like that! and got locked out trying just log in regular through the browser. In the morning it’s ok again though.

  • Can happen to the best of us :)

  • The topic ‘automated upload fail’ is closed to new replies.