I am getting the following errors in watchdog on the distribution server when requesting
"Content Retriever visual output" from the retrieving domain.

After a successful Session opened for ....
Missing argument 1 for content_retriever_xmlrpc() content_retriever.module on line 532
Missing argument 2 for content_retriever_xmlrpc() content_retriever.module on line 532
Missing argument 3 for content_retriever_xmlrpc() content_retriever.module on line 532
Unknown method call attempted

The line that is failing from the retrieving sever is inside the function content_retriever_xmlrpc()

case 'views.get':

$result = xmlrpc($endpoint, $method, $session_id, (string) $param1, 'default', array(), (array) $param2, 0, 0);

Both of these work: system.connect & user.login

When I do a var_dump($viewname, $contenttype, $qid, format_date($last_run, 'custom', 'YmdHi'));
The results are:string(27) "content_distribution_queue2" string(8) "citation" int(1) string(12) "200902092011"

I have a valid endpoint and Param 1 & Param 2

Any ideas?

Should this error be generated on the distribution server?

Thanks for any help.

Comments

jclaussen’s picture

Turned off Content Retriever module on content distribution server and errors went away. Still not getting data back from views.get call in content retriever module on remote server. Any ideas about how I can debug this issue?

Thanks

tayzlor’s picture

You should only enable the content_retriever module, on your remote drupal instances (i.e. the one you want to retrieve content on).
you should have the content_distribution module enabled on your content serving instance. In the settings (admin/settings/retriever) for the content retriever you should then have its services endpoint set to that of the content serving instance.

do you have API keys turned on or off. if they are on you will also need to setup an API key per site in the services settings on the content_distribution module side and add this API key in the settings on the admin/settings/retriever side.

jclaussen’s picture

I do have the services endpoint set to that of the content serving instance.

I have API keys turned off.

tayzlor’s picture

@jclaussen

i'm using API keys, but i've just turned them off and tested it on my instance, and it still works.
it seems like you are missing some settings somewhere, or your configuration setup is incorrect.
if you have entered the endpoint in the text field and saved settings then you should never see your error of -

- Missing argument 1 for content_retriever_xmlrpc() content_retriever.module on line 532

if you touch http://yourservingsite.com/services/xmlrpc you should see the message - XML-RPC server accepts POST requests only.

pretty tough for me to know what else is actually going wrong but i would recommend going through the readme.txt configuration again, or if you need extra help i'm available in irc on freenode in #drupal , nickname : tayzlor, feel free to ping me a message in there.

tayzlor’s picture

also on the config side of things, you must enable services to use sessions ids in admin/build/services/settings.
you can choose whether you want keys or not but sessions ids must be enabled.

tayzlor’s picture

Status: Active » Closed (fixed)

closing this @jclaussen got up and running over skype