Switch to using SSL (Secure Socket Layer)

Message boards : News : Switch to using SSL (Secure Socket Layer)

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · 6 . . . 11 · Next

AuthorMessage
draken_p

Send message
Joined: 17 Mar 06
Posts: 2
Credit: 3,093,852
RAC: 0
Message 95792 - Posted: 2 May 2020, 12:20:08 UTC - in response to Message 95785.  

I did this by editing the "all_projects_list.xml" in /var/lib/boinc. There's url- and web_url-lines under Rosetta@home section.
After that, detached and added the project again in boinctui. Emptied queue first, of course.
Seems to be fetching work now ok.
ID: 95792 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
moucav

Send message
Joined: 22 Mar 20
Posts: 2
Credit: 909,398
RAC: 0
Message 95793 - Posted: 2 May 2020, 12:43:55 UTC
Last modified: 2 May 2020, 12:46:46 UTC

Atualização não permite mais eu rodar o projeto na minha empresa, agora o servidor bloqueia! antes tava rodando perfeito.

Fui tentar remover e adicionar o projeto, só fez eu perder 12 trabalhos processados com mais de 70%!
ID: 95793 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Terziyski

Send message
Joined: 11 Apr 20
Posts: 2
Credit: 1,165,438
RAC: 0
Message 95798 - Posted: 2 May 2020, 13:21:49 UTC

I tested with several Windows machines, bottom line - you have to empty the task queue first, and then change the URL, to be 100% sure that there's no abandoned tasks in transition.
ID: 95798 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
funkydude

Send message
Joined: 15 Jun 08
Posts: 28
Credit: 397,934
RAC: 0
Message 95809 - Posted: 2 May 2020, 14:28:52 UTC
Last modified: 2 May 2020, 14:34:01 UTC

Nice progress, I detached, deleted everything to be sure, and added the project again..
But you have missed some things to be fully secure:

BOINC/client_state.xml
All work uploads insecurely.
<upload_url>http ://boinc.bakerlab.org/rosetta_cgi/file_upload_handler</upload_url>


BOINC/global_prefs.xml
<source_scheduler>http ://bwsrv1.bakerlab.org/rosetta_cgi/cgi</source_scheduler>


BOINC/sched_reply_boinc.bakerlab.org_rosetta.xml
<url>http ://boinc.bakerlab.org/rosetta_cgi/file_upload_handler</url>


BOINC/sched_request_boinc.bakerlab.org_rosetta.xml
<source_scheduler>http ://bwsrv1.bakerlab.org/rosetta_cgi/cgi</source_scheduler>


EDIT: I added the spaces on purpose because some kind of rewrite rule on the forum is changing my text from http to https.
ID: 95809 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
sgaboinc

Send message
Joined: 2 Apr 14
Posts: 282
Credit: 208,966
RAC: 0
Message 95812 - Posted: 2 May 2020, 14:45:09 UTC
Last modified: 2 May 2020, 15:01:37 UTC

edit /var/lib/boinc/all_projects_list.xml
update url- and web_url-lines under Rosetta@home section.

to avoid abandoned tasks stop fetching tasks and let the existing tasks finish and upload, before you start these. and the easier way is to simply suspend delete and setup the project again after the tasks are cleared

i took the short cut in my Pi4
edit /var/lib/boinc/account_boinc.bakerlab.org_rosetta.xml
<master_url>https://boinc.bakerlab.org/rosetta/</master_url>

stop boinc-client service
$ sudo systemctl stop boinc-client.service

backup /var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml
e.g. copy that to home directory
cp /var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml ~

start boinc client service
$ sudo systemctl start boinc-client.service

oops some tasks abandoned, but it is ok. it fetched a new set of tasks and started running
(to avoid this stop fetching tasks and let the existing tasks finish and upload, before you even shutdown boinc-client)
if the stats go missing replace that from your backup
sudo cp -i ~/statistics_boinc.bakerlab.org_rosetta.xml /var/lib/boinc/ 

but edit
/var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml
<master_url>https://boinc.bakerlab.org/rosetta/</master_url>

and make sure it is owned by boinc
sudo chown boinc:boinc /var/lib/boinc/statistics_boinc.bakerlab.org_rosetta.xml

restart boinc client again and connect from gui, the stats and graphs should be back
ID: 95812 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
AndyG

Send message
Joined: 1 May 20
Posts: 4
Credit: 401,121
RAC: 0
Message 95814 - Posted: 2 May 2020, 15:10:14 UTC - in response to Message 95812.  

Thanks to all above for your replies (assuming they're directed at me). I'll have to go away and work out how to do all this!! As I said I'm a complete newbie to Linux. I'll either have to work out how to stop the client and access the device remotely or work out how to access the files on the card on something else. I won't bother you all with this, worst case it'll probably keep on working using the old url for a while. I'll have fun finding out how to do it when I get time. Thanks again - Andy
ID: 95814 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
sgaboinc

Send message
Joined: 2 Apr 14
Posts: 282
Credit: 208,966
RAC: 0
Message 95817 - Posted: 2 May 2020, 15:54:30 UTC
Last modified: 2 May 2020, 16:17:44 UTC

the 'graphical gui' way to do that normally is , stop fetching work let the current tasks complete, suspend the project and delete the project.
then from the gui add the project again (do not choose from the menu)
and use the new url provided
https://boinc.bakerlab.org/rosetta

or you could edit /var/lib/boinc/all_projects_list.xml mentioned prior if you prefer to select from the menu

note if the statistics credit graphs etc matter to you backup the statistics file as posted earlier, at least you would be able to replace it later.
ID: 95817 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Falconet

Send message
Joined: 9 Mar 09
Posts: 350
Credit: 1,017,068
RAC: 357
Message 95821 - Posted: 2 May 2020, 16:19:18 UTC - in response to Message 95793.  

Atualização não permite mais eu rodar o projeto na minha empresa, agora o servidor bloqueia! antes tava rodando perfeito.

Fui tentar remover e adicionar o projeto, só fez eu perder 12 trabalhos processados com mais de 70%!



Se com https não dá, então utilize o url anterior https://boinc.bakerlab.org/rosetta/

Se não deixou as tarefas terminar, ao remover o projecto, todo o trabalho é perdido.
ID: 95821 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mikey
Avatar

Send message
Joined: 5 Jan 06
Posts: 1894
Credit: 8,767,285
RAC: 10,641
Message 95822 - Posted: 2 May 2020, 16:42:21 UTC - in response to Message 95782.  

Hi,

I have 2 clients, one on Linux (ubuntu) and Mac. I noticed that I only received notifications on my Mac's boinc manager, but not Linux.

Anyway, the tasks were finishing on Linu so I removed the project and tried to reattach Rosetta.
It just keeps saying:

"Failed to add. Please try again later"

Here's how I add it:
Add Project -> Scroll to Rosetta-> paste this url "https://boinc.bakerlab.org/rosetta/" --> click next.

--jonoave--


Give it time as you can see by the messages here everyone and his brother is changing right now and the server is probably swamped.
Crunch another Project for a few tasks and then come back to Rosetta later on and try again. PrimeGrid for instance has some very short LLR tasks.
ID: 95822 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
AndyG

Send message
Joined: 1 May 20
Posts: 4
Credit: 401,121
RAC: 0
Message 95823 - Posted: 2 May 2020, 17:00:51 UTC - in response to Message 95817.  

the 'graphical gui' way to do that normally is , stop fetching work let the current tasks complete, suspend the project and delete the project.
then from the gui add the project again (do not choose from the menu)
and use the new url provided


I cannot see any option to add a project without using the preset list. I'm going to let the current tasks finish and probably do a new install on the card with another Linux and start again. I don't know how to access the underlying Linux system on the balena image I installed. Cheers - Andy
ID: 95823 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
PaoloNasca

Send message
Joined: 13 Jul 19
Posts: 9
Credit: 611,713
RAC: 284
Message 95824 - Posted: 2 May 2020, 17:16:06 UTC

I have just done the following steps in my 2 Linux Laptops managed by BAM.

Step 1 - Modify the file account_boinc.bakerlab.org_rosetta.xml
<master_url>https://boinc.bakerlab.org/rosetta/</master_url>

Step 2 - Modify the file all_projects_list.xml
<url>https://boinc.bakerlab.org/rosetta/</url>
<web_url>https://boinc.bakerlab.org/rosetta/</web_url>

Step 3 - Restart boinc manager
systemctl restart boinc-client.service

I didn't need to remove the projet and attach it again.
ID: 95824 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Tomcat雄猫

Send message
Joined: 20 Dec 14
Posts: 180
Credit: 5,364,639
RAC: 0
Message 95828 - Posted: 2 May 2020, 17:56:12 UTC - in response to Message 95824.  
Last modified: 2 May 2020, 17:58:22 UTC

I have just done the following steps in my 2 Linux Laptops managed by BAM.

Step 1 - Modify the file account_boinc.bakerlab.org_rosetta.xml
<master_url>https://boinc.bakerlab.org/rosetta/</master_url>

Step 2 - Modify the file all_projects_list.xml
<url>https://boinc.bakerlab.org/rosetta/</url>
<web_url>https://boinc.bakerlab.org/rosetta/</web_url>

Step 3 - Restart boinc manager
systemctl restart boinc-client.service

I didn't need to remove the projet and attach it again.


Ah, nice. I was wondering whether it was possible to change the URL without re-adding the project, thanks! Since I have a HalfRoid_design5_COVID-19 task running, I guess I'll try it out after that thing gets completed (wouldn't want to get an computational error on that one).
ID: 95828 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Multicore Chile

Send message
Joined: 28 Apr 20
Posts: 1
Credit: 1,759
RAC: 0
Message 95830 - Posted: 2 May 2020, 17:56:44 UTC
Last modified: 2 May 2020, 18:04:54 UTC

Thank you very much for your hard work!

[/img]
ID: 95830 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
xotwod

Send message
Joined: 23 Mar 20
Posts: 5
Credit: 506,731
RAC: 188
Message 95831 - Posted: 2 May 2020, 18:03:55 UTC - in response to Message 95727.  

