Master-URL changed to use HTTPS

Oliver Behnke
Oliver Behnke
Moderator
Administrator
Joined: 4 Sep 07
Posts: 987
Credit: 25171438
RAC: 2
Topic 228160

Hi everyone,

We changed our project's so-called "master-URL" to HTTPS (instead of HTTP) to further secure BOINC's initial communication with our project. Don't worry, even before this change the BOINC client communication was automatically upgraded to use HTTPS by our web server. This change now means this extra round-trip isn't required anymore so it will just slightly speed up the communication.

Please note that older clients might not recognize this change automatically if you're already attached to our project. In that case we recommend you update your BOINC client to a minimum version of 7.16.20. All BOINC versions starting with 7.16.20 support the automatic transition from HTTP to HTTPS on the next communication ("update") with the project's server.

Cheers,
Oliver

Einstein@Home Project

mikey
mikey
Joined: 22 Jan 05
Posts: 12778
Credit: 1863266499
RAC: 1578971

Oliver Behnke wrote: Please

Oliver Behnke wrote:

Please note that older clients might not recognize this change automatically if you're already attached to our project. In that case we recommend you update your BOINC client to a minimum version of 7.16.20. All BOINC versions starting with 7.16.20 support the automatic transition from HTTP to HTTPS on the next communication ("update") with the project's server.

Cheers,
Oliver

I did not remember that, it's time for me to upgrade some of my clients as some Projects, not Einstein so far, are telling me to remove and reattach to them as they went to https also.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5874
Credit: 118344805683
RAC: 25471809

Oliver Behnke wrote:We

Oliver Behnke wrote:
We changed our project's so-called "master-URL" to HTTPS ...

I guess this explains why all my hosts are suddenly complaining that:-

Quote:
You are attached to this project twice. Please remove projects named Einstein@Home, then add ....

My hosts (around 140 of them) all started a programmed work cache top up just over an hour ago.  They do so, one at a time and spaced out, in order to minimise the impact on the servers.  This allows them to get a bunch of work in one hit rather than more frequent, single task requests.  I do these top ups six times a day under script control.  A single pass over all hosts takes around 90 mins.

My distro of choice refuses to package BOINC so I build it from source myself.  My latest build is 7.16.11 but I've been building versions right from 7.6.33.  My distro used to package BOINC but about the time there were almost daily releases of new point versions in the 7.2.x series, they decided it was too unstable and too crappy (their words, not necessarily mine) to justify the effort of packaging the never ending stream of these.  I was using 7.2.42 then and when that got too old, I worked out how to build 7.6.33 for myself.  I've built a number of versions since then.

I have some hosts with uptimes close to 900 days (and many others with multiple hundreds) so there are a variety of BOINC versions in play, not to mention versions of the OS itself and the OpenCL libraries.  To upgrade all these machines to 7.16.20, as well as the huge number of OS/OpenCL upgrades that would be needed, is something that will probably take months to achieve.

From what I'm observing, the hosts are requesting and receiving work normally.  I'm planning just to ignore the complaint in the event log, seeing as there doesn't seem to be any adverse consequences - for the present.

I'd be interested to know if there is any easier route to making my hosts 'compliant' - perhaps a tweak to some config file or something in the state file?  Apart from the BOINC version, I've been upgrading some hosts to the latest version of the OS in recent months.  That can take an hour or two and perhaps even longer if I decide to do a hardware upgrade (eg 20GB HDD to 128GB SSD) at the same time.  If I try to do more than 3 or so in a day, I find myself going stir crazy.  That's why it's going to take quite a while.

Cheers,
Gary.

petri33
petri33
Joined: 4 Mar 20
Posts: 124
Credit: 4171582583
RAC: 4398504

Can I just edit some

Can I just edit some file(s)?

