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

EEGLAB does not respect proxy options set in MATLAB #66

Closed
janbrogger opened this issue Nov 13, 2019 · 0 comments
Closed

EEGLAB does not respect proxy options set in MATLAB #66

janbrogger opened this issue Nov 13, 2019 · 0 comments

Comments

@janbrogger
Copy link

janbrogger commented Nov 13, 2019

Description

EEGLAB does not respect the proxy setting in Matlab 2018b on Windows. A quick reproduction of the error can be done using:
plugin_urlread('http://sccn.ucsd.edu/wiki/Plugin_list_import')

Requirements:

  1. Be on a network that requires an external proxy
  2. Be on a Windows platform.
  3. You have set a web proxy server in the Matlab preferences.

#### Steps to Reproduce
  1. Clone EEGLAB:
    git clone https://github.com/sccn/eeglab.git C:\TEMP\eeglab
  2. Start matlab 2018
  3. Check matlab version
    version
  4. Check that web proxy settings are not blank:
    s = settings;
    s.matlab.web.ProxyHost
    s.matlab.web.ProxyPort
  5. Change current directory
    cd C:\TEMP\eeglab
  6. Start EEGLAB:
    eeglab
    See error message below
  7. Verify that EEGLAB preferences have update checking enabled
    pop_editoptions()
  8. Turn off update checking by deselecting "If set, check for new version of EEGLAB at startup" in the dialog.
  9. Close EEGLAB window.
  10. Start EEGLAB
    eeglab
    NOTE: EEGLAB startup is no longer delayed by unsuccessful update checking
  11. In the EEGLAB menu, choose File/memory and other options or run command:
    plugin_extract(''import'', [])
  12. Observe this takes a long time (see below).
  13. For a simple test, just run:
    plugin_urlread('http://sccn.ucsd.edu/wiki/Plugin_list_import')

#### Expected behavior:
  1. MATLAB does not take a long time to startup because if fails on update checking

2.plugin_extract() does not take a long time and is succcessful. #### Actual behavior:
  1. EEGLAB startup takes a long time because it fails on update checking
  2. plugin_extract() takes a long time and is not succcessful. The error message is:
Retreiving URL with import extensions...
Retreiving download statistics...
Cannot connect to the Internet to retrieve statistics for extensions
Error using plugin_getweb (line 32)
Cannot connect to the Internet to retrieve extension list

Error in plugin_extract (line 15)
    plugin = plugin_getweb(type, pluginlist, 'newlist')

#### Comment

Versions

OS version [Windows 10]
Matlab version [ 9.5.0.1067069 (R2018b) Update 4]
EEGLAB version [14.1.1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant