Reputation: 49
I'm trying to connect to my seedbox so I can send it torrents. But I keep getting this
xmlrpclib.ProtocolError: <ProtocolError for username:[email protected]/RPC2: 405 Not Allowed>
Here's my code
import xmlrpclib
server_url = "http://username:[email protected]/"
server = xmlrpclib.ServerProxy(server_url)
torrents = server.download_list()
Upvotes: 0
Views: 344
Reputation: 4158
Fix your web server config, i.e. allow outside POST requests on /RPC2.
PS: And it's 2018, use https.
Upvotes: 1