petri33@Linux1:~/boinc$ grep -r "http://einstein.phys.uwm.edu/" *
account_einstein.phys.uwm.edu.xml:    <master_url>http://einstein.phys.uwm.edu/</master_url>
all_projects_list.xml:        <url>http://einstein.phys.uwm.edu/</url>
grep: boinc_EinsteinRadio_0: Permission denied
client_state_prev.xml:    <master_url>http://einstein.phys.uwm.edu/</master_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/einstein_icon.png</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Android.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Arecibo_full.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Arecibo_platform.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Fermi_grsky.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Fermi_satellite.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/GW_BBH1.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/GW_BBH2.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_Hanford.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_Livingston.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_laser.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_optics.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_schematic.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_seisisol.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_vacuum.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Parkes_full.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_J2007.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_Manhattan.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_crab_opt.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_crab_xr.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_schem1.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_schem2.jpg</download_url>
client_state_prev.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_vela.jpg</download_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state_prev.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <master_url>http://einstein.phys.uwm.edu/</master_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/einstein_icon.png</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Android.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Arecibo_full.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Arecibo_platform.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Fermi_grsky.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Fermi_satellite.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/GW_BBH1.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/GW_BBH2.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_Hanford.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_Livingston.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_laser.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_optics.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_schematic.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_seisisol.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_vacuum.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Parkes_full.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_J2007.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_Manhattan.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_crab_opt.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_crab_xr.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_schem1.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_schem2.jpg</download_url>
client_state.xml:    <download_url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_vela.jpg</download_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
client_state.xml:    <project_master_url>http://einstein.phys.uwm.edu/</project_master_url>
get_project_config.xml:  <master_url>http://einstein.phys.uwm.edu/</master_url>
get_project_config.xml~:  <master_url>http://einstein.phys.uwm.edu/</master_url>
global_prefs.xml:    <source_project>http://einstein.phys.uwm.edu/</source_project>
grep: gui_rpc_auth.cfg: Permission denied
grep: notices: Permission denied
grep: projects: Permission denied
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/einstein_icon.png</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Android.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Arecibo_full.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Arecibo_platform.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Fermi_grsky.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Fermi_satellite.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/GW_BBH1.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/GW_BBH2.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_Hanford.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_Livingston.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_laser.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_optics.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_schematic.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_seisisol.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/LIGO_vacuum.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Parkes_full.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_J2007.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_Manhattan.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_crab_opt.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_crab_xr.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_schem1.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_schem2.jpg</url>
sched_reply_einstein.phys.uwm.edu.xml:    <url>http://einstein.phys.uwm.edu/simple_gui_icons/Pulsars_vela.jpg</url>
sched_request_einstein.phys.uwm.edu.xml:   <source_project>http://einstein.phys.uwm.edu/</source_project>
sched_request_einstein.phys.uwm.edu.xml:    <source_project>http://einstein.phys.uwm.edu/</source_project>
grep: slots: Permission denied
statistics_einstein.phys.uwm.edu.xml:    <master_url>http://einstein.phys.uwm.edu/</master_url>
petri33@Linux1:~/boinc$ 
Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5874
Credit: 118344805683
RAC: 25471809

petri33 wrote:Can I just edit

petri33 wrote:
Can I just edit some file(s)?

That's what I was wondering.

Set up a script and iterate over all the hosts.  Surely there's got to be an easy way :-).

Cheers,
Gary.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5874
Credit: 118344805683
RAC: 25471809

I have a host with a minimal

I have a host with a minimal work cache size that I've now set to NNT (no new tasks).  When the current work has completed and been returned (about an hour), I'll stop BOINC and edit the master_url in the state file (client_state.xml) and also the URL in the account file (account_einstein.phys.uwm.edu.xml) which also has a master_url field.  Interestingly enough, the account file has a whole bunch of gui_url fields which are already https rather than http, so just the master_url needs fixing by the look of things.

I'll then relaunch BOINC, allow new tasks and see what happens on the first work fetch :-).

Cheers,
Gary.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5874
Credit: 118344805683
RAC: 25471809

The two edits mentioned in

The two edits mentioned in the previous message have been made.  The single master_url entry in each file had an 's' added to 'http'.  The client was then restarted and a work fetch was allowed.  New tasks were downloaded and crunching commenced without any further complaints in the event log.

Looks like the solution is pretty simple.

Cheers,
Gary.

petri33
petri33
Joined: 4 Mar 20
Posts: 124
Credit: 4171582583
RAC: 4398504

Thank you!

Thank you!

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5874
Credit: 118344805683
RAC: 25471809

No problem. I suspect that

No problem.

I suspect that setting NNT and returning all existing tasks before performing the edits is not necessary.

I intend to write a small script and deploy it to each host, using an existing script that already is able to deploy stuff, large data files, new app versions, updated configs, etc.  This new script will run boinccmd to stop the client temporarily, then use sed to edit each file before finally running boinccmd again to restart the client.  I'm assuming existing tasks will still generate complaints but once they've all been returned, the newer tasks will be fine.

I wrote the existing script a long time ago, mainly to deploy data (and save multiple downloads) but I did build in an option to deploy and execute other scripts.  Looks like I'll get to use that functionality.  Of course, I'll try it out on a single target before destroying the whole fleet :-).

Cheers,
Gary.

Aurum
Aurum
Joined: 12 Jul 17
Posts: 77
Credit: 3412397040
RAC: 33

Oliver Behnke wrote: Hi

Oliver Behnke wrote:

Hi everyone,

We changed our project's so-called "master-URL" to HTTPS (instead of HTTP) to further secure BOINC's initial communication with our project.

Cheers,
Oliver

Yes, but you forget to update the "Add a Project" list so the "s" has to added each time.

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 5022
Credit: 18924965173
RAC: 6535749

Aurum wrote: Oliver Behnke

Aurum wrote:

Oliver Behnke wrote:

Hi everyone,

We changed our project's so-called "master-URL" to HTTPS (instead of HTTP) to further secure BOINC's initial communication with our project.

Cheers,
Oliver

Yes, but you forget to update the "Add a Project" list so the "s" has to added each time.

Einstein project has nothing to do with that.  That is part of the BOINC client.  The BOINC devs have to fix that with a new all_projects_list.xml file.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.