Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet Connection #308

Closed
gsdoukopoulou opened this issue Jun 14, 2020 · 7 comments
Closed

Internet Connection #308

gsdoukopoulou opened this issue Jun 14, 2020 · 7 comments
Assignees
Labels

Comments

@gsdoukopoulou
Copy link

Hello,

I encounter a problem connecting to server via BST, cannot download updates etc. When BST initializes, the internet connectivity is fine (Checking internet connectivity... ok). I did not had this problem before the 02/June update.

Thank you in advance.

@ftadel
Copy link
Member

ftadel commented Jun 15, 2020

Can you please describe better you issue(s)?
What is happening? When?
Please copy-paste the full error messages you get, including the stack traces.

@gsdoukopoulou
Copy link
Author

On BST's initialization I get:
image

The error I get when I am trying to update BST:
image

One more example (similar with the above), when I am trying to compute MNI transformation on the MriViewer when importing anatomy:
image

The stack traces:
InkedCapture_LI

The 15/June update did not fix this error. Before the 02/June update I did not have any problem updating BST.

@ftadel
Copy link
Member

ftadel commented Jun 15, 2020

Do you have an older version of Brainstorm available somewhere?
Could you run it and try to run the update from it?

We're having certificate issues on the webserver at the moment, this might be related with this problem. If this is the cause, any older version of Brainstorm should not work any better.

What do you get if you execute the line below in your Matlab command window?
webread('http://neuroimage.usc.edu/bst/getversion_duneuro.php')

While we're working on this issue, please update Brainstorm manually (download a new version from the website) and/or use the compiled version.

@gsdoukopoulou
Copy link
Author

Do you have an older version of Brainstorm available somewhere?
Could you run it and try to run the update from it?

Yes, I run an older version (23/Sep/19) and I still get the same error message.

What do you get if you execute the line below in your Matlab command window?
webread('http://neuroimage.usc.edu/bst/getversion_duneuro.php')

image

While we're working on this issue, please update Brainstorm manually (download a new version from the website) and/or use the compiled version.

Actually, I do not care about the updates (since I manually updated BST on the last versions). What I am interested about are the anatomy templates and atlases I should manually download and import on BST .

@ftadel
Copy link
Member

ftadel commented Jun 16, 2020

For the MNI template used for the SPM registration with SPM, download it from:
https://neuroimage.usc.edu/bst/getupdate.php?t=SPM_TPM
And unzip it in your $HOME/.brainstorm/defaults/spm/ folder (full path indicated in one of your screen captures)

Which other files are failing to get downloaded automatically?

Hopefully, this will get fixed quickly...

@ftadel
Copy link
Member

ftadel commented Jun 18, 2020

After looking into the SSL certification chain, I understood that the problem is not related with USC, but with the expiration of a major root certificate on May 30th.
https://www.sslshopper.com/ssl-checker.html#hostname=neuroimage.usc.edu
https://www.xolphin.com/support/Rootcertificates/Phasing_out_Addtrust_External_CA_Root_certificate

We solved part of the issue by:

  • Removing the automatic redirection from HTTP to HTTPS for our update PHP scripts
  • Switching to HTTP all the URLs used by Brainstorm to download updates, templates and additional modules: 5fccdb4
  • Note that this will not fix the automatic updates for all the versions of Brainstorm downloaded before June 18th. Brainstorm must be downloaded manually from the website at least once.

Workaround:
Delete your current version (the folder "brainstorm3" which contains the brainstorm.m script) and download a new version of Brainstorm from the website:
https://neuroimage.usc.edu/bst/download.php

@gsdoukopoulou
Copy link
Author

I installed the latest version (18/June) and everything seems to work just fine.

Thank you very much for fixing this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants