Thread 'boinccmd problem: can't connect to local host'

Message boards : BOINC Manager : boinccmd problem: can't connect to local host
Message board moderation

To post messages, you must log in.

AuthorMessage
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47789 - Posted: 17 Feb 2013, 10:46:42 UTC
Last modified: 17 Feb 2013, 11:17:47 UTC

Hello all,

I have added my application(hello world) into boinc server and know I want to attach boinc client into the project, I don't know if I have to use boinccmd or something else but as I read I use this command to do so:

./boinccmd --project_attach http:XXXX/hello
can't connect to local host

why this error has occurred?
Does anyone have instruction on how we can attach boinc client into customized project?

thx.
ID: 47789 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47809 - Posted: 17 Feb 2013, 12:44:22 UTC - in response to Message 47789.  
Last modified: 17 Feb 2013, 12:48:15 UTC

I solved it,but is there any guide instructions for that(attaching to project)?
because know I have an error of authentication.

status: authentication error
Error -155: authentication error
ID: 47809 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 47811 - Posted: 17 Feb 2013, 13:18:46 UTC - in response to Message 47809.  

See http://boinc.berkeley.edu/wiki/Boinccmd
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 47811 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47812 - Posted: 17 Feb 2013, 13:25:13 UTC - in response to Message 47811.  
Last modified: 17 Feb 2013, 13:27:43 UTC

thanks, I have seen that,but there are no points about my problem there.
ID: 47812 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47813 - Posted: 17 Feb 2013, 13:28:18 UTC - in response to Message 47812.  
Last modified: 17 Feb 2013, 13:33:43 UTC

my authentication problem is solved right now.

but I don't know what I have to do if I want to attach to the project.
I have to use create_account command first?or I have to use another command.

?
because when I use create_account command I face the error:

status: Success
poll status: operation in progress
poll status: operation in progress
poll status: transient HTTP error

any solution?
ID: 47813 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 47814 - Posted: 17 Feb 2013, 14:05:17 UTC - in response to Message 47813.  

I've never created then attached to a project via boinccmd, but the manual says:

Step 1) --create_account URL email password name

which in full could be

boinccmd --create_account www.myproject.org [email protected] mypassword fazel

step 2) --lookup_account URL email password

which then would be

boinccmd --lookup_account www.myproject.org [email protected] mypassword

This prints the account key needed for the next hurdle

Step 3) --project_attach URL account_key

which becomes

boinccmd --project_attach www.myproject.org account_key

If that does not work, then I don't know what.




Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 47814 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47815 - Posted: 17 Feb 2013, 14:13:53 UTC - in response to Message 47814.  

thanks alot for your help. this is really helpful,but in the first step I face the problem:

poll status: operation in progress
poll status: operation in progress
poll status: transient HTTP error

when I look into boinc client log information this is shown:

17-Feb-2013 22:00:03 [---] Project communication failed: attempting access to reference site
17-Feb-2013 22:00:05 [---] Internet access OK - project servers may be temporarily down.

is it related to firewall setting?
but I am trying to connect to local server.

ID: 47815 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5129
United Kingdom
Message 47816 - Posted: 17 Feb 2013, 14:49:33 UTC - in response to Message 47815.  

If it's a local server, consider how your network is (or isn't) establishing the correct connection between your client computer and your server.

See my recent message 47709 for some pointers.
ID: 47816 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47817 - Posted: 17 Feb 2013, 15:07:55 UTC - in response to Message 47816.  

thank very much,
In the client_state.xml file there is no <scheduler_url> tag.

what should I do?
ID: 47817 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47818 - Posted: 17 Feb 2013, 15:12:33 UTC - in response to Message 47817.  
Last modified: 17 Feb 2013, 15:12:57 UTC

and just for your information I couldn't make my boincmgr in the "sea" directory so I copied boinccmd manually to boinc client directory. I don not know is it related to the problem or not,
ID: 47818 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47827 - Posted: 18 Feb 2013, 11:58:37 UTC - in response to Message 47789.  

my problem is solved by the help of dear Rebirther.

now I can create account and get account key but when I want to attach the project I see this error:

18-Feb-2013 19:51:50 [---] Invalid URL: http:XXXXX/hello/


any solution?


ID: 47827 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 47829 - Posted: 18 Feb 2013, 12:58:30 UTC

What's wrong with that printed path I'd ask... where are the 2 forward slashes after http: [already seen missing the OP] ? Figure they're needed even if it's going on the same server.
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 47829 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 47831 - Posted: 18 Feb 2013, 13:28:45 UTC - in response to Message 47829.  
Last modified: 18 Feb 2013, 13:33:33 UTC

no they are exist.the error is:

18-Feb-2013 21:24:08 [---] Invalid URL: http://XXXXX/hello/

I have already taken the account key and I can click on that URL and my webpage is shown.I don't know what is wrong with this?!

thanks.
ID: 47831 · Report as offensive

Message boards : BOINC Manager : boinccmd problem: can't connect to local host

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.