I think your current work all gets dumped. I think mine did, for 4 cpus. I'm afraid to try it again.

It does. That's why I set Rosetta to "no new tasks" - and let the queue run out, before removing and readding Rosetta under the new SSL URL.


This really should be listed in the notice.
ID: 95831 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Millenium

Send message
Joined: 20 Sep 05
Posts: 68
Credit: 184,283
RAC: 0
Message 95833 - Posted: 2 May 2020, 18:12:17 UTC

Switch successfully completed here. I completed all my tasks, removed the project and successfully reattached with the new address!
ID: 95833 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
sgaboinc

Send message
Joined: 2 Apr 14
Posts: 282
Credit: 208,966
RAC: 0
Message 95835 - Posted: 2 May 2020, 18:22:30 UTC - in response to Message 95823.  
Last modified: 2 May 2020, 18:26:19 UTC

AndyG wrote:
the 'graphical gui' way to do that normally is , stop fetching work let the current tasks complete, suspend the project and delete the project.
then from the gui add the project again (do not choose from the menu)
and use the new url provided

I cannot see any option to add a project without using the preset list. I'm going to let the current tasks finish and probably do a new install on the card with another Linux and start again. I don't know how to access the underlying Linux system on the balena image I installed. Cheers - Andy

there is a Pi4 thread, there are probably better hints in there for other Pi4 related stuff
https://boinc.bakerlab.org/rosetta/forum_thread.php?id=13732

I ran the Raspbian image from www.raspberrypi.org, i'm using that as i think there'd be more support of the Pi4 including some of the proprietary features of the Broadcom soc
ID: 95835 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Bryn Mawr

Send message
Joined: 26 Dec 18
Posts: 374
Credit: 10,711,272
RAC: 5,739
Message 95837 - Posted: 2 May 2020, 18:41:55 UTC - in response to Message 95782.  

Hi,

I have 2 clients, one on Linux (ubuntu) and Mac. I noticed that I only received notifications on my Mac's boinc manager, but not Linux.

Anyway, the tasks were finishing on Linu so I removed the project and tried to reattach Rosetta.
It just keeps saying:

"Failed to add. Please try again later"

Here's how I add it:
Add Project -> Scroll to Rosetta-> paste this url "https://boinc.bakerlab.org/rosetta/" --> click next.

--jonoave--


Are you adding as a new user? You should be adding as an existing user :-)
ID: 95837 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Davissimo
Avatar

Send message
Joined: 10 Oct 08
Posts: 1
Credit: 2,823,404
RAC: 1,251
Message 95839 - Posted: 2 May 2020, 18:56:24 UTC

I have just adjusted my computer to the new URL. I was not sure about removing Rosetta as the first step but since that's all the instruction that was given, I did it. Upon resuming I logged in and saw in statistics that 6 tasks were listed as "Abandoned". That seems wasteful. I am not a super computer geek and would not have known that such steps would have done this. There is great pride in running my machine 24/7 to do as much work as possible for this worthy cause. Please be more informative in future requests. Thank you.
ID: 95839 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
JohnDK
Avatar

Send message
Joined: 6 Apr 20
Posts: 33
Credit: 2,390,240
RAC: 354
Message 95840 - Posted: 2 May 2020, 18:59:47 UTC - in response to Message 95824.  
Last modified: 2 May 2020, 19:00:31 UTC

I have just done the following steps in my 2 Linux Laptops managed by BAM.

Step 1 - Modify the file account_boinc.bakerlab.org_rosetta.xml
<master_url>https://boinc.bakerlab.org/rosetta/</master_url>

Step 2 - Modify the file all_projects_list.xml
<url>https://boinc.bakerlab.org/rosetta/</url>
<web_url>https://boinc.bakerlab.org/rosetta/</web_url>

Step 3 - Restart boinc manager
systemctl restart boinc-client.service

I didn't need to remove the projet and attach it again.

Tried that on a win10 host, except I didn't use step 2. BOINC deleted all 5 WUs I had in cache and downloaded 3 new, without any url message, so it works now anyway. Guess I won't try that on my 3 other hosts :)
ID: 95840 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Millenium

Send message
Joined: 20 Sep 05
Posts: 68
Credit: 184,283
RAC: 0
Message 95849 - Posted: 2 May 2020, 20:32:27 UTC - in response to Message 95839.  

I have just adjusted my computer to the new URL. I was not sure about removing Rosetta as the first step but since that's all the instruction that was given, I did it. Upon resuming I logged in and saw in statistics that 6 tasks were listed as "Abandoned". That seems wasteful. I am not a super computer geek and would not have known that such steps would have done this. There is great pride in running my machine 24/7 to do as much work as possible for this worthy cause. Please be more informative in future requests. Thank you.

BOINC itself tells you that all running WUs will be lost if you remove a project. Anyway that is a thing you will never have to do again, so well, it's ok!
ID: 95849 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Previous · 1 · 2 · 3 · 4 · 5 · 6 . . . 11 · Next

Message boards : News : Switch to using SSL (Secure Socket Layer)



©2024 University of Washington
https://www.bakerlab.org