SSO Connect API Error
Hello,
I've had this problem for a long time, but it's starting to get annoying.
When I ask the api to generate a connection link, it gives me an error. I also have this error with WHMCS which can't connect with the api, that is, only this feature doesn't work.
It works with the connection as a user from the WHM.
However, when I do it with the command line utility, it works.
cPanel API Response: Internal Error (ID 548815680974261)
log :
warn [whostmgrd] The subprocess (whostmgr (xml-api)) exited with an error (ID 548815680974261)
session_log
info [xml-api] 45.1XXXXX NEW root:QreBlaiAOhEs9DPM:create_user_session address=45.148XXXXXXX,app=Whostmgr::API::1::Session,creator=root,method=create_user_session
-
Hey there! Can you let me know specifically which API call you're using and what the code is that you're calling so I can do some additional testing? 0 -
Thanks for that information. When using the test Perl script on that page, I don't receive any errors, although I did have to install the JSON and LWP::Protocol::https Perl modules. Here is the output from my "test.pl" script: {"data":[{"type":"main","homedir":"/home/username","user":"username"},{"user":"cptest@domain.com","type":"sub","homedir":"/home/username/public_html/cptest"},{"user":"ftptest@domain.com","homedir":"/home/username/public_html/ftptest","type":"sub"},{"homedir":"/etc/apache2/logs/domlogs/username","type":"logaccess","user":"username_logs"}],"errors":null,"metadata":{"transformed":1},"warnings":null,"messages":null,"status":1}0
Please sign in to leave a comment.
Comments
3 comments