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

Error: Unknown XML-RPC tag 'TITLE' #3

Closed
WoodyPhil opened this issue Jan 18, 2017 · 6 comments

Comments

@WoodyPhil
Copy link

commented Jan 18, 2017

Always when i try to connnect, i get the following error:

Error: Unknown XML-RPC tag 'TITLE'

But the login params are fine, i tested them with python. With python it worked correctly.

I executed the file with: node simple.js

@Thomathan

This comment has been minimized.

Copy link

commented Jul 11, 2017

Just ran into the same issue and found my problem after some debugging. Besides awful and generic errors from node-xmlrpc, it seems that odoo-xmlrpc does not support HTTPS connections. To support HTTPS, you can replace all instances of xmlrpc.createClient with xmlrpc.createSecureClient

@rossigee

This comment has been minimized.

Copy link
Contributor

commented Aug 17, 2017

@Thomathan - you may have been using an older version. This was fixed in a recent release. It now checks for 'https' and uses the correct function accordingly...

https://github.com/faisalsami/odoo-xmlrpc/blob/master/lib/index.js#L22

@rossigee

This comment has been minimized.

Copy link
Contributor

commented Aug 17, 2017

@WoodyPhil - I'm getting the same currently. The cause in my case seems to be an nginx redirect returning an HTML page, and so it's trying to parse the 'title' child element as XMLRPC and failing. At the moment, it seems like it might be more of a hosting config related issue rather than a bug in this lib specifically.

@rossigee

This comment has been minimized.

Copy link
Contributor

commented Aug 17, 2017

So it turns out that my problem is also that I've got an old copy of 'odoo-xmlrpc' from doing 'npm install odoo-xmlrpc' 👎

Workaround - npm install https://github.com/faisalsami/odoo-xmlrpc

@faisalsami - please ensure the latest version is released via npm and close this ticket. Thanks.

@natoine

This comment has been minimized.

Copy link

commented Aug 23, 2017

I met the same error and found it online :
scottgonzalez/node-wordpress#17

@faisalsami

This comment has been minimized.

Copy link
Owner

commented Aug 26, 2017

Published latest version on npm. Sorry for publishing late.

@faisalsami faisalsami closed this Aug 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.