wikipathways / cytoscape-wikipathways-app

WikiPathways app for Cytoscape to open and access pathways from WikiPathways
Apache License 2.0
5 stars 7 forks source link

does not work with proxy settings #19

Closed AlexanderPico closed 9 years ago

AlexanderPico commented 10 years ago

http://code.cytoscape.org/redmine/issues/2830

OS: Windows Cytoscape version: 3.1.1

Hi,I am behind a proxy and can\'t make WikiPathways query with Cytoscape v3.1.1 - got the error \"Connection Time out\".I managed to make it work on cytoscape v2.8.3 adding the \"-Dhttp.proxy\" settings to the Cytoscape.vmoptions config file but this does not work with cytoscape 3.1 - is there another way round for the latest cytoscape version?Cheers,Christelle

Reported by: Christelle Gendrin Email: christelle.gendrin@stfc.ac.uk

samadlotia commented 9 years ago

I was able to resolve this issue for HTTP proxies but not for SOCKS.

The correct solution to this problem is to upgrade HttpClient 4.3 which can easily integrate HTTP and SOCKS proxy settings with only a single line of code on my part.

samadlotia commented 9 years ago

Another issue: if the HTTP proxy settings change, it would require reloading the WP client for the changes to take effect. Hopefully upgrading to 4.3 would take care of this issue as well.