-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi Rami,
I have been using wporg locally in a test environment and it has been working. However, now I've deployed my website with CloudFlare and https it's no longer working. When I bypass CloudFlare, wporg can successfully connect to my WordPress site. But when I enable CloudFlare I get the following error:
[Error: Unexpected end
Line: 0
Column: 0
Char: ]
The strange thing is that when I use the wordpress npm package (https://www.npmjs.com/package/wordpress), I can successfully list all the posts on my website. Also using python-wordpress-xmlrpc I can list my posts when behind CloudFlare.
My conclusion from this is: XML-RPC is working correctly on my website, both with CloudFlare enabled and when disabled. Something in wporg is not working as it should...
I'd really like to continue to use wporg because I think it is the most full-featured WordPress XML-RPC interface for Node.js. And if I switch to a different library I'd need to change my code too. Do you think you could have a look at this issue? I could give you a test account for my site if that helps. Or do you recommend using another library?