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

HTTPS support? #97

Closed
dpacmittal opened this issue Feb 7, 2015 · 1 comment
Closed

HTTPS support? #97

dpacmittal opened this issue Feb 7, 2015 · 1 comment

Comments

@dpacmittal
Copy link

I am trying to speak to an XMLRPC server over port 443, but it throws a 400 bad request error. Here's the response dump:

res code: 400
res body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
 Instead use the HTTPS scheme to access this URL, please.<br />
</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at 127.0.1.1 Port 443</address>
</body></html>
@patricklodder
Copy link
Collaborator

You can use: var client = xmlrpc.createSecureClient(your_options); to get a https client.

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