BOINC core client not posting data to url/rpc.php

Message boards : Web interfaces : BOINC core client not posting data to url/rpc.php
Message board moderation

To post messages, you must log in.

AuthorMessage
John of Murfreesboro

Send message
Joined: 17 May 06
Posts: 5
United States
Message 4458 - Posted: 23 May 2006, 21:00:01 UTC

I'm running BOINC version 5.4.9 and I've got an Account Manager (am) in development running on IIS on the same machine. Boinc is communicating with the am but when it calls the am's rpc.php it's not posting the acct_mgr_request data. Shouldn't it be making a HTTP POST request with this info? Any ideas are greatly appreciated.

Thanks,
John
ID: 4458 · Report as offensive
John of Murfreesboro

Send message
Joined: 17 May 06
Posts: 5
United States
Message 4459 - Posted: 24 May 2006, 16:29:41 UTC

BOINC is sending my account mgr an HTTP POST request to the rpc.php page but the $_POST array is empty. I'm expecting the acct_mgr_request.xml info. I'm running BOINC version 5.4.9, WinXP Pro, PHP version 5.1.4. When I post to the rpc.php from a test page everything works. All feedback welcome and appreciated.

John
ID: 4459 · Report as offensive
Rytis Slatkevicius

Send message
Joined: 29 Aug 05
Posts: 15
Message 4462 - Posted: 24 May 2006, 19:52:59 UTC - in response to Message 4458.  

If you actually checked what it is supposed to send you would notice it's an XML and not of param=value form, so it is not reflected in PHP $_POST[] ;)

Check out $HTTP_RAW_POST_DATA.
ID: 4462 · Report as offensive
John of Murfreesboro

Send message
Joined: 17 May 06
Posts: 5
United States
Message 4471 - Posted: 25 May 2006, 13:16:30 UTC

Thanks for the info, Rytis, I appreciate your time. I was finally able to reproduce the behavior by posting the acct_mgr_request.xml content from my test page. I've checked out $HTTP_RAW_POST_DATA and I can see the data. I'm also checking out the php://input stream using simplexml_load_file().

Regards,
John
ID: 4471 · Report as offensive

Message boards : Web interfaces : BOINC core client not posting data to url/rpc.php

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.