Can't get remote control to work

Message boards : Questions and problems : Can't get remote control to work
Message board moderation

To post messages, you must log in.

AuthorMessage
JefPatat

Send message
Joined: 9 Aug 17
Posts: 9
Belgium
Message 80090 - Posted: 9 Aug 2017, 12:41:01 UTC

Hi all,

I just started a new project. I have a Windows 8.1 machine running 7.6.33 (x64) and a raspberry pi running 7.4.23. Both should be the latest versions.

On the Pi I edited gui_rpc_auth.cfg to have one line with a password. I also edited remote_host.cfg to have one line with the IP of my Windows machine. I restarted the client. And later the Pi.

On the Windows machine I try to attach the BOINC Manager to the Pi. I enter the Pi's IP and the password from the gui_rpc_auth.cfg. Whatever I try the client always gives "connecting to..." -> "connection closed" -> "connecting to..." -> "connection closed". I disabled the windows firewall to be sure.

I then modified cc_config.xml on both ends to have <gui_rpc_debug>1</gui_rpc_debug>. The results are a bit long. I don't know how I can add a file here so I just show what I think is relevant.

Can anyone help me out? The socket is closed for some reason but I really have no clue.

PI:
09-Aug-2017 11:50:56 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:50:56 [---] [gui_rpc] Remote control allowed
09-Aug-2017 11:50:56 [---] [gui_rpc] Listening on port 31416
09-Aug-2017 11:50:56 [---] Not using a proxy
09-Aug-2017 11:50:56 Initialization completed
09-Aug-2017 11:51:18 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:18 [---] GUI RPC request from non-allowed address 2.0.199.74
09-Aug-2017 11:51:19 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:20 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:21 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:21 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:22 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:23 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:24 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:24 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:25 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:26 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:26 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:27 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:28 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:29 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:29 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:30 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:31 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:32 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:32 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:33 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:34 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:34 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:35 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:36 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:37 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:37 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:59:41 [---] [gui_rpc] got new GUI RPC connection
09-Aug-2017 11:59:41 [---] [gui_rpc] GUI RPC Command = '<boinc_gui_rpc_request>
<exchange_versions>
   <major>7</major>
   <minor>4</minor>
   <release>23</release>
</exchange_versions>
</boinc_gui_rpc_request>
'
09-Aug-2017 11:59:41 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<server_version>
   <major>7</major>
   <minor>4</minor>
   <release>23</release>
</server_version>
</boin'
09-Aug-2017 11:59:41 [---] [gui_rpc] handler returned -102, closing socket


Desktop:
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_status>2</network_status>
   <ams_password_error>0</ams_password_error>
   <task_s'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC Command = '<boinc_gui_rpc_request>
<get_messages>
  <seqno>12226</seqno>
  <translatable/>
</get_messages>
</boinc_gui_rpc_request>
'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<msgs>
<msg>
 <project></project>
 <pri>1</pri>
 <seqno>12227</seqno>
 <body><![CDATA[
[gui_rpc] GUI RPC r'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC Command = '<boinc_gui_rpc_request>
<get_results>
<active_only>0</active_only>
</get_results>
</boinc_gui_rpc_request>
'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<results>
<result>
    <name>04fe08aa.13866.12751.10.37.74_1</name>
    <wu_name>04fe08aa.13866.12751.10.3'
09-Aug-2017 14:35:07 [---] [gui_rpc] handler returned -102, closing socket
ID: 80090 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 80092 - Posted: 9 Aug 2017, 15:09:45 UTC

You say you put the IP address of the Windows machine in the remote_hosts.cfg file on the Pi, but did you put the IP address of the Pi in the remote_hosts.cfg file ON the Windows machine? The communication is two way, not just in one direction.
ID: 80092 · Report as offensive
JefPatat

Send message
Joined: 9 Aug 17
Posts: 9
Belgium
Message 80094 - Posted: 9 Aug 2017, 17:08:14 UTC - in response to Message 80092.  

Hmmm, not sure what you say is correct or if we are understanding each other correctly. I want to monitor the Pi from the desktop. Why does the Pi's need to be in the desktop cfg file?

Anyway, I'm off hiding in the corner of shame. Turns out that I have been messing around with remote_host.cfg instead of remote_hosts.cfg. It all works as it should now. Thanks for having a look at my stupidity!
ID: 80094 · Report as offensive

Message boards : Questions and problems : Can't get remote control to work

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.