GUI RPC Protocol on Wiki

Message boards : Documentation : GUI RPC Protocol on Wiki
Message board moderation

To post messages, you must log in.

AuthorMessage
Eudy Silva

Send message
Joined: 10 Mar 19
Posts: 2
Brazil
Message 90645 - Posted: 11 Mar 2019, 0:05:09 UTC

Hello, everyone.
I've just registered.
As I did not find a way for registering in the Wiki, I thought here would be an appropriate place to post.
I was doing some exercise, using C++ to connect to the BOINC core client through a TCP socket,
following the documented GUI RPC Protocol in the Wiki.
I stumbled in what I believe is an error in the documentation, regarding the get_app_config request.

According to https://boinc.berkeley.edu/trac/wiki/GuiRpcProtocol#get_app_config, the request
would be <get_app_config/> (surrounded by the usual <boinc_gui_rpc_request> and </boinc_gui_rpc_request>\003).
So I used the following in a request, trying to get app_config.xml (after I was succesfully authorized, of course):
<boinc_gui_rpc_request>
<get_app_config/>
</boinc_gui_rpc_request>\003

The BOINC client didn't like it and replied with:
<boinc_gui_rpc_reply>
<error>no such project</error>
</boinc_gui_rpc_reply>

Which makes sense. Since an app_config.xml is project dependent, the project has to be specified in the request:
So, I tried:
<get_app_config>
<url>http://www.primegrid.com</url>
</get_app_config>

and the client happily replied with the contents of my app_config.xml for the PrimeGrid project.

This way, the Wiki should be corrected, as a get_app_config request should be in the form:
<get_app_config>
<url>desired-project-url</url>
</get_app_config>


This happened with client 7.14.2 on Windows 10 Home 64 bits.

Cheers
ID: 90645 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 90652 - Posted: 11 Mar 2019, 19:11:57 UTC - in response to Message 90645.  

Fixed. Thanks for the report.
ID: 90652 · Report as offensive
Eudy Silva

Send message
Joined: 10 Mar 19
Posts: 2
Brazil
Message 90653 - Posted: 11 Mar 2019, 20:45:17 UTC - in response to Message 90652.  

Thank you for the fix.
And also thank you for the great job you guys do !
ID: 90653 · Report as offensive

Message boards : Documentation : GUI RPC Protocol on Wiki

Copyright © 2019 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.