Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<ProtocolError for site.wordpress.com/xmlrpc.php: 301 Moved Permanently> #65

Closed
cosmicpudding opened this issue Nov 23, 2014 · 2 comments

Comments

@cosmicpudding
Copy link

Hi there

Thanks for your awesome work on this library! I've been using it for over a year to post with no issues. A couple of weeks ago I had some problems with the initial Client connections, returning the following error:

Traceback (most recent call last):
client = Client('http://site.wordpress.com/xmlrpc.php', 'user', 'password')
File "build/bdist.macosx-10.5-x86_64/egg/wordpress_xmlrpc/base.py", line 27, in init
wordpress_xmlrpc.exceptions.ServerConnectionError: <ProtocolError for site.wordpress.com/xmlrpc.php: 301 Moved Permanently>

I emailed Wordpress.com about it, and they said to contact you, and somehow in that process it started working again (maybe a time lockout?). Now it is happening again, and has been locked out since Wednesday with no sign of fixing itself.

Any idea why this might be happening, and how I can fix it?

Thanks!

@amberyl
Copy link

amberyl commented Jan 17, 2015

Wordpress.com made some accounts SSL-only, for some inexplicable reason that they haven't explained, and all complaints on the community forums seem to be getting ignored. They're blaming client and library authors instead (even though the change also seems to have completely broken the metaWeblog API).

Change your URL from http to https and it should fix it.

@cosmicpudding
Copy link
Author

Thanks! Yes at some point I accidentally figure out that https:// worked and used that instead, and it's been working fine since then. Thank you for the reply in any case - it's an odd change for them to make! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants